Collections
Export a collection
Triggers a bulk export of the collection in markdown format and their attachments. If documents are nested then they will be nested in folders inside the zip file. The endpoint returns a FileOperation that can be queried to track the progress of the export and get the url for the final file.
post/collections.export
Request body
Response
OK
Example response
{
"data": {
"fileOperation": {
"type": "export",
"state": "complete",
"collection": {
"name": "Human Resources",
"index": "P",
"color": "#123123"
},
"user": {
"name": "Jane Doe"
},
"size": 2048
}
}
}