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 row is created before the org’s revisions_per_blob limit is charged, so a request that fails after the row exists — the limit check, or handing the row to the async worker that provisions its content — deletes it or marks it failed rather than leaving a charged, unusable slot.

Errors

Example

See also