EaserixDocs
DevelopersAPI referenceNotesPages

Save the rich document (optimistic concurrency)

Saves the doc with the revision the client loaded. A rev mismatch returns 409 with the current server doc so the editor can merge instead of clobbering another writer. Optionally syncs outgoing wiki-link edges in the same save.

View as Markdown
PUT
/v1/pages/{id}/doc
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://example.com/v1/pages/497f6eca-6276-4993-bfeb-53cbbbba6f08/doc" \  -H "Content-Type: application/json" \  -d '{    "doc": {},    "rev": 0  }'
{  "rev": 0,  "updated": "2019-08-24T14:15:22Z"}