ApprovalInfo
Represents approval status for this build, if applicable.
Field | Data type | Allowed values |
---|---|---|
|
| |
|
| |
|
| |
| ||
| ||
|
|
|
Below, you can find a full schema of this object, in XML and JSON formats. You can choose what fields to submit depending on your current needs. Different methods might expect different fields: the best approach is to request this entity via GET
and use the response as a base for the following POST
request.
A link to another object implies that you can substitute it with the schema of the linked object, if it is required for your call.
XML
JSON
<approvalInfo canBeApprovedByCurrentUser="true" configurationValid="true" status="string" timeoutTimestamp="string">
<userApprovals count="123">
<userApproval>userApprovalRule...</userApproval>
</userApprovals>
<groupApprovals count="123">
<groupApproval>groupApprovalRule...</groupApproval>
</groupApprovals>
</approvalInfo>
{
"configurationValid" : true,
"userApprovals" : {
"userApproval" : [ {
"approved" : true,
"user" : "user..."
} ],
"count" : 2
},
"timeoutTimestamp" : "timeoutTimestamp",
"canBeApprovedByCurrentUser" : true,
"groupApprovals" : {
"count" : 9,
"groupApproval" : [ {
"requiredApprovalsCount" : 0,
"currentlyApprovedBy" : "users...",
"group" : "group..."
} ]
},
"status" : "waitingForApproval"
}