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 URL
    https://blobsrus.omniapp.co/api
  • URL
    https://blobsrus.omniapp.co/api/v2/documents/{documentId}/draft/publish
  • Auth
    HTTP 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.

identifierstring required

Published document identifier.

namestring required

Document name.

descriptionstring nullable required

Document description.

Changes