Moderation
Reject a pending revision
Changed onpost/extensions/{id}/revisions/{revisionId}/reject
Request
- Base URL: /extensions/v2 (relative, and the document was published on a file host, not at the API’s origin)
- URL: /extensions/v2/extensions/{id}/revisions/{revisionId}/reject
- Auth: HTTP bearer
Path parameters
idstring required
Example:acme-gateway
revisionIdstring required
Example:b6e2c9c4-3f1a-4e9b-9c3a-2e4b1a2f9d10
Query parameters
notify'true' | 'false'
Set to false to skip the author notification email for this action
Request body
Response
Revision rejected. The extension's published content is unchanged.
Example response
{
"result": {
"notified": true
}
}Changes
- info
added the new optional
queryrequest parameternotify - info
added the required property
/to the response with the status
- info
- info
endpoint added
- info