- edited description
API Documentation
Issue #25
closed
A key feature in this plugin is passing a payload of
{"unapproveOnUpdate": true}
to the REST API end point;
/rest/api/1.0/projects/PROJECT_KEY/repos/REPO_NAME/settings/pull-requests
This serves to set the flag so that all material changes to a PR to unapprove. Adding documentation of some of these endpoint will be useful for REST API users.
Comments (4)
-
reporter -
Account Deactivated /rest/api/1.0/projects/PROJECT_KEY/repos/REPO_NAME/settings/pull-requests
is a part of Bitbucket Server's base REST API. It allows app developers to extend it via REST fragments, which this app does. However, since the"unapproveOnUpdate"
flag is not part of the base product's payload, it can't be documented there; that property only does something if this app is installed. -
reporter thanks @bpturner for clarity.
-
reporter - changed status to closed
- Log in to comment