Create draft
Changed onCreate a draft of the specified document. Drafts are isolated copies of a document - including its workbook and dashboard - that can be modified without impacting the published version.
To create a draft on a branch, include a branchId in the request body. Each branch can have one draft per document.
If a draft already exists for the document (or branch, if specified), the existing draft is returned instead of creating a new one.
Request
- Base URLhttps://blobsrus.omniapp.co/api
- URLhttps://blobsrus.omniapp.co/api/v1/documents/{documentId}/draft
- AuthHTTP bearer
Path parameters
The ID of the document to create a draft for. To retrieve the ID, navigate to File > Document settings in the document and then click Settings. The Identifier field contains the document ID.
Request body
Response
Draft created successfully (or existing draft returned)
Example response
{
"identifier": "93874a87"
}Changes
- warning
the optional response header
Deprecationremoved for the status200 - warning
the optional response header
Linkremoved for the status200 - warning
the optional response header
Sunsetremoved for the status200
- warning