Documents v2
Publish draft
Publish the document's current main (non-branch) draft, promoting it to the published version. No request body — the draft is consumed, so the response echoes the now-published document's metadata.
Only the main draft is publishable with this endpoint. A branch-attached draft is published by merging its branch.
post/v2/documents/{documentId}/draft/publish
Request
- Base URLhttps://blobsrus.omniapp.co/api
- URLhttps://blobsrus.omniapp.co/api/v2/documents/{documentId}/draft/publish
- AuthHTTP bearer
Path parameters
documentIdstring required
The published document's URL slug (e.g. abc123) or its canonical workbook UUID.
Query parameters
userIdstring uuid
Organization API key required. The membership ID of the user to act as.
Response
Draft published successfully.