Docs

Update Content

PUT /documents/{documentId}/content

PUT/documents/{documentId}/content

Replaces the whole TipTap JSON content of a document. The editor calls it on every save. Send the version from DynamicDocs_GetDocument: a match saves and returns the new version, a stale one answers 409 with currentVersion and saves nothing, and no version saves unconditionally. Requires the EventDocumentsEdit permission or a share on the document.

Path Parameters

FieldTypeRequiredDescription
documentIduuidRequired

Request Body

FieldTypeRequiredDescription
contentstringOptional
versionintegerOptional

Response

FieldTypeDescription
versioninteger