Edit app content on a draft
Changed onApply targeted changes to an existing app on an existing draft without resending the HTML. Changes are all or nothing — an edit that matches zero times, matches more than once without replaceAll, or would push the HTML past the 2 MiB cap rejects the whole request with 400 naming the edit, and nothing is applied. This endpoint does not create an app.
Use the draftIdentifier in the response to call the Publish draft API and publish the changes.
Request
- Base URLhttps://blobsrus.omniapp.co/api
- URLhttps://blobsrus.omniapp.co/api/v2/documents/{documentId}/draft/{draftId}/app
- Auth
- HTTP bearer
- or HTTP bearer
Path parameters
Draft workbook identifier. Use List document drafts to retrieve draft IDs.
Published document identifier.
Request body
Response
Edits applied on the draft. warnings names any resource hosts the app’s iframe CSP will block until an Organization Admin allows them, and navigation domains the organization’s navigation policy refuses.
Example response
{
"identifier": "def456",
"draftIdentifier": "abc123",
"name": "Blob Sales",
"description": "Overview of daily Blobs R Us Sales"
}Changes
- info
endpoint added
- info