TeamCity REST API Reference 2021.2 Help

ApprovalInfo

Represents approval status for this build, if applicable.

Properties

Field

Data type

Allowed values

timeoutTimestamp

string

configurationValid

boolean

canBeApprovedByCurrentUser

boolean

userApprovals

UserApprovals

groupApprovals

GroupApprovals

status

string

  • waitingForApproval

  • approved

  • timedOut

  • canceled

Schema

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.

<approvalInfo canBeApprovedByCurrentUser="true" configurationValid="true" status="string" timeoutTimestamp="string"> <userApprovals count="123"> <userApproval>[[[userApprovalRule...|userapprovalrule.html]]]</userApproval> </userApprovals> <groupApprovals count="123"> <groupApproval>[[[groupApprovalRule...|groupapprovalrule.html]]]</groupApproval> </groupApprovals> </approvalInfo>
{ "configurationValid" : true, "userApprovals" : { "userApproval" : [ { "approved" : true, "user" : "[[[user...|user.html]]]" } ], "count" : 9 }, "timeoutTimestamp" : "timeoutTimestamp", "canBeApprovedByCurrentUser" : true, "groupApprovals" : { "count" : 1, "groupApproval" : [ { "requiredApprovalsCount" : 1, "currentlyApprovedBy" : "[[[users...|users.html]]]", "group" : "[[[group...|group.html]]]" } ] }, "status" : "waitingForApproval" }
Last modified: 26 July 2022