Publish project modifications
POST/nevisadmin/api/v1/projects/:projectKey/revisions
Required permission: MODIFY_PROJECT on the project, or higher scope
Allows a client to execute a publishing operation for the project. This will publish all local modifications to the version control repository the project is associated with. The client provides a message that explains the publish operation.
Returns 409 Conflict if:
- There is an edit newer than the
lastModificationsent in the request. - There is a head commit newer than the
localHeadsent in the request.
Request
Responses
- 201
- 400
- 403
- 404
- 409
- 500
Success
Invalid project key, invalid tag, or missing request body
Insufficient permissions.
Project not found
Concurrent modification conflict
SCM interaction required or remote error