Get authenticated user's details

Returns details of the authenticated user

get/user

Response

OK

idstring uuid required

The ID of a user.

namestring required

The user's display name.

emailstring

The user's email address.

avatarUrlstring required

The URL to the user's avatar.

githubIdinteger

The user's GitHub ID.

isBlockedboolean

Whether the user is blocked from using the registry.

isStaffboolean

Whether the user is a staff member.

scopeUsageinteger

The number of scopes the user created.

scopeLimitinteger

The maximum number of scopes the user can create.

inviteCountinteger

The number of invites pending for the user.

createdAtstring date-time required

The date and time when the user profile was created.

updatedAtstring date-time required

The date and time when the user profile was last updated.

Example response

{
  "name": "Ryan Dahl",
  "email": "ry@example.com",
  "avatarUrl": "https://avatars.githubusercontent.com/u/80?v=4",
  "githubId": 80,
  "scopeUsage": 3,
  "scopeLimit": 10,
  "inviteCount": 3
}

Changes