Skip to main content
GET
/
library
/
v1beta1
/
{libId}
/
roles
cURL
curl --request GET \
  --url https://aodocs.altirnao.com/api/library/v1beta1/{libId}/roles \
  --header 'Authorization: Bearer <token>'
{
  "kind": "<string>",
  "roles": [
    {
      "aclEntries": [
        {
          "classId": "<string>",
          "className": "<string>",
          "description": "<string>",
          "displayName": "<string>",
          "displayName_i18n": "<string>",
          "thumbnailPictureUrl": "<string>",
          "type": "USER",
          "value": "<string>"
        }
      ],
      "appMetadata": {},
      "description": "<string>",
      "id": "<string>",
      "kind": "<string>",
      "name": "<string>",
      "name_i18n": "<string>",
      "privileges": {},
      "type": "LIBRARY"
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

libId
string
required

The ID of the library

Query Parameters

domain
string

The G Suite domain

securityCode
string

The security code

Response

200 - application/json

A ApiRoleList response

kind
string
roles
object[]