Pullrequests
Get a default reviewer
Changed onReturns the specified reviewer.
This can be used to test whether a user is among the repository's default reviewers list. A 404 indicates that that specified user is not a default reviewer.
get/repositories/{workspace}/{repo_slug}/default-reviewers/{target_username}
Request
- Base URLhttps://api.bitbucket.org/2.0
- URLhttps://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/default-reviewers/{target_username}
- Auth
- OAuth 2Authorization code: https://bitbucket.org/site/oauth2/authorizeToken URL: https://bitbucket.org/site/oauth2/access_token scopes: pullrequest
- or HTTP basic
- or API key in header Authorization
Response
The specified user is a default reviewer
Changes
- warning
removed the optional property
/from the response with the status
- warning