commit / ready. From that point the
phase is enforced on the write path itself, not only at this edge, so nothing already running can land in it.
POST /revisions/:id/commit
Requires Write access to the revision’s blob. Allowed only on the draft phase, status ready — there is
no retry for a failed commit. A commit that failed left the revision draft / failed; recover it with
Reset back to ready and call Commit again, rather than calling Commit
on a failed revision directly.
Path Parameters
Request Body
Response
Returns{"status": "success"} — no body beyond the status. The revision moves to committing synchronously
and finishes asynchronously; poll Get Revision for status to return to
ready (committed) or failed. A 500 means the commit could not be handed to its worker: the revision is back at
ready, still a draft and with its old comment, so the commit can be sent again, or failed when the API cannot
tell whether the hand-off arrived.
Errors
Example
See also
- Reopen Revision — undo a commit on the blob’s own default revision.
- Reset Revision — recover any failed revision, this one included.

