Queries
user
Lookup a user by login.
Type: User
Arguments for user
| Name | Description |
|---|---|
| The user's login. |
users
A list of users.
Type: UserConnection!
Arguments for users
| Name | Description |
|---|---|
| Returns the elements in the list that come after the specified cursor. |
| Returns the elements in the list that come before the specified cursor. |
| Returns the first n elements from the list. |
| Returns the last n elements from the list. |
viewer
The currently authenticated user.
Type: User!
Mutations
changeUserStatus
Update your status on GitHub.
Input fields for changeUserStatus
input(ChangeUserStatusInput!)
Return fields for changeUserStatus
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| Your updated status. |
createUserList
Creates a new user list.
Input fields for createUserList
input(CreateUserListInput!)
Return fields for createUserList
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The list that was just created. |
| The user who created the list. |
deleteUserList
Deletes a user list.
Input fields for deleteUserList
input(DeleteUserListInput!)
Return fields for deleteUserList
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The owner of the list that will be deleted. |
followUser
Follow a user.
Input fields for followUser
input(FollowUserInput!)
Return fields for followUser
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The user that was followed. |
unfollowUser
Unfollow a user.
Input fields for unfollowUser
input(UnfollowUserInput!)
Return fields for unfollowUser
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The user that was unfollowed. |
updateUserList
Updates an existing user list.
Input fields for updateUserList
input(UpdateUserListInput!)
Return fields for updateUserList
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The list that was just updated. |
updateUserListsForItem
Updates which of the viewer's lists an item belongs to.
Input fields for updateUserListsForItem
input(UpdateUserListsForItemInput!)
Return fields for updateUserListsForItem
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The item that was added. |
| The lists to which this item belongs. |
| The user who owns the lists. |
Objects
ActorConnection
The connection type for Actor.
Fields for ActorConnection
| Name | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
ActorEdge
An edge in a connection.
Fields for ActorEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
ActorLocation
Location information for an actor.
Fields for ActorLocation
| Name | Description |
|---|---|
| City. |
| Country name. |
| Country code. |
| Region name. |
| Region or state code. |
ContributionCalendar
A calendar of contributions made on GitHub by a user.
Fields for ContributionCalendar
| Name | Description |
|---|---|
| A list of hex color codes used in this calendar. The darker the color, the more contributions it represents. |
| Determine if the color set was chosen because it's currently Halloween. |
| A list of the months of contributions in this calendar. |
| The count of total contributions in the calendar. |
| A list of the weeks of contributions in this calendar. |
ContributionCalendarDay
Represents a single day of contributions on GitHub by a user.
Fields for ContributionCalendarDay
| Name | Description |
|---|---|
| The hex color code that represents how many contributions were made on this day compared to others in the calendar. |
| How many contributions were made by the user on this day. |
| Indication of contributions, relative to other days. Can be used to indicate which color to represent this day on a calendar. |
| The day this square represents. |
| A number representing which day of the week this square represents, e.g., 1 is Monday. |
ContributionCalendarMonth
A month of contributions in a user's contribution graph.
Fields for ContributionCalendarMonth
| Name | Description |
|---|---|
| The date of the first day of this month. |
| The name of the month. |
| How many weeks started in this month. |
| The year the month occurred in. |
ContributionCalendarWeek
A week of contributions in a user's contribution graph.
Fields for ContributionCalendarWeek
| Name | Description |
|---|---|
| The days of contributions in this week. |
| The date of the earliest square in this week. |
ContributionsCollection
A collection of contributions made by a user, including opened issues, commits, and pull requests. Contributions in private and internal repositories are only included with the optional read:user scope.
Fields for ContributionsCollection
| Name | Description |
|---|---|
| Commit contributions made by the user, grouped by repository. Arguments for
|
| A calendar of this user's contributions on GitHub. |
| The years the user has been making contributions with the most recent year first. |
| Determine if this collection's time span ends in the current month. |
| The date of the first restricted contribution the user made in this time period. Can only be non-null when the user has enabled private contribution counts. |
| The ending date and time of this collection. |
| The first issue the user opened on GitHub. This will be null if that issue was opened outside the collection's time range and ignoreTimeRange is false. If the issue is not visible but the user has opted to show private contributions, a RestrictedContribution will be returned. |
| The first pull request the user opened on GitHub. This will be null if that pull request was opened outside the collection's time range and ignoreTimeRange is not true. If the pull request is not visible but the user has opted to show private contributions, a RestrictedContribution will be returned. |
| The first repository the user created on GitHub. This will be null if that first repository was created outside the collection's time range and ignoreTimeRange is false. If the repository is not visible, then a RestrictedContribution is returned. |
| Does the user have any more activity in the timeline that occurred prior to the collection's time range?. |
| Determine if there are any contributions in this collection. |
| Determine if the user made any contributions in this time frame whose details are not visible because they were made in a private repository. Can only be true if the user enabled private contribution counts. |
| Whether or not the collector's time span is all within the same day. |
| A list of issues the user opened. Arguments for
|
| Issue contributions made by the user, grouped by repository. Arguments for
|
| When the user signed up for GitHub. This will be null if that sign up date falls outside the collection's time range and ignoreTimeRange is false. |
| The date of the most recent restricted contribution the user made in this time period. Can only be non-null when the user has enabled private contribution counts. |
| When this collection's time range does not include any activity from the user, use this to get a different collection from an earlier time range that does have activity. |
| Returns a different contributions collection from an earlier time range than this one that does not have any contributions. |
| The issue the user opened on GitHub that received the most comments in the specified time frame. |
| The pull request the user opened on GitHub that received the most comments in the specified time frame. |
| Pull request contributions made by the user. Arguments for
|
| Pull request contributions made by the user, grouped by repository. Arguments for
|
| Pull request review contributions made by the user. Returns the most recently submitted review for each PR reviewed by the user. Arguments for
|
| Pull request review contributions made by the user, grouped by repository. Arguments for
|
| A list of repositories owned by the user that the user created in this time range. Arguments for
|
| A count of contributions made by the user that the viewer cannot access. Only non-zero when the user has chosen to share their private contribution counts. |
| The beginning date and time of this collection. |
| How many commits were made by the user in this time span. |
| How many issues the user opened. |
| How many pull requests the user opened. |
| How many pull request reviews the user left. |
| How many different repositories the user committed to. |
| How many different repositories the user opened issues in. |
| How many different repositories the user left pull request reviews in. |
| How many different repositories the user opened pull requests in. Arguments for
|
| How many repositories the user created. Arguments for
|
| The user who made the contributions in this collection. |
CreatedCommitContribution
Represents the contribution a user made by committing to a repository.
CreatedCommitContribution Implements
Fields for CreatedCommitContribution
| Name | Description |
|---|---|
| How many commits were made on this day to this repository by the user. |
| Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access. |
| When this contribution was made. |
| The repository the user made a commit in. |
| The HTTP path for this contribution. |
| The HTTP URL for this contribution. |
| The user who made this contribution. |
CreatedCommitContributionConnection
The connection type for CreatedCommitContribution.
Fields for CreatedCommitContributionConnection
| Name | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of commits across days and repositories in the connection. |
CreatedCommitContributionEdge
An edge in a connection.
Fields for CreatedCommitContributionEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
CreatedIssueContribution
Represents the contribution a user made on GitHub by opening an issue.
CreatedIssueContribution Implements
Fields for CreatedIssueContribution
| Name | Description |
|---|---|
| Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access. |
| The issue that was opened. |
| When this contribution was made. |
| The HTTP path for this contribution. |
| The HTTP URL for this contribution. |
| The user who made this contribution. |
CreatedIssueContributionConnection
The connection type for CreatedIssueContribution.
Fields for CreatedIssueContributionConnection
| Name | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
CreatedIssueContributionEdge
An edge in a connection.
Fields for CreatedIssueContributionEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
CreatedPullRequestContribution
Represents the contribution a user made on GitHub by opening a pull request.
CreatedPullRequestContribution Implements
Fields for CreatedPullRequestContribution
| Name | Description |
|---|---|
| Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access. |
| When this contribution was made. |
| The pull request that was opened. |
| The HTTP path for this contribution. |
| The HTTP URL for this contribution. |
| The user who made this contribution. |
CreatedPullRequestContributionConnection
The connection type for CreatedPullRequestContribution.
Fields for CreatedPullRequestContributionConnection
| Name | Description |
|---|---|
A list of edges. | |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
CreatedPullRequestContributionEdge
An edge in a connection.
Fields for CreatedPullRequestContributionEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
The item at the end of the edge. |
CreatedPullRequestReviewContribution
Represents the contribution a user made by leaving a review on a pull request.
CreatedPullRequestReviewContribution Implements
Fields for CreatedPullRequestReviewContribution
| Name | Description |
|---|---|
| Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access. |
| When this contribution was made. |
| The pull request the user reviewed. |
| The review the user left on the pull request. |
| The repository containing the pull request that the user reviewed. |
| The HTTP path for this contribution. |
| The HTTP URL for this contribution. |
| The user who made this contribution. |
CreatedPullRequestReviewContributionConnection
The connection type for CreatedPullRequestReviewContribution.
Fields for CreatedPullRequestReviewContributionConnection
| Name | Description |
|---|---|
A list of edges. | |
A list of nodes. | |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
CreatedPullRequestReviewContributionEdge
An edge in a connection.
Fields for CreatedPullRequestReviewContributionEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
The item at the end of the edge. |
CreatedRepositoryContribution
Represents the contribution a user made on GitHub by creating a repository.
CreatedRepositoryContribution Implements
Fields for CreatedRepositoryContribution
| Name | Description |
|---|---|
| Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access. |
| When this contribution was made. |
| The repository that was created. |
| The HTTP path for this contribution. |
| The HTTP URL for this contribution. |
| The user who made this contribution. |
CreatedRepositoryContributionConnection
The connection type for CreatedRepositoryContribution.
Fields for CreatedRepositoryContributionConnection
| Name | Description |
|---|---|
A list of edges. | |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
CreatedRepositoryContributionEdge
An edge in a connection.
Fields for CreatedRepositoryContributionEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
The item at the end of the edge. |
EnterpriseAdministratorConnection
The connection type for User.
Fields for EnterpriseAdministratorConnection
| Name | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
EnterpriseAdministratorEdge
A User who is an administrator of an enterprise.
Fields for EnterpriseAdministratorEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
| The role of the administrator. |
EnterpriseOutsideCollaboratorConnection
The connection type for User.
Fields for EnterpriseOutsideCollaboratorConnection
| Name | Description |
|---|---|
A list of edges. | |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
EnterpriseOutsideCollaboratorEdge
A User who is an outside collaborator of an enterprise through one or more organizations.
Fields for EnterpriseOutsideCollaboratorEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
| The enterprise organization repositories this user is a member of. Arguments for
|
FollowerConnection
The connection type for User.
Fields for FollowerConnection
| Name | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
FollowingConnection
The connection type for User.
Fields for FollowingConnection
| Name | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
GenericHovercardContext
A generic hovercard context with a message and icon.
GenericHovercardContext Implements
Fields for GenericHovercardContext
| Name | Description |
|---|---|
| A string describing this context. |
| An octicon to accompany this context. |
Hovercard
Detail needed to display a hovercard for a user.
Fields for Hovercard
| Name | Description |
|---|---|
| Each of the contexts for this hovercard. |
JoinedGitHubContribution
Represents a user signing up for a GitHub account.
JoinedGitHubContribution Implements
Fields for JoinedGitHubContribution
| Name | Description |
|---|---|
| Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access. |
| When this contribution was made. |
| The HTTP path for this contribution. |
| The HTTP URL for this contribution. |
| The user who made this contribution. |
OrganizationEnterpriseOwnerConnection
The connection type for User.
Fields for OrganizationEnterpriseOwnerConnection
| Name | Description |
|---|---|
A list of edges. | |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
OrganizationEnterpriseOwnerEdge
An enterprise owner in the context of an organization that is part of the enterprise.
Fields for OrganizationEnterpriseOwnerEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
| The role of the owner with respect to the organization. |
OrganizationMemberConnection
A list of users who belong to the organization.
Fields for OrganizationMemberConnection
| Name | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
OrganizationMemberEdge
Represents a user within an organization.
Fields for OrganizationMemberEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
| Whether the organization member has two factor enabled or not. Returns null if information is not available to viewer. |
| The item at the end of the edge. |
| The role this user has in the organization. |
PinnableItemConnection
The connection type for PinnableItem.
Fields for PinnableItemConnection
| Name | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
PinnableItemEdge
An edge in a connection.
Fields for PinnableItemEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
ProfileItemShowcase
A curatable list of repositories relating to a repository owner, which defaults to showing the most popular repositories they own.
Fields for ProfileItemShowcase
| Name | Description |
|---|---|
| Whether or not the owner has pinned any repositories or gists. |
| The repositories and gists in the showcase. If the profile owner has any pinned items, those will be returned. Otherwise, the profile owner's popular repositories will be returned. |
PublicKey
A user's public key.
PublicKey Implements
Fields for PublicKey
| Name | Description |
|---|---|
| The last time this authorization was used to perform an action. Values will be null for keys not owned by the user. |
| Identifies the date and time when the key was created. Keys created before March 5th, 2014 have inaccurate values. Values will be null for keys not owned by the user. |
| The fingerprint for this PublicKey. |
| The Node ID of the PublicKey object. |
| Whether this PublicKey is read-only or not. Values will be null for keys not owned by the user. |
| The public key string. |
| Identifies the date and time when the key was updated. Keys created before March 5th, 2014 may have inaccurate values. Values will be null for keys not owned by the user. |
PublicKeyConnection
The connection type for PublicKey.
Fields for PublicKeyConnection
| Name | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
PublicKeyEdge
An edge in a connection.
Fields for PublicKeyEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
ReactingUserConnection
The connection type for User.
Fields for ReactingUserConnection
| Name | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
ReactingUserEdge
Represents a user that's made a reaction.
Fields for ReactingUserEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
| N/A |
| The moment when the user made the reaction. |
RepositoryCollaboratorConnection
The connection type for User.
Fields for RepositoryCollaboratorConnection
| Name | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
RepositoryCollaboratorEdge
Represents a user who is a collaborator of a repository.
Fields for RepositoryCollaboratorEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
| N/A |
| The permission the user has on the repository. |
| A list of sources for the user's access to the repository. |
RestrictedContribution
Represents a private contribution a user made on GitHub.
RestrictedContribution Implements
Fields for RestrictedContribution
| Name | Description |
|---|---|
| Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access. |
| When this contribution was made. |
| The HTTP path for this contribution. |
| The HTTP URL for this contribution. |
| The user who made this contribution. |
SavedReply
A Saved Reply is text a user can use to reply quickly.
SavedReply Implements
Fields for SavedReply
| Name | Description |
|---|---|
| The body of the saved reply. |
| The saved reply body rendered to HTML. |
| Identifies the primary key from the database. |
| The Node ID of the SavedReply object. |
| The title of the saved reply. |
| The user that saved this reply. |
SavedReplyConnection
The connection type for SavedReply.
Fields for SavedReplyConnection
| Name | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
SavedReplyEdge
An edge in a connection.
Fields for SavedReplyEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
SocialAccount
Social media profile associated with a user.
Fields for SocialAccount
| Name | Description |
|---|---|
| Name of the social media account as it appears on the profile. |
| Software or company that hosts the social media account. |
| URL of the social media account. |
SocialAccountConnection
The connection type for SocialAccount.
Fields for SocialAccountConnection
| Name | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
SocialAccountEdge
An edge in a connection.
Fields for SocialAccountEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
StargazerConnection
The connection type for User.
Fields for StargazerConnection
| Name | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
StargazerEdge
Represents a user that's starred a repository.
Fields for StargazerEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
| N/A |
| Identifies when the item was starred. |
TeamMemberConnection
The connection type for User.
Fields for TeamMemberConnection
| Name | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
TeamMemberEdge
Represents a user who is a member of a team.
Fields for TeamMemberEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
| The HTTP path to the organization's member access page. |
| The HTTP URL to the organization's member access page. |
| N/A |
| The role the member has on the team. |
User
A user is an individual's account on GitHub that owns repositories and can make new content.
User Implements
ActorAgenticNodePackageOwnerProfileOwnerProjectOwnerProjectV2OwnerProjectV2RecentRepositoryDiscussionAuthorRepositoryDiscussionCommentAuthorRepositoryOwnerUniformResourceLocatable
Fields for User
| Name | Description |
|---|---|
| Determine if this repository owner has any items that can be pinned to their profile. Arguments for
|
| A URL pointing to the user's public avatar. Arguments for
|
| The user's public profile bio. |
| The user's public profile bio as HTML. |
| Could this user receive email notifications, if the organization had notification restrictions enabled?. Arguments for
|
| A list of commit comments made by this user. Arguments for
|
| The user's public profile company. |
| The user's public profile company as HTML. |
| The collection of contributions this user has made to different repositories. Arguments for
|
| The user's Copilot endpoint information. |
| Identifies the date and time when the object was created. |
| Identifies the primary key from the database. |
| The user's publicly visible profile email. |
| A list of enterprises that the user belongs to. Arguments for
|
| A list of users the given user is followed by. |
| A list of users the given user is following. |
| Find gist by repo name. Arguments for
|
| A list of gist comments made by this user. Arguments for
|
| A list of the Gists the user has created. Arguments for
|
| The hovercard information for this user in a given context. Arguments for
|
| The Node ID of the User object. |
| Whether or not this user is a participant in the GitHub Security Bug Bounty. |
| Whether or not this user is a participant in the GitHub Campus Experts Program. |
| Whether or not this user is a GitHub Developer Program member. |
| Whether or not this user is a GitHub employee. |
| Whether or not this user is following the viewer. Inverse of viewerIsFollowing. |
| Whether or not this user is a member of the GitHub Stars Program. |
| Whether or not the user has marked themselves as for hire. |
| Whether or not this user is a site administrator. |
| Whether or not this user is the viewing user. |
| A list of issue comments made by this user. Arguments for
|
| A list of issues associated with this user. Arguments for
|
| Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity. |
| A user-curated list of repositories. |
| The user's public profile location. |
| The username used to login. |
| The user's public profile name. |
| Find an organization by its login that the user belongs to. Arguments for
|
| Verified email addresses that match verified domains for a specified organization the user is a member of. Arguments for
|
| A list of organizations the user belongs to. Arguments for
|
| A list of packages under the owner. Arguments for
|
| A list of repositories and gists this profile owner can pin to their profile. Arguments for
|
| A list of repositories and gists this profile owner has pinned to their profile. Arguments for
|
| Returns how many more items this profile owner can pin to their profile. |
| Find project by number. Warning
Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC. Arguments for
|
| Find a project by number. Arguments for
|
| A list of projects under the owner. Warning
Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC. Arguments for
|
| The HTTP path listing user's projects. |
| The HTTP URL listing user's projects. |
| A list of projects under the owner. Arguments for
|
| The user's profile pronouns. |
| A list of public keys associated with this user. Arguments for
|
| A list of pull requests associated with this user. Arguments for
|
| Recent projects that this user has modified in the context of the owner. Arguments for
|
| A list of repositories that the user owns. Arguments for
|
| A list of repositories that the user recently contributed to. Arguments for
|
| Find Repository. |
| Discussion comments this user has authored. Arguments for
|
| Discussions this user has started. Arguments for
|
| The HTTP path for this user. |
| Replies this user has saved. Arguments for
|
| The user's social media accounts, ordered as they appear on the user's profile. Arguments for
|
| Repositories the user has starred. Arguments for
|
| The user's description of what they're currently doing. |
| Suggested names for user lists. |
| Identifies the date and time when the user was suspended. |
| Repositories the user has contributed to, ordered by contribution rank, plus repositories the user has created. Arguments for
|
| The user's Twitter username. |
| Identifies the date and time when the object was last updated. |
| The HTTP URL for this user. |
| Whether the request returns publicly visible information or privately visible information about the user. |
| Can the viewer pin repositories and gists to the profile?. |
| Can the current viewer create new projects on this owner. Warning
Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC. |
| Whether or not the viewer is able to follow the user. |
| Channel value for subscribing to live updates for session creations. |
| Channel value for subscribing to live updates for session log updates. |
| Channel value for subscribing to live updates for session updates. |
| Whether or not this user is followed by the viewer. Inverse of isFollowingViewer. |
| A list of repositories the given user is watching. Arguments for
|
| A URL pointing to the user's public website/blog. |
UserBlockedEvent
Represents auser_blockedevent on a given user.
UserBlockedEvent Implements
Fields for UserBlockedEvent
| Name | Description |
|---|---|
| Identifies the actor who performed the event. |
| Number of days that the user was blocked for. |
| Identifies the date and time when the object was created. |
| The Node ID of the UserBlockedEvent object. |
| The user who was blocked. |
UserConnection
A list of users.
Fields for UserConnection
| Name | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
UserContentEdit
An edit on user content.
UserContentEdit Implements
Fields for UserContentEdit
| Name | Description |
|---|---|
| Identifies the date and time when the object was created. |
| Identifies the date and time when the object was deleted. |
| The actor who deleted this content. |
| A summary of the changes for this edit. |
| When this content was edited. |
| The actor who edited this content. |
| The Node ID of the UserContentEdit object. |
| Identifies the date and time when the object was last updated. |
UserContentEditConnection
A list of edits to content.
Fields for UserContentEditConnection
| Name | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
UserContentEditEdge
An edge in a connection.
Fields for UserContentEditEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
UserEdge
Represents a user.
Fields for UserEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
UserEmailMetadata
Email attributes from External Identity.
Fields for UserEmailMetadata
| Name | Description |
|---|---|
| Boolean to identify primary emails. |
| Type of email. |
| Email id. |
UserList
A user-curated list of repositories.
UserList Implements
Fields for UserList
| Name | Description |
|---|---|
| Identifies the date and time when the object was created. |
| The description of this list. |
| The Node ID of the UserList object. |
| Whether or not this list is private. |
| The items associated with this list. |
| The date and time at which this list was created or last had items added to it. |
| The name of this list. |
| The slug of this list. |
| Identifies the date and time when the object was last updated. |
| The user to which this list belongs. |
UserListConnection
The connection type for UserList.
Fields for UserListConnection
| Name | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
UserListEdge
An edge in a connection.
Fields for UserListEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
UserListItemsConnection
The connection type for UserListItems.
Fields for UserListItemsConnection
| Name | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
UserListItemsEdge
An edge in a connection.
Fields for UserListItemsEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
UserListSuggestion
Represents a suggested user list.
Fields for UserListSuggestion
| Name | Description |
|---|---|
| The ID of the suggested user list. |
| The name of the suggested user list. |
UserStatus
The user's description of what they're currently doing.
UserStatus Implements
Fields for UserStatus
| Name | Description |
|---|---|
| Identifies the date and time when the object was created. |
| An emoji summarizing the user's status. |
| The status emoji as HTML. |
| If set, the status will not be shown after this date. |
| The Node ID of the UserStatus object. |
| Whether this status indicates the user is not fully available on GitHub. |
| A brief message describing what the user is doing. |
| The organization whose members can see this status. If null, this status is publicly visible. |
| Identifies the date and time when the object was last updated. |
| The user who has this status. |
UserStatusConnection
The connection type for UserStatus.
Fields for UserStatusConnection
| Name | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
UserStatusEdge
An edge in a connection.
Fields for UserStatusEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
ViewerHovercardContext
A hovercard context with a message describing how the viewer is related.
ViewerHovercardContext Implements
Fields for ViewerHovercardContext
| Name | Description |
|---|---|
| A string describing this context. |
| An octicon to accompany this context. |
| Identifies the user who is related to this context. |
Interfaces
Actor
Represents an object which can take actions on GitHub. Typically a User or Bot.
Actor is implemented by
Fields for Actor
| Name | Description |
|---|---|
| A URL pointing to the actor's public avatar. Arguments for
|
| The username of the actor. |
| The HTTP path for this actor. |
| The HTTP URL for this actor. |
Contribution
Represents a contribution a user made on GitHub, such as opening an issue.
Contribution is implemented by
CreatedCommitContributionCreatedIssueContributionCreatedPullRequestContributionCreatedPullRequestReviewContributionCreatedRepositoryContributionJoinedGitHubContributionRestrictedContribution
Fields for Contribution
| Name | Description |
|---|---|
| Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access. |
| When this contribution was made. |
| The HTTP path for this contribution. |
| The HTTP URL for this contribution. |
| The user who made this contribution. |
HovercardContext
An individual line of a hovercard.
HovercardContext is implemented by
OrganizationsHovercardContextReviewStatusHovercardContextOrganizationTeamsHovercardContextGenericHovercardContextViewerHovercardContext
Fields for HovercardContext
| Name | Description |
|---|---|
| A string describing this context. |
| An octicon to accompany this context. |
MemberStatusable
Entities that have members who can set status messages.
MemberStatusable is implemented by
Fields for MemberStatusable
| Name | Description |
|---|---|
| Get the status messages members of this entity have set that are either public or visible only to the organization. Arguments for
|
ProfileOwner
Represents any entity on GitHub that has a profile page.
ProfileOwner is implemented by
Fields for ProfileOwner
| Name | Description |
|---|---|
| Determine if this repository owner has any items that can be pinned to their profile. Arguments for
|
| The public profile email. |
| The Node ID of the ProfileOwner object. |
| Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity. |
| The public profile location. |
| The username used to login. |
| The public profile name. |
| A list of repositories and gists this profile owner can pin to their profile. Arguments for
|
| A list of repositories and gists this profile owner has pinned to their profile. Arguments for
|
| Returns how many more items this profile owner can pin to their profile. |
| Can the viewer pin repositories and gists to the profile?. |
| The public profile website URL. |
Enums
ActorType
The actor's type.
Values for ActorType
| Name | Description |
|---|---|
TEAM | Indicates a team actor. |
USER | Indicates a user actor. |
ContributionLevel
Varying levels of contributions from none to many.
Values for ContributionLevel
| Name | Description |
|---|---|
FIRST_QUARTILE | Lowest 25% of days of contributions. |
FOURTH_QUARTILE | Highest 25% of days of contributions. More contributions than the third quartile. |
NONE | No contributions occurred. |
SECOND_QUARTILE | Second lowest 25% of days of contributions. More contributions than the first quartile. |
THIRD_QUARTILE | Second highest 25% of days of contributions. More contributions than second quartile, less than the fourth quartile. |
PinnableItemType
Represents items that can be pinned to a profile page or dashboard.
Values for PinnableItemType
| Name | Description |
|---|---|
GIST | A gist. |
ISSUE | An issue. |
ORGANIZATION | An organization. |
PROJECT | A project. |
PULL_REQUEST | A pull request. |
REPOSITORY | A repository. |
TEAM | A team. |
USER | A user. |
SavedReplyOrderField
Properties by which saved reply connections can be ordered.
Values for SavedReplyOrderField
| Name | Description |
|---|---|
UPDATED_AT | Order saved reply by when they were updated. |
SocialAccountProvider
Software or company that hosts social media accounts.
Values for SocialAccountProvider
| Name | Description |
|---|---|
BLUESKY | Decentralized microblogging social platform. |
FACEBOOK | Social media and networking website. |
GENERIC | Catch-all for social media providers that do not yet have specific handling. |
HOMETOWN | Fork of Mastodon with a greater focus on local posting. |
INSTAGRAM | Social media website with a focus on photo and video sharing. |
LINKEDIN | Professional networking website. |
MASTODON | Open-source federated microblogging service. |
NPM | JavaScript package registry. |
REDDIT | Social news aggregation and discussion website. |
TWITCH | Live-streaming service. |
TWITTER | Microblogging website. |
YOUTUBE | Online video platform. |
UserBlockDuration
The possible durations that a user can be blocked for.
Values for UserBlockDuration
| Name | Description |
|---|---|
ONE_DAY | The user was blocked for 1 day. |
ONE_MONTH | The user was blocked for 30 days. |
ONE_WEEK | The user was blocked for 7 days. |
PERMANENT | The user was blocked permanently. |
THREE_DAYS | The user was blocked for 3 days. |
UserStatusOrderField
Properties by which user status connections can be ordered.
Values for UserStatusOrderField
| Name | Description |
|---|---|
UPDATED_AT | Order user statuses by when they were updated. |
UserViewType
Whether a user being viewed contains public or private information.
Values for UserViewType
| Name | Description |
|---|---|
PRIVATE | A user containing information only visible to the authenticated user. |
PUBLIC | A user that is publicly visible. |
Unions
Claimable
An object which can have its data claimed or claim data from another.
Possible types for Claimable
CreatedIssueOrRestrictedContribution
Represents either a issue the viewer can access or a restricted contribution.
Possible types for CreatedIssueOrRestrictedContribution
CreatedPullRequestOrRestrictedContribution
Represents either a pull request the viewer can access or a restricted contribution.
Possible types for CreatedPullRequestOrRestrictedContribution
CreatedRepositoryOrRestrictedContribution
Represents either a repository the viewer can access or a restricted contribution.
Possible types for CreatedRepositoryOrRestrictedContribution
PinnableItem
Types that can be pinned to a profile page.
Possible types for PinnableItem
UserListItems
Types that can be added to a user list.
Possible types for UserListItems
Input objects
ChangeUserStatusInput
Autogenerated input type of ChangeUserStatus.
Input fields for ChangeUserStatusInput
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The emoji to represent your status. Can either be a native Unicode emoji or an emoji name with colons, e.g., 😀. |
| If set, the user status will not be shown after this date. |
| Whether this status should indicate you are not fully available on GitHub, e.g., you are away. |
| A short description of your current status. |
| The ID of the organization whose members will be allowed to see the status. If omitted, the status will be publicly visible. |
ContributionOrder
Ordering options for contribution connections.
Input fields for ContributionOrder
| Name | Description |
|---|---|
| The ordering direction. |
CreateUserListInput
Autogenerated input type of CreateUserList.
Input fields for CreateUserListInput
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| A description of the list. |
| Whether or not the list is private. |
| The name of the new list. |
DeleteUserListInput
Autogenerated input type of DeleteUserList.
Input fields for DeleteUserListInput
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The ID of the list to delete. |
FollowUserInput
Autogenerated input type of FollowUser.
Input fields for FollowUserInput
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| ID of the user to follow. |
SavedReplyOrder
Ordering options for saved reply connections.
Input fields for SavedReplyOrder
| Name | Description |
|---|---|
| The ordering direction. |
| The field to order saved replies by. |
UnfollowUserInput
Autogenerated input type of UnfollowUser.
Input fields for UnfollowUserInput
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| ID of the user to unfollow. |
UpdateUserListInput
Autogenerated input type of UpdateUserList.
Input fields for UpdateUserListInput
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| A description of the list. |
| Whether or not the list is private. |
| The ID of the list to update. |
| The name of the list. |
UpdateUserListsForItemInput
Autogenerated input type of UpdateUserListsForItem.
Input fields for UpdateUserListsForItemInput
| Name | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The item to add to the list. |
| The lists to which this item should belong. |
| The suggested lists to create and add this item to. |
UserStatusOrder
Ordering options for user status connections.
Input fields for UserStatusOrder
| Name | Description |
|---|---|
| The ordering direction. |
| The field to order user statuses by. |