Skip to content

GitHub: Users schemas

17 GitHub schemas with complete fields and constraints.

← Users operations · All schemas

Add an email address for the authenticated user — response body — item

FieldTypePresenceDescription and constraints
$objectRootEmail
emailstringRequired within parentFormat: email
primarybooleanRequired within parent
verifiedbooleanRequired within parent
visibilityJSONRequired within parent
visibility (anyOf 1)stringAlternative
visibility (anyOf 2)nullAlternative

Create an issue field — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
data_typestringRequired within parentThe data type of the issue field.
One of: text, date, single_select, multi_select, number
descriptionJSONOptional
description (anyOf 1)stringAlternativeDescription of the issue field.
description (anyOf 2)nullAlternative
namestringRequired within parentName of the issue field.
optionsJSONOptional
options (anyOf 1)arrayAlternativeOptions for select fields. Required when data_type is 'single_select' or 'multi_select'.
options (anyOf 1)[]objectEach item
options (anyOf 1)[].colorstringRequired within parentColor for the option.
One of: gray, blue, green, yellow, orange, red, pink, purple
options (anyOf 1)[].descriptionJSONOptional
options (anyOf 1)[].description (anyOf 1)stringAlternativeDescription of the option.
options (anyOf 1)[].description (anyOf 2)nullAlternative
options (anyOf 1)[].namestringRequired within parentName of the option.
options (anyOf 1)[].priorityintegerRequired within parentPriority of the option for ordering.
options (anyOf 2)nullAlternative
visibilitystringOptionalThe visibility of the issue field. Can be `restricted` (visible only to the owner and to collaborators on the repository the field is read through) or `all` (visible to all users who can see issues). Defaults to `restricted`.
One of: restricted, all

Create an issue field — response body

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)objectAlternativeA custom attribute defined by a personal account for attaching structured data to issues.
$ (anyOf 1).created_atstringOptionalThe time the issue field was created.
Format: date-time
$ (anyOf 1).data_typestringRequired within parentThe data type of the issue field.
Known values: text, date, single_select, multi_select, number
$ (anyOf 1).descriptionJSONOptional
$ (anyOf 1).description (anyOf 1)stringAlternativeThe description of the issue field.
$ (anyOf 1).description (anyOf 2)nullAlternative
$ (anyOf 1).idJSONRequired within parent
$ (anyOf 1).id (anyOf 1)integerAlternativeThe unique identifier of the issue field.
$ (anyOf 1).id (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
$ (anyOf 1).namestringRequired within parentThe name of the issue field.
$ (anyOf 1).node_idstringRequired within parentThe node identifier of the issue field.
$ (anyOf 1).optionsJSONOptional
$ (anyOf 1).options (anyOf 1)arrayAlternativeAvailable options for single select and multi select fields.
$ (anyOf 1).options (anyOf 1)[]ModelEach itemExpand Create an issue field — response body — data_type: text, date, single select, multi select, number, visibility: restricted, all options array item
$ (anyOf 1).options (anyOf 2)nullAlternative
$ (anyOf 1).updated_atstringOptionalThe time the issue field was updated.
Format: date-time
$ (anyOf 1).visibilitystringOptionalThe visibility of the issue field. Can be `restricted` (visible only to the owner and to collaborators on the repository the field is read through) or `all` (visible to all users who can see issues).
Known values: restricted, all
$ (anyOf 2)nullAlternative

Referenced models: Create an issue field — response body — data_type: text, date, single select, multi select, number, visibility: restricted, all options array item

Create an issue field — response body — data_type: text, date, single select, multi select, number, visibility: restricted, all options array item

FieldTypePresenceDescription and constraints
$objectRoot
colorJSONOptional
color (anyOf 1)stringAlternativeThe color of the option.
Known values: gray, blue, green, yellow, orange, red, pink, purple
color (anyOf 2)nullAlternative
created_atstringOptionalThe time the option was created.
Format: date-time
descriptionJSONOptional
description (anyOf 1)stringAlternativeThe description of the option.
description (anyOf 2)nullAlternative
idJSONRequired within parent
id (anyOf 1)integerAlternativeThe unique identifier of the option.
id (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
namestringRequired within parentThe name of the option.
priorityJSONOptional
priority (anyOf 1)JSONAlternative
priority (anyOf 1) (anyOf 1)integerAlternativeThe priority of the option for ordering.
priority (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
priority (anyOf 2)nullAlternative
updated_atstringOptionalThe time the option was last updated.
Format: date-time

Create an issue type — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
colorJSONOptional
color (anyOf 1)stringAlternativeColor for the issue type.
One of: gray, blue, green, yellow, orange, red, pink, purple
color (anyOf 2)nullAlternative
descriptionJSONOptional
description (anyOf 1)stringAlternativeDescription of the issue type.
description (anyOf 2)nullAlternative
is_enabledbooleanRequired within parentWhether or not the issue type is enabled.
namestringRequired within parentName of the issue type.

Create an issue type — response body

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)objectAlternativeThe type assigned to the issue. This is only present for issues in repositories where issue types are supported.
$ (anyOf 1).colorJSONOptional
$ (anyOf 1).color (anyOf 1)stringAlternativeThe color of the issue type.
Known values: gray, blue, green, yellow, orange, red, pink, purple
$ (anyOf 1).color (anyOf 2)nullAlternative
$ (anyOf 1).created_atstringOptionalThe time the issue type created.
Format: date-time
$ (anyOf 1).descriptionJSONRequired within parent
$ (anyOf 1).description (anyOf 1)stringAlternativeThe description of the issue type.
$ (anyOf 1).description (anyOf 2)nullAlternative
$ (anyOf 1).idJSONRequired within parent
$ (anyOf 1).id (anyOf 1)integerAlternativeThe unique identifier of the issue type.
$ (anyOf 1).id (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
$ (anyOf 1).is_enabledbooleanOptionalThe enabled state of the issue type.
$ (anyOf 1).namestringRequired within parentThe name of the issue type.
$ (anyOf 1).node_idstringRequired within parentThe node identifier of the issue type.
$ (anyOf 1).updated_atstringOptionalThe time the issue type last updated.
Format: date-time
$ (anyOf 2)nullAlternative

Get a GPG key for the authenticated user — response body

FieldTypePresenceDescription and constraints
$objectRootA unique encryption key
can_certifybooleanRequired within parent
can_encrypt_commsbooleanRequired within parent
can_encrypt_storagebooleanRequired within parent
can_signbooleanRequired within parent
created_atstringRequired within parentFormat: date-time
emailsarrayRequired within parent
emails[]objectEach item
emails[].emailstringOptional
emails[].verifiedbooleanOptional
expires_atJSONRequired within parent
expires_at (anyOf 1)stringAlternativeFormat: date-time
expires_at (anyOf 2)nullAlternative
idJSONRequired within parent
id (anyOf 1)integerAlternativeFormat: int64
id (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
key_idstringRequired within parent
nameJSONOptional
name (anyOf 1)stringAlternative
name (anyOf 2)nullAlternative
primary_key_idJSONRequired within parent
primary_key_id (anyOf 1)JSONAlternative
primary_key_id (anyOf 1) (anyOf 1)integerAlternative
primary_key_id (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
primary_key_id (anyOf 2)nullAlternative
public_keystringRequired within parent
raw_keyJSONRequired within parent
raw_key (anyOf 1)stringAlternative
raw_key (anyOf 2)nullAlternative
revokedbooleanRequired within parent
subkeysarrayRequired within parent
subkeys[]objectEach item
subkeys[].can_certifybooleanOptional
subkeys[].can_encrypt_commsbooleanOptional
subkeys[].can_encrypt_storagebooleanOptional
subkeys[].can_signbooleanOptional
subkeys[].created_atstringOptional
subkeys[].emailsarrayOptional
subkeys[].emails[]objectEach item
subkeys[].emails[].emailstringOptional
subkeys[].emails[].verifiedbooleanOptional
subkeys[].expires_atJSONOptional
subkeys[].expires_at (anyOf 1)stringAlternative
subkeys[].expires_at (anyOf 2)nullAlternative
subkeys[].idJSONOptional
subkeys[].id (anyOf 1)integerAlternativeFormat: int64
subkeys[].id (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
subkeys[].key_idstringOptional
subkeys[].primary_key_idJSONOptional
subkeys[].primary_key_id (anyOf 1)integerAlternative
subkeys[].primary_key_id (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
subkeys[].public_keystringOptional
subkeys[].raw_keyJSONOptional
subkeys[].raw_key (anyOf 1)stringAlternative
subkeys[].raw_key (anyOf 2)nullAlternative
subkeys[].revokedbooleanOptional
subkeys[].subkeysarrayOptional
subkeys[].subkeys[]JSONEach item

Get a public SSH key for the authenticated user — response body

FieldTypePresenceDescription and constraints
$objectRootKey
created_atstringRequired within parentFormat: date-time
idJSONRequired within parent
id (anyOf 1)integerAlternativeFormat: int64
id (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
keystringRequired within parent
last_usedJSONOptional
last_used (anyOf 1)stringAlternativeFormat: date-time
last_used (anyOf 2)nullAlternative
read_onlybooleanRequired within parent
titlestringRequired within parent
urlstringRequired within parent
verifiedbooleanRequired within parent

Get a user — response body — Public User

FieldTypePresenceDescription and constraints
$objectRootPublic User
Additional keys: not allowed
avatar_urlstringRequired within parentFormat: uri
bioJSONRequired within parent
bio (anyOf 1)stringAlternative
bio (anyOf 2)nullAlternative
blogJSONRequired within parent
blog (anyOf 1)stringAlternative
blog (anyOf 2)nullAlternative
collaboratorsJSONOptional
collaborators (anyOf 1)integerAlternative
collaborators (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
companyJSONRequired within parent
company (anyOf 1)stringAlternative
company (anyOf 2)nullAlternative
created_atstringRequired within parentFormat: date-time
disk_usageJSONOptional
disk_usage (anyOf 1)integerAlternative
disk_usage (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
emailJSONRequired within parent
email (anyOf 1)stringAlternativeFormat: email
email (anyOf 2)nullAlternative
events_urlstringRequired within parent
followersJSONRequired within parent
followers (anyOf 1)integerAlternative
followers (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
followers_urlstringRequired within parentFormat: uri
followingJSONRequired within parent
following (anyOf 1)integerAlternative
following (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
following_urlstringRequired within parent
gists_urlstringRequired within parent
gravatar_idJSONRequired within parent
gravatar_id (anyOf 1)stringAlternative
gravatar_id (anyOf 2)nullAlternative
hireableJSONRequired within parent
hireable (anyOf 1)booleanAlternative
hireable (anyOf 2)nullAlternative
html_urlstringRequired within parentFormat: uri
idJSONRequired within parent
id (anyOf 1)integerAlternativeFormat: int64
id (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
locationJSONRequired within parent
location (anyOf 1)stringAlternative
location (anyOf 2)nullAlternative
loginstringRequired within parent
nameJSONRequired within parent
name (anyOf 1)stringAlternative
name (anyOf 2)nullAlternative
node_idstringRequired within parent
notification_emailJSONOptional
notification_email (anyOf 1)stringAlternativeFormat: email
notification_email (anyOf 2)nullAlternative
organizations_urlstringRequired within parentFormat: uri
owned_private_reposJSONOptional
owned_private_repos (anyOf 1)integerAlternative
owned_private_repos (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
planobjectOptional
plan.collaboratorsJSONRequired within parent
plan.collaborators (anyOf 1)integerAlternative
plan.collaborators (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
plan.namestringRequired within parent
plan.private_reposJSONRequired within parent
plan.private_repos (anyOf 1)integerAlternative
plan.private_repos (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
plan.spaceJSONRequired within parent
plan.space (anyOf 1)integerAlternative
plan.space (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
private_gistsJSONOptional
private_gists (anyOf 1)integerAlternative
private_gists (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
public_gistsJSONRequired within parent
public_gists (anyOf 1)integerAlternative
public_gists (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
public_reposJSONRequired within parent
public_repos (anyOf 1)integerAlternative
public_repos (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
received_events_urlstringRequired within parentFormat: uri
repos_urlstringRequired within parentFormat: uri
site_adminbooleanRequired within parent
starred_urlstringRequired within parent
subscriptions_urlstringRequired within parentFormat: uri
total_private_reposJSONOptional
total_private_repos (anyOf 1)integerAlternative
total_private_repos (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
twitter_usernameJSONOptional
twitter_username (anyOf 1)stringAlternative
twitter_username (anyOf 2)nullAlternative
typestringRequired within parent
updated_atstringRequired within parentFormat: date-time
urlstringRequired within parentFormat: uri
user_view_typestringOptional

Get an SSH signing key for the authenticated user — response body

FieldTypePresenceDescription and constraints
$objectRootA public SSH key used to sign Git commits
created_atstringRequired within parentFormat: date-time
idJSONRequired within parent
id (anyOf 1)integerAlternative
id (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
keystringRequired within parent
titlestringRequired within parent

Get contextual information for a user — response body

FieldTypePresenceDescription and constraints
$objectRootHovercard
contextsarrayRequired within parent
contexts[]objectEach item
contexts[].messagestringRequired within parent
contexts[].octiconstringRequired within parent

List public keys for a user — response body — item

FieldTypePresenceDescription and constraints
$objectRootKey Simple
created_atstringOptionalFormat: date-time
idJSONRequired within parent
id (anyOf 1)integerAlternative
id (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
keystringRequired within parent
last_usedJSONOptional
last_used (anyOf 1)stringAlternativeFormat: date-time
last_used (anyOf 2)nullAlternative

List social accounts for a user — response body — item

FieldTypePresenceDescription and constraints
$objectRootSocial media account
providerstringRequired within parent
urlstringRequired within parent

List users — response body — item

FieldTypePresenceDescription and constraints
$objectRootA GitHub user.
avatar_urlstringRequired within parentFormat: uri
emailJSONOptional
email (anyOf 1)stringAlternative
email (anyOf 2)nullAlternative
events_urlstringRequired within parent
followers_urlstringRequired within parentFormat: uri
following_urlstringRequired within parent
gists_urlstringRequired within parent
gravatar_idJSONRequired within parent
gravatar_id (anyOf 1)stringAlternative
gravatar_id (anyOf 2)nullAlternative
html_urlstringRequired within parentFormat: uri
idJSONRequired within parent
id (anyOf 1)integerAlternativeFormat: int64
id (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
loginstringRequired within parent
nameJSONOptional
name (anyOf 1)stringAlternative
name (anyOf 2)nullAlternative
node_idstringRequired within parent
organizations_urlstringRequired within parentFormat: uri
received_events_urlstringRequired within parentFormat: uri
repos_urlstringRequired within parentFormat: uri
site_adminbooleanRequired within parent
starred_atstringOptional
starred_urlstringRequired within parent
subscriptions_urlstringRequired within parentFormat: uri
typestringRequired within parent
urlstringRequired within parentFormat: uri
user_view_typestringOptional

Update an issue field — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
descriptionJSONOptional
description (anyOf 1)stringAlternativeDescription of the issue field.
description (anyOf 2)nullAlternative
namestringOptionalName of the issue field.
optionsarrayOptionalOptions for select fields. Only applicable when updating single_select or multi_select fields. When provided, this array **replaces** the entire existing set of options rather than adding to or updating individual options. To retain or update an existing option, include it in the array with its `id`. Options sent without an `id` are treated as new options and may cause existing options to be deleted and recreated.
options[]ModelEach itemExpand Update an issue field — request body — body options item
visibilitystringOptionalThe visibility of the issue field. Can be `restricted` (visible only to the owner and to collaborators on the repository the field is read through) or `all` (visible to all users who can see issues).
One of: restricted, all

Referenced models: Update an issue field — request body — body options item

Update an issue field — request body — body options item

FieldTypePresenceDescription and constraints
$objectRoot
colorstringRequired within parentColor for the option.
One of: gray, blue, green, yellow, orange, red, pink, purple
descriptionJSONOptional
description (anyOf 1)stringAlternativeDescription of the option.
description (anyOf 2)nullAlternative
idintegerOptionalThe id of an existing option to retain or update. Omit this when creating a new option.
namestringRequired within parentName of the option.
priorityintegerRequired within parentPriority of the option for ordering.

Update the authenticated user — response body

FieldTypePresenceDescription and constraints
$objectRootPrivate User
avatar_urlstringRequired within parentFormat: uri
bioJSONRequired within parent
bio (anyOf 1)stringAlternative
bio (anyOf 2)nullAlternative
blogJSONRequired within parent
blog (anyOf 1)stringAlternative
blog (anyOf 2)nullAlternative
business_plusbooleanOptional
collaboratorsJSONRequired within parent
collaborators (anyOf 1)integerAlternative
collaborators (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
companyJSONRequired within parent
company (anyOf 1)stringAlternative
company (anyOf 2)nullAlternative
created_atstringRequired within parentFormat: date-time
disk_usageJSONRequired within parent
disk_usage (anyOf 1)integerAlternative
disk_usage (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
emailJSONRequired within parent
email (anyOf 1)stringAlternativeFormat: email
email (anyOf 2)nullAlternative
events_urlstringRequired within parent
followersJSONRequired within parent
followers (anyOf 1)integerAlternative
followers (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
followers_urlstringRequired within parentFormat: uri
followingJSONRequired within parent
following (anyOf 1)integerAlternative
following (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
following_urlstringRequired within parent
gists_urlstringRequired within parent
gravatar_idJSONRequired within parent
gravatar_id (anyOf 1)stringAlternative
gravatar_id (anyOf 2)nullAlternative
hireableJSONRequired within parent
hireable (anyOf 1)booleanAlternative
hireable (anyOf 2)nullAlternative
html_urlstringRequired within parentFormat: uri
idJSONRequired within parent
id (anyOf 1)integerAlternativeFormat: int64
id (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
ldap_dnstringOptional
locationJSONRequired within parent
location (anyOf 1)stringAlternative
location (anyOf 2)nullAlternative
loginstringRequired within parent
nameJSONRequired within parent
name (anyOf 1)stringAlternative
name (anyOf 2)nullAlternative
node_idstringRequired within parent
notification_emailJSONOptional
notification_email (anyOf 1)stringAlternativeFormat: email
notification_email (anyOf 2)nullAlternative
organizations_urlstringRequired within parentFormat: uri
owned_private_reposJSONRequired within parent
owned_private_repos (anyOf 1)integerAlternative
owned_private_repos (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
planobjectOptional
plan.collaboratorsJSONRequired within parent
plan.collaborators (anyOf 1)integerAlternative
plan.collaborators (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
plan.namestringRequired within parent
plan.private_reposJSONRequired within parent
plan.private_repos (anyOf 1)integerAlternative
plan.private_repos (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
plan.spaceJSONRequired within parent
plan.space (anyOf 1)integerAlternative
plan.space (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
private_gistsJSONRequired within parent
private_gists (anyOf 1)integerAlternative
private_gists (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
public_gistsJSONRequired within parent
public_gists (anyOf 1)integerAlternative
public_gists (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
public_reposJSONRequired within parent
public_repos (anyOf 1)integerAlternative
public_repos (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
received_events_urlstringRequired within parentFormat: uri
repos_urlstringRequired within parentFormat: uri
site_adminbooleanRequired within parent
starred_urlstringRequired within parent
subscriptions_urlstringRequired within parentFormat: uri
total_private_reposJSONRequired within parent
total_private_repos (anyOf 1)integerAlternative
total_private_repos (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
twitter_usernameJSONOptional
twitter_username (anyOf 1)stringAlternative
twitter_username (anyOf 2)nullAlternative
two_factor_authenticationbooleanRequired within parent
typestringRequired within parent
updated_atstringRequired within parentFormat: date-time
urlstringRequired within parentFormat: uri
user_view_typestringOptional

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.