v1

latestOpenAPI 3.0.12026-07-175557102.5 KB

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 nullable

The user's email address.

avatarUrlstring required

The URL to the user's avatar.

githubIdinteger nullable

The user's GitHub ID.

isBlockedboolean required

Whether the user is blocked from using the registry.

isStaffboolean required

Whether the user is a staff member.

scopeUsageinteger required

The number of scopes the user created.

scopeLimitinteger required

The maximum number of scopes the user can create.

inviteCountinteger required

The number of invites pending for the user.

newerTicketMessagesCountinteger required

The number of unread ticket messages.

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
}