Skip to main content

Reference documentation for GraphQL schema types in the Users category.

В этой статье

Queries

user

Query

Lookup a user by login.

Тип: User

Аргументы для user

Имя.Description

login (String!)

The user's login.

users

Query

A list of users.

Тип: UserConnection!

Аргументы для users

Имя.Description

after (String)

Returns the elements in the list that come after the specified cursor.

before (String)

Returns the elements in the list that come before the specified cursor.

first (Int)

Returns the first n elements from the list.

last (Int)

Returns the last n elements from the list.

viewer

Query

The currently authenticated user.

Тип: User!

Mutations

changeUserStatus

Mutation

Update your status on GitHub.

Поля ввода для changeUserStatus

Возвращаемые поля для changeUserStatus

Имя.Description

clientMutationId (String)

A unique identifier for the client performing the mutation.

status (UserStatus)

Your updated status.

createUserList

Mutation

Creates a new user list.

Поля ввода для createUserList

Возвращаемые поля для createUserList

Имя.Description

clientMutationId (String)

A unique identifier for the client performing the mutation.

list (UserList)

The list that was just created.

viewer (User)

The user who created the list.

deleteUserList

Mutation

Deletes a user list.

Поля ввода для deleteUserList

Возвращаемые поля для deleteUserList

Имя.Description

clientMutationId (String)

A unique identifier for the client performing the mutation.

user (User)

The owner of the list that will be deleted.

followUser

Mutation

Follow a user.

Поля ввода для followUser

Возвращаемые поля для followUser

Имя.Description

clientMutationId (String)

A unique identifier for the client performing the mutation.

user (User)

The user that was followed.

unfollowUser

Mutation

Unfollow a user.

Поля ввода для unfollowUser

Возвращаемые поля для unfollowUser

Имя.Description

clientMutationId (String)

A unique identifier for the client performing the mutation.

user (User)

The user that was unfollowed.

updateUserList

Mutation

Updates an existing user list.

Поля ввода для updateUserList

Возвращаемые поля для updateUserList

Имя.Description

clientMutationId (String)

A unique identifier for the client performing the mutation.

list (UserList)

The list that was just updated.

updateUserListsForItem

Mutation

Updates which of the viewer's lists an item belongs to.

Поля ввода для updateUserListsForItem

Возвращаемые поля для updateUserListsForItem

Имя.Description

clientMutationId (String)

A unique identifier for the client performing the mutation.

item (UserListItems)

The item that was added.

lists ([UserList!])

The lists to which this item belongs.

user (User)

The user who owns the lists.

Objects

ActorLocation

Object

Location information for an actor.

Поля для ActorLocation

Имя.Description

city (String)

City.

country (String)

Country name.

countryCode (String)

Country code.

region (String)

Region name.

regionCode (String)

Region or state code.

ContributionCalendar

Object

A calendar of contributions made on GitHub by a user.

Поля для ContributionCalendar

Имя.Description

colors ([String!]!)

A list of hex color codes used in this calendar. The darker the color, the more contributions it represents.

isHalloween (Boolean!)

Determine if the color set was chosen because it's currently Halloween.

months ([ContributionCalendarMonth!]!)

A list of the months of contributions in this calendar.

totalContributions (Int!)

The count of total contributions in the calendar.

weeks ([ContributionCalendarWeek!]!)

A list of the weeks of contributions in this calendar.

ContributionCalendarDay

Object

Represents a single day of contributions on GitHub by a user.

Поля для ContributionCalendarDay

Имя.Description

color (String!)

The hex color code that represents how many contributions were made on this day compared to others in the calendar.

contributionCount (Int!)

How many contributions were made by the user on this day.

contributionLevel (ContributionLevel!)

Indication of contributions, relative to other days. Can be used to indicate which color to represent this day on a calendar.

date (Date!)

The day this square represents.

weekday (Int!)

A number representing which day of the week this square represents, e.g., 1 is Monday.

ContributionCalendarMonth

Object

A month of contributions in a user's contribution graph.

Поля для ContributionCalendarMonth

Имя.Description

firstDay (Date!)

The date of the first day of this month.

name (String!)

The name of the month.

totalWeeks (Int!)

How many weeks started in this month.

year (Int!)

The year the month occurred in.

ContributionCalendarWeek

Object

A week of contributions in a user's contribution graph.

Поля для ContributionCalendarWeek

Имя.Description

contributionDays ([ContributionCalendarDay!]!)

The days of contributions in this week.

firstDay (Date!)

The date of the earliest square in this week.

ContributionsCollection

Object

A contributions collection aggregates contributions such as opened issues and commits created by a user.

Поля для ContributionsCollection

Имя.Description

commitContributionsByRepository ([CommitContributionsByRepository!]!)

Commit contributions made by the user, grouped by repository.

Аргументы для commitContributionsByRepository

  • maxRepositories (Int)

    How many repositories should be included.

    The default value is 25.

contributionCalendar (ContributionCalendar!)

A calendar of this user's contributions on GitHub.

contributionYears ([Int!]!)

The years the user has been making contributions with the most recent year first.

doesEndInCurrentMonth (Boolean!)

Determine if this collection's time span ends in the current month.

earliestRestrictedContributionDate (Date)

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.

endedAt (DateTime!)

The ending date and time of this collection.

firstIssueContribution (CreatedIssueOrRestrictedContribution)

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.

firstPullRequestContribution (CreatedPullRequestOrRestrictedContribution)

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.

firstRepositoryContribution (CreatedRepositoryOrRestrictedContribution)

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.

hasActivityInThePast (Boolean!)

Does the user have any more activity in the timeline that occurred prior to the collection's time range?.

hasAnyContributions (Boolean!)

Determine if there are any contributions in this collection.

hasAnyRestrictedContributions (Boolean!)

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.

isSingleDay (Boolean!)

Whether or not the collector's time span is all within the same day.

issueContributions (CreatedIssueContributionConnection!)

A list of issues the user opened.

Аргументы для issueContributions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • excludeFirst (Boolean)

    Should the user's first issue ever be excluded from the result.

    The default value is false.

  • excludePopular (Boolean)

    Should the user's most commented issue be excluded from the result.

    The default value is false.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ContributionOrder)

    Ordering options for contributions returned from the connection.

issueContributionsByRepository ([IssueContributionsByRepository!]!)

Issue contributions made by the user, grouped by repository.

Аргументы для issueContributionsByRepository

  • excludeFirst (Boolean)

    Should the user's first issue ever be excluded from the result.

    The default value is false.

  • excludePopular (Boolean)

    Should the user's most commented issue be excluded from the result.

    The default value is false.

  • maxRepositories (Int)

    How many repositories should be included.

    The default value is 25.

joinedGitHubContribution (JoinedGitHubContribution)

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.

latestRestrictedContributionDate (Date)

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.

mostRecentCollectionWithActivity (ContributionsCollection)

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.

mostRecentCollectionWithoutActivity (ContributionsCollection)

Returns a different contributions collection from an earlier time range than this one that does not have any contributions.

popularIssueContribution (CreatedIssueContribution)

The issue the user opened on GitHub that received the most comments in the specified time frame.

popularPullRequestContribution (CreatedPullRequestContribution)

The pull request the user opened on GitHub that received the most comments in the specified time frame.

pullRequestContributions (CreatedPullRequestContributionConnection!)

Pull request contributions made by the user.

Аргументы для pullRequestContributions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • excludeFirst (Boolean)

    Should the user's first pull request ever be excluded from the result.

    The default value is false.

  • excludePopular (Boolean)

    Should the user's most commented pull request be excluded from the result.

    The default value is false.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ContributionOrder)

    Ordering options for contributions returned from the connection.

pullRequestContributionsByRepository ([PullRequestContributionsByRepository!]!)

Pull request contributions made by the user, grouped by repository.

Аргументы для pullRequestContributionsByRepository

  • excludeFirst (Boolean)

    Should the user's first pull request ever be excluded from the result.

    The default value is false.

  • excludePopular (Boolean)

    Should the user's most commented pull request be excluded from the result.

    The default value is false.

  • maxRepositories (Int)

    How many repositories should be included.

    The default value is 25.

pullRequestReviewContributions (CreatedPullRequestReviewContributionConnection!)

Pull request review contributions made by the user. Returns the most recently submitted review for each PR reviewed by the user.

Аргументы для pullRequestReviewContributions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ContributionOrder)

    Ordering options for contributions returned from the connection.

pullRequestReviewContributionsByRepository ([PullRequestReviewContributionsByRepository!]!)

Pull request review contributions made by the user, grouped by repository.

Аргументы для pullRequestReviewContributionsByRepository

  • maxRepositories (Int)

    How many repositories should be included.

    The default value is 25.

repositoryContributions (CreatedRepositoryContributionConnection!)

A list of repositories owned by the user that the user created in this time range.

Аргументы для repositoryContributions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • excludeFirst (Boolean)

    Should the user's first repository ever be excluded from the result.

    The default value is false.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ContributionOrder)

    Ordering options for contributions returned from the connection.

restrictedContributionsCount (Int!)

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.

startedAt (DateTime!)

The beginning date and time of this collection.

totalCommitContributions (Int!)

How many commits were made by the user in this time span.

totalIssueContributions (Int!)

How many issues the user opened.

Аргументы для totalIssueContributions

  • excludeFirst (Boolean)

    Should the user's first issue ever be excluded from this count.

    The default value is false.

  • excludePopular (Boolean)

    Should the user's most commented issue be excluded from this count.

    The default value is false.

totalPullRequestContributions (Int!)

How many pull requests the user opened.

Аргументы для totalPullRequestContributions

  • excludeFirst (Boolean)

    Should the user's first pull request ever be excluded from this count.

    The default value is false.

  • excludePopular (Boolean)

    Should the user's most commented pull request be excluded from this count.

    The default value is false.

totalPullRequestReviewContributions (Int!)

How many pull request reviews the user left.

totalRepositoriesWithContributedCommits (Int!)

How many different repositories the user committed to.

totalRepositoriesWithContributedIssues (Int!)

How many different repositories the user opened issues in.

Аргументы для totalRepositoriesWithContributedIssues

  • excludeFirst (Boolean)

    Should the user's first issue ever be excluded from this count.

    The default value is false.

  • excludePopular (Boolean)

    Should the user's most commented issue be excluded from this count.

    The default value is false.

totalRepositoriesWithContributedPullRequestReviews (Int!)

How many different repositories the user left pull request reviews in.

totalRepositoriesWithContributedPullRequests (Int!)

How many different repositories the user opened pull requests in.

Аргументы для totalRepositoriesWithContributedPullRequests

  • excludeFirst (Boolean)

    Should the user's first pull request ever be excluded from this count.

    The default value is false.

  • excludePopular (Boolean)

    Should the user's most commented pull request be excluded from this count.

    The default value is false.

totalRepositoryContributions (Int!)

How many repositories the user created.

Аргументы для totalRepositoryContributions

  • excludeFirst (Boolean)

    Should the user's first repository ever be excluded from this count.

    The default value is false.

user (User!)

The user who made the contributions in this collection.

CreatedCommitContribution

Object

Represents the contribution a user made by committing to a repository.

CreatedCommitContribution Реализует

Поля для CreatedCommitContribution

Имя.Description

commitCount (Int!)

How many commits were made on this day to this repository by the user.

isRestricted (Boolean!)

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.

occurredAt (DateTime!)

When this contribution was made.

repository (Repository!)

The repository the user made a commit in.

resourcePath (URI!)

The HTTP path for this contribution.

url (URI!)

The HTTP URL for this contribution.

user (User!)

The user who made this contribution.

CreatedCommitContributionConnection

Object

The connection type for CreatedCommitContribution.

Поля для CreatedCommitContributionConnection

Имя.Description

edges ([CreatedCommitContributionEdge])

A list of edges.

nodes ([CreatedCommitContribution])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of commits across days and repositories in the connection.

CreatedCommitContributionEdge

Object

An edge in a connection.

Поля для CreatedCommitContributionEdge

Имя.Description

cursor (String!)

A cursor for use in pagination.

node (CreatedCommitContribution)

The item at the end of the edge.

CreatedIssueContribution

Object

Represents the contribution a user made on GitHub by opening an issue.

CreatedIssueContribution Реализует

Поля для CreatedIssueContribution

Имя.Description

isRestricted (Boolean!)

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.

issue (Issue!)

The issue that was opened.

occurredAt (DateTime!)

When this contribution was made.

resourcePath (URI!)

The HTTP path for this contribution.

url (URI!)

The HTTP URL for this contribution.

user (User!)

The user who made this contribution.

CreatedIssueContributionConnection

Object

The connection type for CreatedIssueContribution.

Поля для CreatedIssueContributionConnection

Имя.Description

edges ([CreatedIssueContributionEdge])

A list of edges.

nodes ([CreatedIssueContribution])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

CreatedIssueContributionEdge

Object

An edge in a connection.

Поля для CreatedIssueContributionEdge

Имя.Description

cursor (String!)

A cursor for use in pagination.

node (CreatedIssueContribution)

The item at the end of the edge.

CreatedPullRequestContribution

Object

Represents the contribution a user made on GitHub by opening a pull request.

CreatedPullRequestContribution Реализует

Поля для CreatedPullRequestContribution

Имя.Description

isRestricted (Boolean!)

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.

occurredAt (DateTime!)

When this contribution was made.

pullRequest (PullRequest!)

The pull request that was opened.

resourcePath (URI!)

The HTTP path for this contribution.

url (URI!)

The HTTP URL for this contribution.

user (User!)

The user who made this contribution.

CreatedPullRequestContributionConnection

Object

The connection type for CreatedPullRequestContribution.

Поля для CreatedPullRequestContributionConnection

Имя.Description

edges ([CreatedPullRequestContributionEdge])

A list of edges.

nodes ([CreatedPullRequestContribution])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

CreatedPullRequestContributionEdge

Object

An edge in a connection.

Поля для CreatedPullRequestContributionEdge

Имя.Description

cursor (String!)

A cursor for use in pagination.

node (CreatedPullRequestContribution)

The item at the end of the edge.

CreatedPullRequestReviewContribution

Object

Represents the contribution a user made by leaving a review on a pull request.

CreatedPullRequestReviewContribution Реализует

Поля для CreatedPullRequestReviewContribution

Имя.Description

isRestricted (Boolean!)

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.

occurredAt (DateTime!)

When this contribution was made.

pullRequest (PullRequest!)

The pull request the user reviewed.

pullRequestReview (PullRequestReview!)

The review the user left on the pull request.

repository (Repository!)

The repository containing the pull request that the user reviewed.

resourcePath (URI!)

The HTTP path for this contribution.

url (URI!)

The HTTP URL for this contribution.

user (User!)

The user who made this contribution.

CreatedPullRequestReviewContributionConnection

Object

The connection type for CreatedPullRequestReviewContribution.

Поля для CreatedPullRequestReviewContributionConnection

Имя.Description

edges ([CreatedPullRequestReviewContributionEdge])

A list of edges.

nodes ([CreatedPullRequestReviewContribution])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

CreatedPullRequestReviewContributionEdge

Object

An edge in a connection.

Поля для CreatedPullRequestReviewContributionEdge

Имя.Description

cursor (String!)

A cursor for use in pagination.

node (CreatedPullRequestReviewContribution)

The item at the end of the edge.

CreatedRepositoryContribution

Object

Represents the contribution a user made on GitHub by creating a repository.

CreatedRepositoryContribution Реализует

Поля для CreatedRepositoryContribution

Имя.Description

isRestricted (Boolean!)

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.

occurredAt (DateTime!)

When this contribution was made.

repository (Repository!)

The repository that was created.

resourcePath (URI!)

The HTTP path for this contribution.

url (URI!)

The HTTP URL for this contribution.

user (User!)

The user who made this contribution.

CreatedRepositoryContributionConnection

Object

The connection type for CreatedRepositoryContribution.

Поля для CreatedRepositoryContributionConnection

Имя.Description

edges ([CreatedRepositoryContributionEdge])

A list of edges.

nodes ([CreatedRepositoryContribution])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

CreatedRepositoryContributionEdge

Object

An edge in a connection.

Поля для CreatedRepositoryContributionEdge

Имя.Description

cursor (String!)

A cursor for use in pagination.

node (CreatedRepositoryContribution)

The item at the end of the edge.

EnterpriseAdministratorConnection

Object

The connection type for User.

Поля для EnterpriseAdministratorConnection

Имя.Description

edges ([EnterpriseAdministratorEdge])

A list of edges.

nodes ([User])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

EnterpriseAdministratorEdge

Object

A User who is an administrator of an enterprise.

Поля для EnterpriseAdministratorEdge

Имя.Description

cursor (String!)

A cursor for use in pagination.

node (User)

The item at the end of the edge.

role (EnterpriseAdministratorRole!)

The role of the administrator.

EnterpriseOutsideCollaboratorConnection

Object

The connection type for User.

Поля для EnterpriseOutsideCollaboratorConnection

Имя.Description

edges ([EnterpriseOutsideCollaboratorEdge])

A list of edges.

nodes ([User])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

EnterpriseOutsideCollaboratorEdge

Object

A User who is an outside collaborator of an enterprise through one or more organizations.

Поля для EnterpriseOutsideCollaboratorEdge

Имя.Description

cursor (String!)

A cursor for use in pagination.

node (User)

The item at the end of the edge.

repositories (EnterpriseRepositoryInfoConnection!)

The enterprise organization repositories this user is a member of.

Аргументы для repositories

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

FollowerConnection

Object

The connection type for User.

Поля для FollowerConnection

Имя.Description

edges ([UserEdge])

A list of edges.

nodes ([User])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

FollowingConnection

Object

The connection type for User.

Поля для FollowingConnection

Имя.Description

edges ([UserEdge])

A list of edges.

nodes ([User])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

GenericHovercardContext

Object

A generic hovercard context with a message and icon.

GenericHovercardContext Реализует

Поля для GenericHovercardContext

Имя.Description

message (String!)

A string describing this context.

octicon (String!)

An octicon to accompany this context.

Hovercard

Object

Detail needed to display a hovercard for a user.

Поля для Hovercard

Имя.Description

contexts ([HovercardContext!]!)

Each of the contexts for this hovercard.

JoinedGitHubContribution

Object

Represents a user signing up for a GitHub account.

JoinedGitHubContribution Реализует

Поля для JoinedGitHubContribution

Имя.Description

isRestricted (Boolean!)

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.

occurredAt (DateTime!)

When this contribution was made.

resourcePath (URI!)

The HTTP path for this contribution.

url (URI!)

The HTTP URL for this contribution.

user (User!)

The user who made this contribution.

OrganizationEnterpriseOwnerConnection

Object

The connection type for User.

Поля для OrganizationEnterpriseOwnerConnection

Имя.Description

edges ([OrganizationEnterpriseOwnerEdge])

A list of edges.

nodes ([User])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

OrganizationEnterpriseOwnerEdge

Object

An enterprise owner in the context of an organization that is part of the enterprise.

Поля для OrganizationEnterpriseOwnerEdge

Имя.Description

cursor (String!)

A cursor for use in pagination.

node (User)

The item at the end of the edge.

organizationRole (RoleInOrganization!)

The role of the owner with respect to the organization.

OrganizationMemberConnection

Object

A list of users who belong to the organization.

Поля для OrganizationMemberConnection

Имя.Description

edges ([OrganizationMemberEdge])

A list of edges.

nodes ([User])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

OrganizationMemberEdge

Object

Represents a user within an organization.

Поля для OrganizationMemberEdge

Имя.Description

cursor (String!)

A cursor for use in pagination.

hasTwoFactorEnabled (Boolean)

Whether the organization member has two factor enabled or not. Returns null if information is not available to viewer.

node (User)

The item at the end of the edge.

role (OrganizationMemberRole)

The role this user has in the organization.

PinnableItemConnection

Object

The connection type for PinnableItem.

Поля для PinnableItemConnection

Имя.Description

edges ([PinnableItemEdge])

A list of edges.

nodes ([PinnableItem])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

PinnableItemEdge

Object

An edge in a connection.

Поля для PinnableItemEdge

Имя.Description

cursor (String!)

A cursor for use in pagination.

node (PinnableItem)

The item at the end of the edge.

ProfileItemShowcase

Object

A curatable list of repositories relating to a repository owner, which defaults to showing the most popular repositories they own.

Поля для ProfileItemShowcase

Имя.Description

hasPinnedItems (Boolean!)

Whether or not the owner has pinned any repositories or gists.

items (PinnableItemConnection!)

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.

Аргументы для items

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

PublicKey

Object

A user's public key.

PublicKey Реализует

Поля для PublicKey

Имя.Description

accessedAt (DateTime)

The last time this authorization was used to perform an action. Values will be null for keys not owned by the user.

createdAt (DateTime)

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.

fingerprint (String!)

The fingerprint for this PublicKey.

id (ID!)

The Node ID of the PublicKey object.

isReadOnly (Boolean)

Whether this PublicKey is read-only or not. Values will be null for keys not owned by the user.

key (String!)

The public key string.

updatedAt (DateTime)

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

Object

The connection type for PublicKey.

Поля для PublicKeyConnection

Имя.Description

edges ([PublicKeyEdge])

A list of edges.

nodes ([PublicKey])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

PublicKeyEdge

Object

An edge in a connection.

Поля для PublicKeyEdge

Имя.Description

cursor (String!)

A cursor for use in pagination.

node (PublicKey)

The item at the end of the edge.

ReactingUserConnection

Object

The connection type for User.

Поля для ReactingUserConnection

Имя.Description

edges ([ReactingUserEdge])

A list of edges.

nodes ([User])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

ReactingUserEdge

Object

Represents a user that's made a reaction.

Поля для ReactingUserEdge

Имя.Description

cursor (String!)

A cursor for use in pagination.

node (User!)

N/A

reactedAt (DateTime!)

The moment when the user made the reaction.

RepositoryCollaboratorConnection

Object

The connection type for User.

Поля для RepositoryCollaboratorConnection

Имя.Description

edges ([RepositoryCollaboratorEdge])

A list of edges.

nodes ([User])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

RepositoryCollaboratorEdge

Object

Represents a user who is a collaborator of a repository.

Поля для RepositoryCollaboratorEdge

Имя.Description

cursor (String!)

A cursor for use in pagination.

node (User!)

N/A

permission (RepositoryPermission!)

The permission the user has on the repository.

permissionSources ([PermissionSource!])

A list of sources for the user's access to the repository.

RestrictedContribution

Object

Represents a private contribution a user made on GitHub.

RestrictedContribution Реализует

Поля для RestrictedContribution

Имя.Description

isRestricted (Boolean!)

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.

occurredAt (DateTime!)

When this contribution was made.

resourcePath (URI!)

The HTTP path for this contribution.

url (URI!)

The HTTP URL for this contribution.

user (User!)

The user who made this contribution.

SavedReply

Object

A Saved Reply is text a user can use to reply quickly.

SavedReply Реализует

Поля для SavedReply

Имя.Description

body (String!)

The body of the saved reply.

bodyHTML (HTML!)

The saved reply body rendered to HTML.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the SavedReply object.

title (String!)

The title of the saved reply.

user (Actor)

The user that saved this reply.

SavedReplyConnection

Object

The connection type for SavedReply.

Поля для SavedReplyConnection

Имя.Description

edges ([SavedReplyEdge])

A list of edges.

nodes ([SavedReply])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

SavedReplyEdge

Object

An edge in a connection.

Поля для SavedReplyEdge

Имя.Description

cursor (String!)

A cursor for use in pagination.

node (SavedReply)

The item at the end of the edge.

SocialAccount

Object

Social media profile associated with a user.

Поля для SocialAccount

Имя.Description

displayName (String!)

Name of the social media account as it appears on the profile.

provider (SocialAccountProvider!)

Software or company that hosts the social media account.

url (URI!)

URL of the social media account.

SocialAccountConnection

Object

The connection type for SocialAccount.

Поля для SocialAccountConnection

Имя.Description

edges ([SocialAccountEdge])

A list of edges.

nodes ([SocialAccount])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

SocialAccountEdge

Object

An edge in a connection.

Поля для SocialAccountEdge

Имя.Description

cursor (String!)

A cursor for use in pagination.

node (SocialAccount)

The item at the end of the edge.

StargazerConnection

Object

The connection type for User.

Поля для StargazerConnection

Имя.Description

edges ([StargazerEdge])

A list of edges.

nodes ([User])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

StargazerEdge

Object

Represents a user that's starred a repository.

Поля для StargazerEdge

Имя.Description

cursor (String!)

A cursor for use in pagination.

node (User!)

N/A

starredAt (DateTime!)

Identifies when the item was starred.

TeamMemberConnection

Object

The connection type for User.

Поля для TeamMemberConnection

Имя.Description

edges ([TeamMemberEdge])

A list of edges.

nodes ([User])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

TeamMemberEdge

Object

Represents a user who is a member of a team.

Поля для TeamMemberEdge

Имя.Description

cursor (String!)

A cursor for use in pagination.

memberAccessResourcePath (URI!)

The HTTP path to the organization's member access page.

memberAccessUrl (URI!)

The HTTP URL to the organization's member access page.

node (User!)

N/A

role (TeamMemberRole!)

The role the member has on the team.

User

Object

A user is an individual's account on GitHub that owns repositories and can make new content.

User Реализует

Поля для User

Имя.Description

anyPinnableItems (Boolean!)

Determine if this repository owner has any items that can be pinned to their profile.

Аргументы для anyPinnableItems

avatarUrl (URI!)

A URL pointing to the user's public avatar.

Аргументы для avatarUrl

  • size (Int)

    The size of the resulting square image.

bio (String)

The user's public profile bio.

bioHTML (HTML!)

The user's public profile bio as HTML.

canReceiveOrganizationEmailsWhenNotificationsRestricted (Boolean!)

Could this user receive email notifications, if the organization had notification restrictions enabled?.

Аргументы для canReceiveOrganizationEmailsWhenNotificationsRestricted

  • login (String!)

    The login of the organization to check.

commitComments (CommitCommentConnection!)

A list of commit comments made by this user.

Аргументы для commitComments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

company (String)

The user's public profile company.

companyHTML (HTML!)

The user's public profile company as HTML.

contributionsCollection (ContributionsCollection!)

The collection of contributions this user has made to different repositories.

Аргументы для contributionsCollection

  • from (DateTime)

    Only contributions made at this time or later will be counted. If omitted, defaults to a year ago.

  • organizationID (ID)

    The ID of the organization used to filter contributions.

  • to (DateTime)

    Only contributions made before and up to (including) this time will be counted. If omitted, defaults to the current time or one year from the provided from argument.

copilotEndpoints (CopilotEndpoints)

The user's Copilot endpoint information.

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

email (String!)

The user's publicly visible profile email.

enterprises (EnterpriseConnection)

A list of enterprises that the user belongs to.

Аргументы для enterprises

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • membershipType (EnterpriseMembershipType)

    Filter enterprises returned based on the user's membership type.

    The default value is ALL.

followers (FollowerConnection!)

A list of users the given user is followed by.

Аргументы для followers

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

following (FollowingConnection!)

A list of users the given user is following.

Аргументы для following

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

gist (Gist)

Find gist by repo name.

Аргументы для gist

  • name (String!)

    The gist name to find.

gistComments (GistCommentConnection!)

A list of gist comments made by this user.

Аргументы для gistComments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

gists (GistConnection!)

A list of the Gists the user has created.

Аргументы для gists

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (GistOrder)

    Ordering options for gists returned from the connection.

  • privacy (GistPrivacy)

    Filters Gists according to privacy.

hovercard (Hovercard!)

The hovercard information for this user in a given context.

Аргументы для hovercard

  • primarySubjectId (ID)

    The ID of the subject to get the hovercard in the context of.

id (ID!)

The Node ID of the User object.

isBountyHunter (Boolean!)

Whether or not this user is a participant in the GitHub Security Bug Bounty.

isCampusExpert (Boolean!)

Whether or not this user is a participant in the GitHub Campus Experts Program.

isDeveloperProgramMember (Boolean!)

Whether or not this user is a GitHub Developer Program member.

isEmployee (Boolean!)

Whether or not this user is a GitHub employee.

isFollowingViewer (Boolean!)

Whether or not this user is following the viewer. Inverse of viewerIsFollowing.

isGitHubStar (Boolean!)

Whether or not this user is a member of the GitHub Stars Program.

isHireable (Boolean!)

Whether or not the user has marked themselves as for hire.

isSiteAdmin (Boolean!)

Whether or not this user is a site administrator.

isViewer (Boolean!)

Whether or not this user is the viewing user.

issueComments (IssueCommentConnection!)

A list of issue comments made by this user.

Аргументы для issueComments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueCommentOrder)

    Ordering options for issue comments returned from the connection.

issues (IssueConnection!)

A list of issues associated with this user.

Аргументы для issues

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • filterBy (IssueFilters)

    Filtering options for issues returned from the connection.

  • first (Int)

    Returns the first n elements from the list.

  • labels ([String!])

    A list of label names to filter the pull requests by.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueOrder)

    Ordering options for issues returned from the connection.

itemShowcase (ProfileItemShowcase!)

Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity.

lists (UserListConnection!)

A user-curated list of repositories.

Аргументы для lists

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

location (String)

The user's public profile location.

login (String!)

The username used to login.

name (String)

The user's public profile name.

organization (Organization)

Find an organization by its login that the user belongs to.

Аргументы для organization

  • login (String!)

    The login of the organization to find.

organizationVerifiedDomainEmails ([String!]!)

Verified email addresses that match verified domains for a specified organization the user is a member of.

Аргументы для organizationVerifiedDomainEmails

  • login (String!)

    The login of the organization to match verified domains from.

organizations (OrganizationConnection!)

A list of organizations the user belongs to.

Аргументы для organizations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

packages (PackageConnection!)

A list of packages under the owner.

Аргументы для packages

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • names ([String])

    Find packages by their names.

  • packageType (PackageType)

    Filter registry package by type.

  • repositoryId (ID)

    Find packages in a repository by ID.

pinnableItems (PinnableItemConnection!)

A list of repositories and gists this profile owner can pin to their profile.

Аргументы для pinnableItems

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

pinnedItems (PinnableItemConnection!)

A list of repositories and gists this profile owner has pinned to their profile.

Аргументы для pinnedItems

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

pinnedItemsRemaining (Int!)

Returns how many more items this profile owner can pin to their profile.

project (Project)

Find project by number.

Предупреждение

project is deprecated.

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.

Аргументы для project

  • number (Int!)

    The project number to find.

projectV2 (ProjectV2)

Find a project by number.

Аргументы для projectV2

  • number (Int!)

    The project number.

projects (ProjectConnection!)

A list of projects under the owner.

Предупреждение

projects is deprecated.

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.

Аргументы для projects

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ProjectOrder)

    Ordering options for projects returned from the connection.

  • search (String)

    Query to search projects by, currently only searching by name.

projectsResourcePath (URI!)

The HTTP path listing user's projects.

projectsUrl (URI!)

The HTTP URL listing user's projects.

projectsV2 (ProjectV2Connection!)

A list of projects under the owner.

Аргументы для projectsV2

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • query (String)

    A project to search for under the owner.

pronouns (String)

The user's profile pronouns.

publicKeys (PublicKeyConnection!)

A list of public keys associated with this user.

Аргументы для publicKeys

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

pullRequests (PullRequestConnection!)

A list of pull requests associated with this user.

Аргументы для pullRequests

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • baseRefName (String)

    The base ref name to filter the pull requests by.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • headRefName (String)

    The head ref name to filter the pull requests by.

  • labels ([String!])

    A list of label names to filter the pull requests by.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueOrder)

    Ordering options for pull requests returned from the connection.

recentProjects (ProjectV2Connection!)

Recent projects that this user has modified in the context of the owner.

Аргументы для recentProjects

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

repositories (RepositoryConnection!)

A list of repositories that the user owns.

Аргументы для repositories

  • affiliations ([RepositoryAffiliation])

    Array of viewer's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the current viewer owns.

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • hasIssuesEnabled (Boolean)

    If non-null, filters repositories according to whether they have issues enabled.

  • isArchived (Boolean)

    If non-null, filters repositories according to whether they are archived and not maintained.

  • isFork (Boolean)

    If non-null, filters repositories according to whether they are forks of another repository.

  • isLocked (Boolean)

    If non-null, filters repositories according to whether they have been locked.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (RepositoryOrder)

    Ordering options for repositories returned from the connection.

  • ownerAffiliations ([RepositoryAffiliation])

    Array of owner's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the organization or user being viewed owns.

  • privacy (RepositoryPrivacy)

    If non-null, filters repositories according to privacy. Internal repositories are considered private; consider using the visibility argument if only internal repositories are needed. Cannot be combined with the visibility argument.

  • visibility (RepositoryVisibility)

    If non-null, filters repositories according to visibility. Cannot be combined with the privacy argument.

repositoriesContributedTo (RepositoryConnection!)

A list of repositories that the user recently contributed to.

Аргументы для repositoriesContributedTo

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • contributionTypes ([RepositoryContributionType])

    If non-null, include only the specified types of contributions. The GitHub.com UI uses [COMMIT, ISSUE, PULL_REQUEST, REPOSITORY].

  • first (Int)

    Returns the first n elements from the list.

  • hasIssues (Boolean)

    If non-null, filters repositories according to whether they have issues enabled.

  • includeUserRepositories (Boolean)

    If true, include user repositories.

  • isLocked (Boolean)

    If non-null, filters repositories according to whether they have been locked.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (RepositoryOrder)

    Ordering options for repositories returned from the connection.

repository (Repository)

Find Repository.

Аргументы для repository

  • followRenames (Boolean)

    Follow repository renames. If disabled, a repository referenced by its old name will return an error.

    The default value is true.

  • name (String!)

    Name of Repository to find.

repositoryDiscussionComments (DiscussionCommentConnection!)

Discussion comments this user has authored.

Аргументы для repositoryDiscussionComments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • onlyAnswers (Boolean)

    Filter discussion comments to only those that were marked as the answer.

    The default value is false.

  • repositoryId (ID)

    Filter discussion comments to only those in a specific repository.

repositoryDiscussions (DiscussionConnection!)

Discussions this user has started.

Аргументы для repositoryDiscussions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • answered (Boolean)

    Filter discussions to only those that have been answered or not. Defaults to including both answered and unanswered discussions.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (DiscussionOrder)

    Ordering options for discussions returned from the connection.

  • repositoryId (ID)

    Filter discussions to only those in a specific repository.

resourcePath (URI!)

The HTTP path for this user.

savedReplies (SavedReplyConnection)

Replies this user has saved.

Аргументы для savedReplies

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

socialAccounts (SocialAccountConnection!)

The user's social media accounts, ordered as they appear on the user's profile.

Аргументы для socialAccounts

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

starredRepositories (StarredRepositoryConnection!)

Repositories the user has starred.

Аргументы для starredRepositories

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • ownedByViewer (Boolean)

    Filters starred repositories to only return repositories owned by the viewer.

status (UserStatus)

The user's description of what they're currently doing.

suggestedListNames ([UserListSuggestion!]!)

Suggested names for user lists.

suspendedAt (DateTime)

Identifies the date and time when the user was suspended.

topRepositories (RepositoryConnection!)

Repositories the user has contributed to, ordered by contribution rank, plus repositories the user has created.

Аргументы для topRepositories

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (RepositoryOrder!)

    Ordering options for repositories returned from the connection.

  • since (DateTime)

    How far back in time to fetch contributed repositories.

twitterUsername (String)

The user's Twitter username.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

url (URI!)

The HTTP URL for this user.

userViewType (UserViewType!)

Whether the request returns publicly visible information or privately visible information about the user.

viewerCanChangePinnedItems (Boolean!)

Can the viewer pin repositories and gists to the profile?.

viewerCanCreateProjects (Boolean!)

Can the current viewer create new projects on this owner.

Предупреждение

viewerCanCreateProjects is deprecated.

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.

viewerCanFollow (Boolean!)

Whether or not the viewer is able to follow the user.

viewerIsFollowing (Boolean!)

Whether or not this user is followed by the viewer. Inverse of isFollowingViewer.

watching (RepositoryConnection!)

A list of repositories the given user is watching.

Аргументы для watching

  • affiliations ([RepositoryAffiliation])

    Affiliation options for repositories returned from the connection. If none specified, the results will include repositories for which the current viewer is an owner or collaborator, or member.

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • hasIssuesEnabled (Boolean)

    If non-null, filters repositories according to whether they have issues enabled.

  • isLocked (Boolean)

    If non-null, filters repositories according to whether they have been locked.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (RepositoryOrder)

    Ordering options for repositories returned from the connection.

  • ownerAffiliations ([RepositoryAffiliation])

    Array of owner's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the organization or user being viewed owns.

  • privacy (RepositoryPrivacy)

    If non-null, filters repositories according to privacy. Internal repositories are considered private; consider using the visibility argument if only internal repositories are needed. Cannot be combined with the visibility argument.

  • visibility (RepositoryVisibility)

    If non-null, filters repositories according to visibility. Cannot be combined with the privacy argument.

websiteUrl (URI)

A URL pointing to the user's public website/blog.

UserBlockedEvent

Object

Represents auser_blockedevent on a given user.

UserBlockedEvent Реализует

Поля для UserBlockedEvent

Имя.Description

actor (Actor)

Identifies the actor who performed the event.

blockDuration (UserBlockDuration!)

Number of days that the user was blocked for.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the UserBlockedEvent object.

subject (User)

The user who was blocked.

UserConnection

Object

A list of users.

Поля для UserConnection

Имя.Description

edges ([UserEdge])

A list of edges.

nodes ([User])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

UserContentEdit

Object

An edit on user content.

UserContentEdit Реализует

Поля для UserContentEdit

Имя.Description

createdAt (DateTime!)

Identifies the date and time when the object was created.

deletedAt (DateTime)

Identifies the date and time when the object was deleted.

deletedBy (Actor)

The actor who deleted this content.

diff (String)

A summary of the changes for this edit.

editedAt (DateTime!)

When this content was edited.

editor (Actor)

The actor who edited this content.

id (ID!)

The Node ID of the UserContentEdit object.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

UserContentEditConnection

Object

A list of edits to content.

Поля для UserContentEditConnection

Имя.Description

edges ([UserContentEditEdge])

A list of edges.

nodes ([UserContentEdit])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

UserContentEditEdge

Object

An edge in a connection.

Поля для UserContentEditEdge

Имя.Description

cursor (String!)

A cursor for use in pagination.

node (UserContentEdit)

The item at the end of the edge.

UserEdge

Object

Represents a user.

Поля для UserEdge

Имя.Description

cursor (String!)

A cursor for use in pagination.

node (User)

The item at the end of the edge.

UserEmailMetadata

Object

Email attributes from External Identity.

Поля для UserEmailMetadata

Имя.Description

primary (Boolean)

Boolean to identify primary emails.

type (String)

Type of email.

value (String!)

Email id.

UserList

Object

A user-curated list of repositories.

UserList Реализует

Поля для UserList

Имя.Description

createdAt (DateTime!)

Identifies the date and time when the object was created.

description (String)

The description of this list.

id (ID!)

The Node ID of the UserList object.

isPrivate (Boolean!)

Whether or not this list is private.

items (UserListItemsConnection!)

The items associated with this list.

Аргументы для items

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

lastAddedAt (DateTime!)

The date and time at which this list was created or last had items added to it.

name (String!)

The name of this list.

slug (String!)

The slug of this list.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

user (User!)

The user to which this list belongs.

UserListConnection

Object

The connection type for UserList.

Поля для UserListConnection

Имя.Description

edges ([UserListEdge])

A list of edges.

nodes ([UserList])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

UserListEdge

Object

An edge in a connection.

Поля для UserListEdge

Имя.Description

cursor (String!)

A cursor for use in pagination.

node (UserList)

The item at the end of the edge.

UserListItemsConnection

Object

The connection type for UserListItems.

Поля для UserListItemsConnection

Имя.Description

edges ([UserListItemsEdge])

A list of edges.

nodes ([UserListItems])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

UserListItemsEdge

Object

An edge in a connection.

Поля для UserListItemsEdge

Имя.Description

cursor (String!)

A cursor for use in pagination.

node (UserListItems)

The item at the end of the edge.

UserListSuggestion

Object

Represents a suggested user list.

Поля для UserListSuggestion

Имя.Description

id (ID)

The ID of the suggested user list.

name (String)

The name of the suggested user list.

UserStatus

Object

The user's description of what they're currently doing.

UserStatus Реализует

Поля для UserStatus

Имя.Description

createdAt (DateTime!)

Identifies the date and time when the object was created.

emoji (String)

An emoji summarizing the user's status.

emojiHTML (HTML)

The status emoji as HTML.

expiresAt (DateTime)

If set, the status will not be shown after this date.

id (ID!)

The Node ID of the UserStatus object.

indicatesLimitedAvailability (Boolean!)

Whether this status indicates the user is not fully available on GitHub.

message (String)

A brief message describing what the user is doing.

organization (Organization)

The organization whose members can see this status. If null, this status is publicly visible.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

user (User!)

The user who has this status.

UserStatusConnection

Object

The connection type for UserStatus.

Поля для UserStatusConnection

Имя.Description

edges ([UserStatusEdge])

A list of edges.

nodes ([UserStatus])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

UserStatusEdge

Object

An edge in a connection.

Поля для UserStatusEdge

Имя.Description

cursor (String!)

A cursor for use in pagination.

node (UserStatus)

The item at the end of the edge.

ViewerHovercardContext

Object

A hovercard context with a message describing how the viewer is related.

ViewerHovercardContext Реализует

Поля для ViewerHovercardContext

Имя.Description

message (String!)

A string describing this context.

octicon (String!)

An octicon to accompany this context.

viewer (User!)

Identifies the user who is related to this context.

Interfaces

Actor

Interface

Represents an object which can take actions on GitHub. Typically a User or Bot.

Actor реализуется с помощью

Поля для Actor

Имя.Description

avatarUrl (URI!)

A URL pointing to the actor's public avatar.

Аргументы для avatarUrl

  • size (Int)

    The size of the resulting square image.

login (String!)

The username of the actor.

resourcePath (URI!)

The HTTP path for this actor.

url (URI!)

The HTTP URL for this actor.

Contribution

Interface

Represents a contribution a user made on GitHub, such as opening an issue.

Contribution реализуется с помощью

Поля для Contribution

Имя.Description

isRestricted (Boolean!)

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.

occurredAt (DateTime!)

When this contribution was made.

resourcePath (URI!)

The HTTP path for this contribution.

url (URI!)

The HTTP URL for this contribution.

user (User!)

The user who made this contribution.

HovercardContext

Interface

An individual line of a hovercard.

HovercardContext реализуется с помощью

Поля для HovercardContext

Имя.Description

message (String!)

A string describing this context.

octicon (String!)

An octicon to accompany this context.

MemberStatusable

Interface

Entities that have members who can set status messages.

MemberStatusable реализуется с помощью

Поля для MemberStatusable

Имя.Description

memberStatuses (UserStatusConnection!)

Get the status messages members of this entity have set that are either public or visible only to the organization.

Аргументы для memberStatuses

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (UserStatusOrder)

    Ordering options for user statuses returned from the connection.

ProfileOwner

Interface

Represents any entity on GitHub that has a profile page.

ProfileOwner реализуется с помощью

Поля для ProfileOwner

Имя.Description

anyPinnableItems (Boolean!)

Determine if this repository owner has any items that can be pinned to their profile.

Аргументы для anyPinnableItems

email (String)

The public profile email.

id (ID!)

The Node ID of the ProfileOwner object.

itemShowcase (ProfileItemShowcase!)

Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity.

location (String)

The public profile location.

login (String!)

The username used to login.

name (String)

The public profile name.

pinnableItems (PinnableItemConnection!)

A list of repositories and gists this profile owner can pin to their profile.

Аргументы для pinnableItems

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

pinnedItems (PinnableItemConnection!)

A list of repositories and gists this profile owner has pinned to their profile.

Аргументы для pinnedItems

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

pinnedItemsRemaining (Int!)

Returns how many more items this profile owner can pin to their profile.

viewerCanChangePinnedItems (Boolean!)

Can the viewer pin repositories and gists to the profile?.

websiteUrl (URI)

The public profile website URL.

Enums

ActorType

Enum

The actor's type.

Значения для ActorType

Имя.Description
TEAM

Indicates a team actor.

USER

Indicates a user actor.

ContributionLevel

Enum

Varying levels of contributions from none to many.

Значения для ContributionLevel

Имя.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

Enum

Represents items that can be pinned to a profile page or dashboard.

Значения для PinnableItemType

Имя.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

Enum

Properties by which saved reply connections can be ordered.

Значения для SavedReplyOrderField

Имя.Description
UPDATED_AT

Order saved reply by when they were updated.

SocialAccountProvider

Enum

Software or company that hosts social media accounts.

Значения для SocialAccountProvider

Имя.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

Enum

The possible durations that a user can be blocked for.

Значения для UserBlockDuration

Имя.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

Enum

Properties by which user status connections can be ordered.

Значения для UserStatusOrderField

Имя.Description
UPDATED_AT

Order user statuses by when they were updated.

UserViewType

Enum

Whether a user being viewed contains public or private information.

Значения для UserViewType

Имя.Description
PRIVATE

A user containing information only visible to the authenticated user.

PUBLIC

A user that is publicly visible.

Unions

Claimable

Union

An object which can have its data claimed or claim data from another.

Возможные типы для Claimable

CreatedIssueOrRestrictedContribution

Union

Represents either a issue the viewer can access or a restricted contribution.

Возможные типы для CreatedIssueOrRestrictedContribution

CreatedPullRequestOrRestrictedContribution

Union

Represents either a pull request the viewer can access or a restricted contribution.

Возможные типы для CreatedPullRequestOrRestrictedContribution

CreatedRepositoryOrRestrictedContribution

Union

Represents either a repository the viewer can access or a restricted contribution.

Возможные типы для CreatedRepositoryOrRestrictedContribution

PinnableItem

Union

Types that can be pinned to a profile page.

Возможные типы для PinnableItem

UserListItems

Union

Types that can be added to a user list.

Возможные типы для UserListItems

Input objects

ChangeUserStatusInput

Input object

Autogenerated input type of ChangeUserStatus.

Поля ввода для ChangeUserStatusInput

Имя.Description

clientMutationId (String)

A unique identifier for the client performing the mutation.

emoji (String)

The emoji to represent your status. Can either be a native Unicode emoji or an emoji name with colons, e.g., 😀.

expiresAt (DateTime)

If set, the user status will not be shown after this date.

limitedAvailability (Boolean)

Whether this status should indicate you are not fully available on GitHub, e.g., you are away.

message (String)

A short description of your current status.

organizationId (ID)

The ID of the organization whose members will be allowed to see the status. If omitted, the status will be publicly visible.

ContributionOrder

Input object

Ordering options for contribution connections.

Поля ввода для ContributionOrder

Имя.Description

direction (OrderDirection!)

The ordering direction.

CreateUserListInput

Input object

Autogenerated input type of CreateUserList.

Поля ввода для CreateUserListInput

Имя.Description

clientMutationId (String)

A unique identifier for the client performing the mutation.

description (String)

A description of the list.

isPrivate (Boolean)

Whether or not the list is private.

name (String!)

The name of the new list.

DeleteUserListInput

Input object

Autogenerated input type of DeleteUserList.

Поля ввода для DeleteUserListInput

Имя.Description

clientMutationId (String)

A unique identifier for the client performing the mutation.

listId (ID!)

The ID of the list to delete.

FollowUserInput

Input object

Autogenerated input type of FollowUser.

Поля ввода для FollowUserInput

Имя.Description

clientMutationId (String)

A unique identifier for the client performing the mutation.

userId (ID!)

ID of the user to follow.

SavedReplyOrder

Input object

Ordering options for saved reply connections.

Поля ввода для SavedReplyOrder

Имя.Description

direction (OrderDirection!)

The ordering direction.

field (SavedReplyOrderField!)

The field to order saved replies by.

UnfollowUserInput

Input object

Autogenerated input type of UnfollowUser.

Поля ввода для UnfollowUserInput

Имя.Description

clientMutationId (String)

A unique identifier for the client performing the mutation.

userId (ID!)

ID of the user to unfollow.

UpdateUserListInput

Input object

Autogenerated input type of UpdateUserList.

Поля ввода для UpdateUserListInput

Имя.Description

clientMutationId (String)

A unique identifier for the client performing the mutation.

description (String)

A description of the list.

isPrivate (Boolean)

Whether or not the list is private.

listId (ID!)

The ID of the list to update.

name (String)

The name of the list.

UpdateUserListsForItemInput

Input object

Autogenerated input type of UpdateUserListsForItem.

Поля ввода для UpdateUserListsForItemInput

Имя.Description

clientMutationId (String)

A unique identifier for the client performing the mutation.

itemId (ID!)

The item to add to the list.

listIds ([ID!]!)

The lists to which this item should belong.

suggestedListIds ([ID!])

The suggested lists to create and add this item to.

UserStatusOrder

Input object

Ordering options for user status connections.

Поля ввода для UserStatusOrder

Имя.Description

direction (OrderDirection!)

The ordering direction.

field (UserStatusOrderField!)

The field to order user statuses by.