Revisions

Export a revision

Changed on

Triggers an export of a single revision to a 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/revisions.export

Request

  • Base URL
    https://app.getoutline.com/api
  • URL
    https://app.getoutline.com/api/revisions.export
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization code: https://app.getoutline.com/oauth/authorize
      Token URL: https://app.getoutline.com/oauth/token scopes: read, write

Request body

idstring uuid required

Unique identifier for the revision.

Response

OK

Example response

{
  "data": {
    "fileOperation": {
      "type": "export",
      "format": "outline-markdown",
      "state": "complete",
      "size": "2048",
      "user": {
        "name": "Jane Doe"
      }
    }
  }
}

Changes