Queries
user
Lookup a user by login.
Тип: User
Аргументы для user
| Имя. | Description |
|---|---|
| The user's login. |
viewer
The currently authenticated user.
Тип: User!
Mutations
changeUserStatus
Update your status on GitHub.
Поля ввода для changeUserStatus
input(ChangeUserStatusInput!)
Возвращаемые поля для changeUserStatus
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| Your updated status. |
createUserList
Creates a new user list.
Поля ввода для createUserList
input(CreateUserListInput!)
Возвращаемые поля для createUserList
| Имя. | 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.
Поля ввода для deleteUserList
input(DeleteUserListInput!)
Возвращаемые поля для deleteUserList
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The owner of the list that will be deleted. |
followUser
Follow a user.
Поля ввода для followUser
input(FollowUserInput!)
Возвращаемые поля для followUser
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The user that was followed. |
setUserInteractionLimit
Set a user level interaction limit for an user's public repositories.
Поля ввода для setUserInteractionLimit
input(SetUserInteractionLimitInput!)
Возвращаемые поля для setUserInteractionLimit
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The user that the interaction limit was set for. |
unfollowUser
Unfollow a user.
Поля ввода для unfollowUser
input(UnfollowUserInput!)
Возвращаемые поля для unfollowUser
| Имя. | Description |
|---|---|
| A unique identifier for the client performing the mutation. |
| The user that was unfollowed. |
updateUserList
Updates an existing user list.
Поля ввода для updateUserList
input(UpdateUserListInput!)
Возвращаемые поля для updateUserList
| Имя. | 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.
Поля ввода для updateUserListsForItem
input(UpdateUserListsForItemInput!)
Возвращаемые поля для updateUserListsForItem
| Имя. | 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.
Поля для ActorConnection
| Имя. | 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.
Поля для ActorEdge
| Имя. | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
ActorLocation
Location information for an actor.
Поля для ActorLocation
| Имя. | Description |
|---|---|
| City. |
| Country name. |
| Country code. |
| Region name. |
| Region or state code. |
ContributionCalendar
A calendar of contributions made on GitHub by a user.
Поля для ContributionCalendar
| Имя. | 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.
Поля для ContributionCalendarDay
| Имя. | 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.
Поля для ContributionCalendarMonth
| Имя. | 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.
Поля для ContributionCalendarWeek
| Имя. | 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.
Поля для ContributionsCollection
| Имя. | Description |
|---|---|
| Commit contributions made by the user, grouped by repository. Аргументы для
|
| 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. Аргументы для
|
| Issue contributions made by the user, grouped by repository. Аргументы для
|
| 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. Аргументы для
|
| Pull request contributions made by the user, grouped by repository. Аргументы для
|
| Pull request review contributions made by the user. Returns the most recently submitted review for each PR reviewed by the user. Аргументы для
|
| Pull request review contributions made by the user, grouped by repository. Аргументы для
|
| A list of repositories owned by the user that the user created in this time range. Аргументы для
|
| 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. Аргументы для
|
| How many repositories the user created. Аргументы для
|
| The user who made the contributions in this collection. |
CreatedCommitContribution
Represents the contribution a user made by committing to a repository.
CreatedCommitContribution Реализует
Поля для CreatedCommitContribution
| Имя. | 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.
Поля для CreatedCommitContributionConnection
| Имя. | 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.
Поля для CreatedCommitContributionEdge
| Имя. | 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 Реализует
Поля для CreatedIssueContribution
| Имя. | 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.
Поля для CreatedIssueContributionConnection
| Имя. | 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.
Поля для CreatedIssueContributionEdge
| Имя. | 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 Реализует
Поля для CreatedPullRequestContribution
| Имя. | 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.
Поля для CreatedPullRequestContributionConnection
| Имя. | 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.
Поля для CreatedPullRequestContributionEdge
| Имя. | 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 Реализует
Поля для CreatedPullRequestReviewContribution
| Имя. | 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.
Поля для CreatedPullRequestReviewContributionConnection
| Имя. | 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.
Поля для CreatedPullRequestReviewContributionEdge
| Имя. | 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 Реализует
Поля для CreatedRepositoryContribution
| Имя. | 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.
Поля для CreatedRepositoryContributionConnection
| Имя. | 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.
Поля для CreatedRepositoryContributionEdge
| Имя. | Description |
|---|---|
| A cursor for use in pagination. |
The item at the end of the edge. |
EnterpriseAdministratorConnection
The connection type for User.
Поля для EnterpriseAdministratorConnection
| Имя. | 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.
Поля для EnterpriseAdministratorEdge
| Имя. | 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.
Поля для EnterpriseOutsideCollaboratorConnection
| Имя. | 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.
Поля для EnterpriseOutsideCollaboratorEdge
| Имя. | 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. Аргументы для
|
EnterpriseTeamMemberConnection
The connection type for User.
Поля для EnterpriseTeamMemberConnection
| Имя. | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
EnterpriseTeamMemberEdge
Represents a user who is a member of an enterprise team.
Поля для EnterpriseTeamMemberEdge
| Имя. | Description |
|---|---|
| A cursor for use in pagination. |
| N/A |
FollowerConnection
The connection type for User.
Поля для FollowerConnection
| Имя. | 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.
Поля для FollowingConnection
| Имя. | 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 Реализует
Поля для GenericHovercardContext
| Имя. | Description |
|---|---|
| A string describing this context. |
| An octicon to accompany this context. |
Hovercard
Detail needed to display a hovercard for a user.
Поля для Hovercard
| Имя. | Description |
|---|---|
| Each of the contexts for this hovercard. |
JoinedGitHubContribution
Represents a user signing up for a GitHub account.
JoinedGitHubContribution Реализует
Поля для JoinedGitHubContribution
| Имя. | 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.
Поля для OrganizationEnterpriseOwnerConnection
| Имя. | Description |
|---|---|
A list of edges. | |
| A list of nodes. |