cURL
curl --request POST \ --url https://api.copera.ai/public/v1/docs/{docId}/md \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "operation": "replace", "content": "<string>" } '
{ "success": true, "message": "<string>" }
Replace, append, or prepend markdown content to a document.
content
operation
replace
append
prepend
Bearer token
ObjectId
24
^[0-9a-fA-F]{24}$
Content operation type
Markdown content
Default Response
Was this page helpful?