Request reviewers on a build
Ask users to review a build. Each newly-requested reviewer is notified. Idempotent: users already requested are left untouched and not notified again. Users without access to the project are ignored, and you cannot request yourself. Use it when the user wants specific teammates to review a build.
Ask users to review a build. Each newly-requested reviewer is notified. Idempotent: users already requested are left untouched and not notified again. Users without access to the project are ignored, and you cannot request yourself. Use it when the user wants specific teammates to review a build.
Authenticate as a user with a personal access token.
Send it as a bearer token in the Authorization header:
Authorization: Bearer <personal-access-token>Personal access tokens act on behalf of the user that created them and are required by endpoints that perform user actions, such as reviewing builds and posting comments.
In: header
Path Parameters
1 <= length1 <= lengthThe build number
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/projects/string/string/builds/string/reviewers" \ -H "Content-Type: application/json" \ -d '{ "userIds": [ "string" ] }'{ "reviewers": [ { "id": "string", "slug": "string", "name": "string" } ]}List a build's requested reviewers GET
List the users currently requested to review a build. Use it to check who has been asked to review a build.
Cancel review requests on a build DELETE
Cancel the review requests standing on a build. Removing a user that was not requested is a no-op. Use it when a review request is no longer needed.