BookMembers

Gets a single user's membership on a book, whether it comes from a system role, from application roles, or from both. `systemRole` is null when the user only holds application roles.

GET
/public-api/v1/books/{bookId}/members/users/{userId}
cURL
curl --request GET \
  --url '/public-api/v1/books/{bookId}/members/users/{userId}' \
  --header 'user-api-key: <api-key>'

Autorisations

  • user-api-keystringheader

    User's API Key · apiKey

Paramètres de chemin

  • bookIdstringobligatoire
  • userIdstringobligatoire

Réponses

Member returned.

  • UserIdstringobligatoire

    The user.

  • SystemRolestring
  • Rolesobject[]

    Application roles held by the member, with their label.

    • RoleIdstringobligatoire

      Role identifier.

    • Labelstringobligatoire

      Display label.

    • Descriptionstring

      Optional description.