CRUD
Comments

Retrieve or search comments

Returns all comments or searches comments by query. Always returns only comments which are accessible by the current user.<br/>Requirements:<br/>- auth-client scopes: "workspace:read"<br/>- user permission: "read" or higher

post/api/workspaces/{workspaceId}/comments/search

Request

  • Base URL: https://app.airfocus.com
  • URL: https://app.airfocus.com/api/workspaces/{workspaceId}/comments/search
  • Auth: HTTP bearer

Path parameters

workspaceIdstring uuid required

Query parameters

actAsAdminboolean

Enable sudo-mode for admins for a single request, which gives full permission to all workspaces in the team.

offsetinteger

How many elements to skip.

limitinteger

How many elements to return.

frominteger

From which element the page should start.

tointeger

At which element the page should end (excluding it).

Request body

itemIdstring uuid

Response

totalItemsinteger required

Example response

{
  "items": [
    {
      "content": {
        "blocks": [
          {
            "content": [
              {
                "content": "hello world",
                "type": "text"
              }
            ],
            "type": "paragraph"
          }
        ],
        "richText": true
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.