Understanding the review subresource
Use the review subresource to create a branch review.
This subresource takes the following parameters:
- Request – http://serverURL/prweb/api/v1/branches/{id}/review
- Parameter – ID. The name of the branch for which you want to create a review. This parameter is required.
- Request body – The email account of the user creating the review and the users who are reviewing the branches. Use the following format:
{ "author": "<your_userid",
"description": "<description of the review", "reviewers": [
{ "ID": "reviewer_userid"
}
]
}
- Response – The review subresource returns the ID of the branch review.
Previous topic Understanding the merge subresource Next topic Understanding the merges REST service