Docs
Update Content
PUT /documents/{documentId}/content
PUT
/documents/{documentId}/contentReplaces 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
| Field | Type | Required | Description |
|---|---|---|---|
| documentId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| content | string | Optional | |
| version | integer | Optional |
Response
| Field | Type | Description |
|---|---|---|
| version | integer |