Update project data from repository
PUT/nevisadmin/api/v1/projects/:projectKey/revision-update
Required permission: MODIFY_PROJECT on the project, or higher scope
Updates the project sent in the URL with the changes stored in the remote repository.
If the call was successful the response code will be '202 Accepted' and the 'Location' header will point to the job that will execute the update. Getting that job will allow you to know the progress and status of the update.
Request
Responses
- 202
- 400
- 403
- 404
- 409
Update job accepted
Invalid project key
Insufficient permissions.
Project not found
The remote git history was tampered (use force=true to override)