Save a document, naming the version the change started from
put/documents/{id}
Save a document, naming the version the change started from. If someone saved a newer one meanwhile, the save is refused with theirs.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
content:write- Mcp
rivier_document_save- Graphql
Mutation.contentDocumentSave- Sdk
content.document.save- Cli
content document save
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- docobjectrequired
- titlestringAt most 200 characters.
- baseVersionIdstringrequired
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring