Comments

List all comments

Changed on

This method will list all comments matching the given properties.

post/comments.list

Request

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

Filter to a specific document

collectionIdstring uuid

Filter to a specific collection

includeAnchorTextboolean

Include the document text that the comment is anchored to, if any, in the response.

Example request

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

Response

OK

Example response

{
  "data": [
    {
      "createdBy": {
        "name": "Jane Doe"
      },
      "resolvedBy": {
        "name": "Jane Doe",
        "invitedBy": {
          "name": "Jane Doe"
        }
      }
    }
  ],
  "policies": [
    {
      "abilities": {
        "read": true,
        "update": true,
        "delete": false
      }
    }
  ],
  "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

    • breaking

      the response property /// became nullable for the status

    • warning

      removed the optional property // from 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

    • 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

    • 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

    • info

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