Get document state
Changed onRetrieve the document's published state. The response can be used as-is as the request body in a call to the Patch draft API.
If documentId names a draft instead of a published document, the response also includes draftOf.identifier, the published document the draft belongs to. To read a draft's state, use Get draft state, which returns the same draftOf field. To read an app document's HTML, use Read app content.
Request
- Base URLhttps://blobsrus.omniapp.co/api
- URLhttps://blobsrus.omniapp.co/api/v2/documents/{documentId}
- AuthHTTP bearer
Path parameters
The document's URL slug (e.g. abc123) or its canonical workbook UUID. Also accepts a draft identifier, in which case the response is the draft's state with draftOf.identifier naming the published document.
Query parameters
Format response with 2-space indentation for readability. Accepts true, 1, or no value (e.g., ?pretty). Default is compact (single-line) JSON.
Response
Document state.
Changes
- warning
added the new
foreignenum value to the///response property for the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the required property
/to the response with the status
- warning