Pullrequests
Add a user to the default reviewers
Changed onAdds the specified user to the repository's list of default reviewers.
This method is idempotent. Adding a user a second time has no effect.
put/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: repository:admin
- or HTTP basic
- or API key in header Authorization
Response
The specified user was successfully added to the default reviewers
Changes
- warning
removed the optional property
/from the response with the status
- warning