Upload an archive as the next project revision (multipart)
POST/api/v1/projects/:project_id/revisions/upload
Append an uploaded archive to an archive-series project.
Head-SHA short-circuit: bytes identical to the target ref's head
return the existing head row — no new row, no object storage PUT (mirror of the
assessment upload endpoint). VCS-source projects are rejected (use
/sync or POST /revisions); sourceless projects must attach
an archive source first.
- Scope required:
projects:manage_source+ manager-or-above. - Archived projects reject the append (409).
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 422
- 429
- 500
Successful Response
Bad request — malformed input or failed validation.
Missing, expired, or invalid credentials.
Authenticated but not authorized for this resource. Note: cross-organization reads return 404, not 403.
Resource not found, or hidden for tenant-enumeration safety (the caller lacks permission to know whether the resource exists).
Conflict — the current resource state does not allow this operation (e.g. assessment already started, email already in use).
Semantic validation failure — request shape was valid but contents were not.
Too many requests — rate limited. Retry after the window resets.
Internal server error — unexpected failure.