Apps
Create/reuse draft and replace app content
Changed onCreate or reuse the document's main draft and replace the existing app. Use the draftIdentifier in the response to call the Publish draft API and publish the changes.
put/v2/documents/{documentId}/draft/app
Request
- Base URLhttps://blobsrus.omniapp.co/api
- URLhttps://blobsrus.omniapp.co/api/v2/documents/{documentId}/draft/app
- Auth
- HTTP bearer
- or HTTP bearer
Path parameters
documentIdstring required
Document identifier — either the URL slug (e.g. abc123) or the canonical workbook UUID.
Example:abc123
Query parameters
userIdstring uuid
Organization API key required. The membership ID of the user to act as.
Request body
Response
Draft created or reused and app written. Use the draftIdentifier in the response to call the Publish draft API and publish the changes.
Example response
{
"identifier": "def456",
"draftIdentifier": "abc123",
"name": "Blob Sales",
"description": "Overview of daily Blobs R Us Sales"
}Changes
- info
endpoint added
- info