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>'

Autorizaciones

  • user-api-keystringheader

    User's API Key · apiKey

Parámetros de ruta

  • bookIdstringobligatorio
  • userIdstringobligatorio

Respuestas

Member returned.

  • UserIdstringobligatorio

    The user.

  • SystemRolestring
  • Rolesobject[]

    Application roles held by the member, with their label.

    • RoleIdstringobligatorio

      Role identifier.

    • Labelstringobligatorio

      Display label.

    • Descriptionstring

      Optional description.