Collections

Export all collections

Triggers a bulk export of all documents in and their attachments. The endpoint returns a FileOperation that can be queried through the fileOperations endpoint to track the progress of the export and get the url for the final file.

post/collections.export_all

Request body

format'outline-markdown' | 'json' | 'html'

Response

OK

Example response

{
  "data": {
    "fileOperation": {
      "type": "export",
      "state": "complete",
      "collection": {
        "name": "Human Resources",
        "index": "P",
        "color": "#123123"
      },
      "user": {
        "name": "Jane Doe"
      },
      "size": 2048
    }
  }
}

Changes

Changed in 2 of the 6 revisions of this API.10

    • added the non-success response with the status 429

      response-non-success-status-added

    • added the optional property data to the response with the 401 status

      response-optional-property-added

    • added the optional property data to the response with the 403 status

      response-optional-property-added

    • added the optional property data to the response with the 404 status

      response-optional-property-added

    • added the optional property message to the response with the 401 status

      response-optional-property-added

    • added the optional property message to the response with the 403 status

      response-optional-property-added

    • added the optional property message to the response with the 404 status

      response-optional-property-added

    • added the optional property status to the response with the 401 status

      response-optional-property-added

    • added the optional property status to the response with the 403 status

      response-optional-property-added

    • added the optional property status to the response with the 404 status

      response-optional-property-added