i need to update list of repositories specific branch with default reviewers ( more then 1).
how can i do it using the rest/api?
tried this url but i get 404 unavailable message :
curl -X POST -u user:pass -H 'Content-Type: application/json' -d '{"reviewers": ["myName"]}' https://bitbucket/rest/api/2.0/projects/Proj/repos/myRepo/default-reviewers/branches/master
Error message :
The requested resource [/rest/api/2.0/plugins/servlet/default-reviewers/projects/Proj/repos/myRepo/branches/master] is not available
1) how can i find the relevant api url address for this request?
2) the reviews name should be the username, email address or full Name?
3) how do i add the minimum reviewers too?
Thanks