This page describes the changes related REST endpoints that are added by the @PLUGIN@.
Please also take note of the general information on the REST API.
POST /changes/{change-id}/revisions/{revision-id}/@PLUGIN@~set-wip
Mark a revision as Work In Progress.
Options for that endpoint can be specified in the request body as a Input entity.
Caller must be a member of a group that is granted the ‘Work In Progress’ capability (provided by this plugin) or be a member of the Administrators group.
POST /changes/myProject~master~I8473b95934b5732ac55d26311a706c9c2bde9940/revisions/674ac754f91e64a0efb8087e59a176484bd534d1/@PLUGIN@~set-wip HTTP/1.0 Content-Type: application/json;charset=UTF-8 { "message": "Refactoring needs to be done before we can proceed here." }
HTTP/1.1 204 No Content
POST /changes/{change-id}/revisions/{revision-id}/@PLUGIN@~set-ready
Mark a revision as Ready For Review.
Options for that endpoint can be specified in the request body as a Input entity.
Caller must be a member of a group that is granted the ‘Work In Progress’ capability (provided by this plugin) or be a member of the Administrators group.
POST /changes/myProject~master~I8473b95934b5732ac55d26311a706c9c2bde9940/revisions/674ac754f91e64a0efb8087e59a176484bd534d1/@PLUGIN@~set-ready HTTP/1.0 Content-Type: application/json;charset=UTF-8 { "message": "Refactoring is done." }
HTTP/1.1 204 No Content
The Input
entity can contain a message.
Part of Gerrit Code Review