OBJECT

UserData

The user data object contains basic information about users and lets you retrieve specific users (or the current user if using the user endpoint).

link GraphQL Schema definition

  • type UserData {
  • # Obtain a specific user by id.
  • #
  • # Arguments
  • # id: Required. Specify a single user ID to retrieve.
  • user(id: Int): User
  • # Obtain the current user (only works with user endpoint).
  • currentUser: User
  • }

link Require by