Skip to main content
Create a new draft revision for a blob. The blob’s default revision moves to it immediately.

POST /blobs/:org_id/:blob_id/revisions

Requires Write access to the blob. The default revision must be in commit phase — a blob with a draft already default has nothing to branch from, since a blob has at most one draft.

Path Parameters

Request Body

Response

The revision takes its slot in the blob’s platform.revisions_per_blob in the same step that creates its record, so a refused request takes none. If handing the record to the async worker that provisions its content fails, the revision is marked failed. A failed revision keeps its slot until it is deleted.

Errors

Example

See also