curl --request POST \
  --url https://{domain}-be.glean.com/rest/api/v1/listanswerboards \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "withAudience": true,
  "withRoles": true
}'
{
  "boardResults": [
    {
      "board": {
        "name": "<string>",
        "description": "<string>",
        "addedRoles": [
          {
            "sourceDocumentSpec": {
              "url": "<string>"
            },
            "person": {
              "name": "George Clooney",
              "obfuscatedId": "abc123"
            },
            "group": {
              "type": "DEPARTMENT",
              "id": "<string>",
              "name": "<string>"
            },
            "role": "OWNER"
          }
        ],
        "removedRoles": [
          {
            "sourceDocumentSpec": {
              "url": "<string>"
            },
            "person": {
              "name": "George Clooney",
              "obfuscatedId": "abc123"
            },
            "group": {
              "type": "DEPARTMENT",
              "id": "<string>",
              "name": "<string>"
            },
            "role": "OWNER"
          }
        ],
        "audienceFilters": [
          {
            "fieldName": "type",
            "values": [
              {
                "value": "Spreadsheet",
                "relationType": "EQUALS"
              },
              {
                "value": "Presentation",
                "relationType": "EQUALS"
              }
            ]
          }
        ],
        "permissions": {
          "write": {
            "scopeType": "GLOBAL",
            "create": true,
            "update": true,
            "delete": true
          }
        },
        "id": 123,
        "createTime": "2023-11-07T05:31:56Z",
        "updateTime": "2023-11-07T05:31:56Z",
        "creator": {
          "name": "George Clooney",
          "obfuscatedId": "abc123"
        },
        "updatedBy": {
          "name": "George Clooney",
          "obfuscatedId": "abc123"
        },
        "itemCount": 123,
        "roles": [
          {
            "sourceDocumentSpec": {
              "url": "<string>"
            },
            "person": {
              "name": "George Clooney",
              "obfuscatedId": "abc123"
            },
            "group": {
              "type": "DEPARTMENT",
              "id": "<string>",
              "name": "<string>"
            },
            "role": "OWNER"
          }
        ]
      },
      "trackingToken": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Scio-Actas
string

Email address of a user on whose behalf the request is intended to be made (should be non-empty only for global tokens).

X-Glean-Auth-Type
string

Auth type being used to access the endpoint (should be non-empty only for global tokens).

Body

application/json
ListAnswerBoards request
withAudience
boolean

Whether to include the audience filters with the listed Answer Boards.

withRoles
boolean

Whether to include the editor roles with the listed Answer Boards.

Response

200
application/json
OK
boardResults
object[]
required

List of all Answer Boards, no Answers are included.