Update / Create document
POST
AUTHENTICATION
Authorization
Bearer
Bearer
HEADER PARAMETERS
Content-Type
string
*Example: application/json
BODY PARAMETERS
body
object
*apiKey
string
*Example: 21-character__string0
ApiKey id of the docSpace.
docSpaceId
string
*Example: 21-character__string0
DocSpace id of the document.
content
string
*Example: # this is a h1 title
And this is a paragraph
- list item 1
- list item 2
Markdown content used to update document.
docId
string
Example: 21-character__string0
OPTIONAL, document id if it is present and valid, doc will be updated.
RESPONSES
200
Process status
object
Process status
status
string<OK>
Response Status
data
object
Example: [object Object]
400
Invalid request
Response400
status
string<OK | Not OK>
Response Status
messages
string[]
Example:
Array of messages
Curl
JS
Ruby
Python
|
RESPONSES
200
400
|
Updated 22 Sep 2023
Did this page help you?