Update Document Content
Endpoints
Update Document Content
Replace, append, or prepend markdown content to a document.
POST
Update Document Content
Documentation Index
Fetch the complete documentation index at: https://developer.copera.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Updates the Markdown content of a document. Three operations are supported:- Replace — overwrites the entire document body with the provided content.
- Append — adds the provided content to the end of the existing body.
- Prepend — adds the provided content to the beginning of the existing body.
Asynchronous Processing
Content updates are queued and processed asynchronously. The API returns an HTTP 202 Accepted response to indicate the update has been accepted and will be applied shortly.Request Body
content(required): The Markdown content to apply.operation(required): One ofreplace,append, orprepend.
Response
Returns HTTP 202 Accepted with a confirmation that the update has been queued.Authorizations
Bearer token
Path Parameters
ObjectId
Required string length:
24Pattern:
^[0-9a-fA-F]{24}$Body
application/json