Revisions

List all revisions

Changed on

List all revisions for a specific document. Revisions represent historical snapshots of a document's content and can be used to track changes over time. The data and text fields are omitted from listed revisions for performance; use revisions.info to retrieve the full content of a specific revision.

post/revisions.list

Request

  • Base URL
    https://app.getoutline.com/api
  • URL
    https://app.getoutline.com/api/revisions.list
  • 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

offsetnumber
limitnumber
sortstring
direction'ASC' | 'DESC'
documentIdstring uuid

The document ID to retrieve revisions for

Example request

{
  "limit": 25,
  "sort": "updatedAt",
  "direction": "DESC"
}

Response

OK

Example response

{
  "data": [
    {
      "collaborators": [
        {
          "name": "Jane Doe"
        }
      ],
      "createdBy": {
        "name": "Jane Doe"
      }
    }
  ],
  "pagination": {
    "limit": 25
  }
}

Changes

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property // to the response with the status