Apps

Read app content on main draft

Changed on
<Note> This API is currently in development and may change. </Note>

Read the app content on the document's main (non-branch) draft. If a document doesn't have a main draft, the API will return a 404.

get/v2/documents/{documentId}/draft/app

Request

  • Base URL
    https://blobsrus.omniapp.co/api
  • URL
    https://blobsrus.omniapp.co/api/v2/documents/{documentId}/draft/app
  • Auth
    • HTTP bearer
    • or HTTP bearer

Path parameters

documentIdstring required
Example:abc123

Document identifier — either the URL slug (e.g. abc123) or the canonical workbook UUID.

Query parameters

pretty'0' | '1' | 'true' | 'false'

Set true or 1 to pretty-print (2-space indent) the response; false / 0 (the default) is compact. Key ordering is deterministic regardless.

userIdstring uuid

Organization API key required. The membership ID of the user to act as.

Response

The main draft's app content.

htmlstring required

The complete app HTML document.

Changes