Create draft and patch document
Changed onCreate a new draft on the published document and apply the patch. No auto-publish — the response includes the new draftIdentifier for follow-up calls.
A document has at most one draft per branch. If one already exists, this returns 409 — patch it via PATCH /api/v2/documents/{identifier}/draft/{draftIdentifier}, publish it, or discard it via DELETE /api/v1/documents/{identifier}/draft.
Pass an optional branchId to attach the draft to a branch; omit it for a draft on the main (unpublished) workspace.
Request
- Base URLhttps://omniapp.co (the document declares no server; this is the origin it was published from)
- URLhttps://omniapp.co/api/v2/documents/{identifier}/draft
- AuthHTTP bearer
Path parameters
Document identifier — either the URL slug (e.g. abc123) or the canonical workbook UUID.
Request body
Response
Draft created and patch applied successfully.
Changes
- breaking
removed
subschema #1subschema #2subschema #3subschema #4subschema #5subschema #6subschema #7subschema #8from the///request propertyoneOflist - breaking
removed
subschema #1subschema #2subschema #3subschema #4subschema #5subschema #6subschema #7subschema #8from the/////request propertyoneOflist - breaking
removed
subschema #1subschema #2subschema #3subschema #4subschema #5subschema #6subschema #7subschema #8from the/////request propertyoneOflist - info
added
subschema #1subschema #2subschema #3subschema #4subschema #5subschema #6subschema #7subschema #8to the///request propertyoneOflist - info
added
subschema #1subschema #2subschema #3subschema #4subschema #5subschema #6subschema #7subschema #8to the/////request propertyoneOflist - info
added
subschema #1subschema #2subschema #3subschema #4subschema #5subschema #6subschema #7subschema #8to the/////request propertyoneOflist
- breaking
- breaking
the request's body type changed from no type to
object - warning
removed
subschema #2from the request bodyallOflist - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- breaking