Interfaces serve as parent objects from which other objects can inherit.
Represents an object which can take actions on GitHub. Typically a User or Bot.
Name | Description | ||
---|---|---|---|
avatarUrl (URI!) |
A URL pointing to the actor’s public avatar.
|
||
login (String!) | The username of the actor. |
||
resourcePath (URI!) | The HTTP path for this actor. |
||
url (URI!) | The HTTP URL for this actor. |
An object that can have users assigned to it.
Name | Description | |||||
---|---|---|---|---|---|---|
assignees (UserConnection!) |
A list of Users assigned to this object.
|
An entry in the audit log.
- MembersCanDeleteReposClearAuditEntry
- MembersCanDeleteReposDisableAuditEntry
- MembersCanDeleteReposEnableAuditEntry
- OauthApplicationCreateAuditEntry
- OrgAddBillingManagerAuditEntry
- OrgAddMemberAuditEntry
- OrgBlockUserAuditEntry
- OrgConfigDisableCollaboratorsOnlyAuditEntry
- OrgConfigEnableCollaboratorsOnlyAuditEntry
- OrgCreateAuditEntry
- OrgDisableOauthAppRestrictionsAuditEntry
- OrgDisableSamlAuditEntry
- OrgDisableTwoFactorRequirementAuditEntry
- OrgEnableOauthAppRestrictionsAuditEntry
- OrgEnableSamlAuditEntry
- OrgEnableTwoFactorRequirementAuditEntry
- OrgInviteMemberAuditEntry
- OrgInviteToBusinessAuditEntry
- OrgOauthAppAccessApprovedAuditEntry
- OrgOauthAppAccessDeniedAuditEntry
- OrgOauthAppAccessRequestedAuditEntry
- OrgRemoveBillingManagerAuditEntry
- OrgRemoveMemberAuditEntry
- OrgRemoveOutsideCollaboratorAuditEntry
- OrgRestoreMemberAuditEntry
- OrgUnblockUserAuditEntry
- OrgUpdateDefaultRepositoryPermissionAuditEntry
- OrgUpdateMemberAuditEntry
- OrgUpdateMemberRepositoryCreationPermissionAuditEntry
- OrgUpdateMemberRepositoryInvitationPermissionAuditEntry
- PrivateRepositoryForkingDisableAuditEntry
- PrivateRepositoryForkingEnableAuditEntry
- RepoAccessAuditEntry
- RepoAddMemberAuditEntry
- RepoAddTopicAuditEntry
- RepoArchivedAuditEntry
- RepoChangeMergeSettingAuditEntry
- RepoConfigDisableAnonymousGitAccessAuditEntry
- RepoConfigDisableCollaboratorsOnlyAuditEntry
- RepoConfigDisableContributorsOnlyAuditEntry
- RepoConfigDisableSockpuppetDisallowedAuditEntry
- RepoConfigEnableAnonymousGitAccessAuditEntry
- RepoConfigEnableCollaboratorsOnlyAuditEntry
- RepoConfigEnableContributorsOnlyAuditEntry
- RepoConfigEnableSockpuppetDisallowedAuditEntry
- RepoConfigLockAnonymousGitAccessAuditEntry
- RepoConfigUnlockAnonymousGitAccessAuditEntry
- RepoCreateAuditEntry
- RepoDestroyAuditEntry
- RepoRemoveMemberAuditEntry
- RepoRemoveTopicAuditEntry
- RepositoryVisibilityChangeDisableAuditEntry
- RepositoryVisibilityChangeEnableAuditEntry
- TeamAddMemberAuditEntry
- TeamAddRepositoryAuditEntry
- TeamChangeParentTeamAuditEntry
- TeamRemoveMemberAuditEntry
- TeamRemoveRepositoryAuditEntry
Name | Description |
---|---|
action (String!) | The action name |
actor (AuditEntryActor) | The user who initiated the action |
actorIp (String) | The IP address of the actor |
actorLocation (ActorLocation) | A readable representation of the actor’s location |
actorLogin (String) | The username of the user who initiated the action |
actorResourcePath (URI) | The HTTP path for the actor. |
actorUrl (URI) | The HTTP URL for the actor. |
createdAt (PreciseDateTime!) | The time the action was initiated |
operationType (OperationType) | The corresponding operation type for the action |
user (User) | The user affected by the action |
userLogin (String) | For actions involving two users, the actor is the initiator and the user is the affected user. |
userResourcePath (URI) | The HTTP path for the user. |
userUrl (URI) | The HTTP URL for the user. |
An object that can be closed
Name | Description |
---|---|
closed (Boolean!) |
|
closedAt (DateTime) | Identifies the date and time when the object was closed. |
Represents a comment.
- CommitComment
- Discussion
- DiscussionComment
- GistComment
- Issue
- IssueComment
- PullRequest
- PullRequestReview
- PullRequestReviewComment
- TeamDiscussion
- TeamDiscussionComment
Name | Description | |||||
---|---|---|---|---|---|---|
author (Actor) | The actor who authored the comment. |
|||||
authorAssociation (CommentAuthorAssociation!) | Author’s association with the subject of the comment. |
|||||
body (String!) | The body as Markdown. |
|||||
bodyHTML (HTML!) | The body rendered to HTML. |
|||||
bodyText (String!) | The body rendered to text. |
|||||
createdAt (DateTime!) | Identifies the date and time when the object was created. |
|||||
createdViaEmail (Boolean!) | Check if this comment was created via an email reply. |
|||||
editor (Actor) | The actor who edited the comment. |
|||||
id (ID!) | ||||||
includesCreatedEdit (Boolean!) | Check if this comment was edited and includes an edit with the creation data |
|||||
lastEditedAt (DateTime) | The moment the editor made the last edit |
|||||
publishedAt (DateTime) | Identifies when the comment was published at. |
|||||
updatedAt (DateTime!) | Identifies the date and time when the object was last updated. |
|||||
userContentEdits (UserContentEditConnection) |
A list of edits to this content.
|
|||||
viewerDidAuthor (Boolean!) | Did the viewer author this comment. |
Represents a contribution a user made on GitHub, such as opening an issue.
- CreatedCommitContribution
- CreatedIssueContribution
- CreatedPullRequestContribution
- CreatedPullRequestReviewContribution
- CreatedRepositoryContribution
- JoinedGitHubContribution
- RestrictedContribution
Name | 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. |
Entities that can be deleted.
- CommitComment
- Discussion
- DiscussionComment
- GistComment
- IssueComment
- PullRequestReview
- PullRequestReviewComment
- TeamDiscussion
- TeamDiscussionComment
Name | Description |
---|---|
viewerCanDelete (Boolean!) | Check if the current viewer can delete this object. |
Metadata for an audit entry containing enterprise account information.
- MembersCanDeleteReposClearAuditEntry
- MembersCanDeleteReposDisableAuditEntry
- MembersCanDeleteReposEnableAuditEntry
- OrgInviteToBusinessAuditEntry
- PrivateRepositoryForkingDisableAuditEntry
- PrivateRepositoryForkingEnableAuditEntry
- RepositoryVisibilityChangeDisableAuditEntry
- RepositoryVisibilityChangeEnableAuditEntry
Name | Description |
---|---|
enterpriseResourcePath (URI) | The HTTP path for this enterprise. |
enterpriseSlug (String) | The slug of the enterprise. |
enterpriseUrl (URI) | The HTTP URL for this enterprise. |
Represents a Git object.
Name | Description |
---|---|
abbreviatedOid (String!) | An abbreviated version of the Git object ID |
commitResourcePath (URI!) | The HTTP path for this Git object |
commitUrl (URI!) | The HTTP URL for this Git object |
id (ID!) | |
oid (GitObjectID!) | The Git object ID |
repository (Repository!) | The Repository the Git object belongs to |
Information about a signature (GPG or S/MIME) on a Commit or Tag.
Name | Description |
---|---|
email (String!) | Email used to sign this object. |
isValid (Boolean!) | True if the signature is valid and verified by GitHub. |
payload (String!) | Payload for GPG signing object. Raw ODB object without the signature header. |
signature (String!) | ASCII-armored signature header from object. |
signer (User) | GitHub user corresponding to the email signing this commit. |
state (GitSignatureState!) | The state of this signature. |
wasSignedByGitHub (Boolean!) | True if the signature was made with GitHub’s signing key. |
An individual line of a hovercard
- GenericHovercardContext
- OrganizationTeamsHovercardContext
- OrganizationsHovercardContext
- ReviewStatusHovercardContext
- ViewerHovercardContext
Name | Description |
---|---|
message (String!) | A string describing this context |
octicon (String!) | An octicon to accompany this context |
An object that can have labels assigned to it.
Name | Description | ||||||
---|---|---|---|---|---|---|---|
labels (LabelConnection) |
A list of labels associated with the object.
|
An object that can be locked.
Name | Description |
---|---|
activeLockReason (LockReason) | Reason that the conversation was locked. |
locked (Boolean!) |
|
Entities that have members who can set status messages.
Name | Description | ||||||
---|---|---|---|---|---|---|---|
memberStatuses (UserStatusConnection!) |
Get the status messages members of this entity have set that are either public or visible only to the organization.
|
Represents an Octoshift migration.
Name | Description |
---|---|
continueOnError (Boolean!) | The Octoshift migration flag to continue on error. |
createdAt (DateTime!) | Identifies the date and time when the object was created. |
failureReason (String) | The reason the migration failed. |
id (ID!) | |
migrationSource (MigrationSource!) | The Octoshift migration source. |
sourceUrl (URI!) | The Octoshift migration source URL. |
state (MigrationState!) | The Octoshift migration state. |
Entities that can be minimized.
Name | Description |
---|---|
isMinimized (Boolean!) | Returns whether or not a comment has been minimized. |
minimizedReason (String) | Returns why the comment was minimized. |
viewerCanMinimize (Boolean!) | Check if the current viewer can minimize this object. |
An object with an ID.
- AddedToProjectEvent
- App
- AssignedEvent
- AutoMergeDisabledEvent
- AutoMergeEnabledEvent
- AutoRebaseEnabledEvent
- AutoSquashEnabledEvent
- AutomaticBaseChangeFailedEvent
- AutomaticBaseChangeSucceededEvent
- BaseRefChangedEvent
- BaseRefDeletedEvent
- BaseRefForcePushedEvent
- Blob
- Bot
- BranchProtectionRule
- BypassForcePushAllowance
- BypassPullRequestAllowance
- CWE
- CheckRun
- CheckSuite
- ClosedEvent
- CodeOfConduct
- CommentDeletedEvent
- Commit
- CommitComment
- CommitCommentThread
- ConnectedEvent
- ConvertToDraftEvent
- ConvertedNoteToIssueEvent
- ConvertedToDiscussionEvent
- CrossReferencedEvent
- DemilestonedEvent
- DependencyGraphManifest
- DeployKey
- DeployedEvent
- Deployment
- DeploymentEnvironmentChangedEvent
- DeploymentReview
- DeploymentStatus
- DisconnectedEvent
- Discussion
- DiscussionCategory
- DiscussionComment
- Enterprise
- EnterpriseAdministratorInvitation
- EnterpriseIdentityProvider
- EnterpriseRepositoryInfo
- EnterpriseServerInstallation
- EnterpriseServerUserAccount
- EnterpriseServerUserAccountEmail
- EnterpriseServerUserAccountsUpload
- EnterpriseUserAccount
- Environment
- ExternalIdentity
- Gist
- GistComment
- HeadRefDeletedEvent
- HeadRefForcePushedEvent
- HeadRefRestoredEvent
- IpAllowListEntry
- Issue
- IssueComment
- Label
- LabeledEvent
- Language
- License
- LockedEvent
- Mannequin
- MarkedAsDuplicateEvent
- MarketplaceCategory
- MarketplaceListing
- MembersCanDeleteReposClearAuditEntry
- MembersCanDeleteReposDisableAuditEntry
- MembersCanDeleteReposEnableAuditEntry
- MentionedEvent
- MergedEvent
- MigrationSource
- Milestone
- MilestonedEvent
- MovedColumnsInProjectEvent
- OIDCProvider
- OauthApplicationCreateAuditEntry
- OrgAddBillingManagerAuditEntry
- OrgAddMemberAuditEntry
- OrgBlockUserAuditEntry
- OrgConfigDisableCollaboratorsOnlyAuditEntry
- OrgConfigEnableCollaboratorsOnlyAuditEntry
- OrgCreateAuditEntry
- OrgDisableOauthAppRestrictionsAuditEntry
- OrgDisableSamlAuditEntry
- OrgDisableTwoFactorRequirementAuditEntry
- OrgEnableOauthAppRestrictionsAuditEntry
- OrgEnableSamlAuditEntry
- OrgEnableTwoFactorRequirementAuditEntry
- OrgInviteMemberAuditEntry
- OrgInviteToBusinessAuditEntry
- OrgOauthAppAccessApprovedAuditEntry
- OrgOauthAppAccessDeniedAuditEntry
- OrgOauthAppAccessRequestedAuditEntry
- OrgRemoveBillingManagerAuditEntry
- OrgRemoveMemberAuditEntry
- OrgRemoveOutsideCollaboratorAuditEntry
- OrgRestoreMemberAuditEntry
- OrgUnblockUserAuditEntry
- OrgUpdateDefaultRepositoryPermissionAuditEntry
- OrgUpdateMemberAuditEntry
- OrgUpdateMemberRepositoryCreationPermissionAuditEntry
- OrgUpdateMemberRepositoryInvitationPermissionAuditEntry
- Organization
- OrganizationIdentityProvider
- OrganizationInvitation
- Package
- PackageFile
- PackageTag
- PackageVersion
- PinnedDiscussion
- PinnedEvent
- PinnedIssue
- PrivateRepositoryForkingDisableAuditEntry
- PrivateRepositoryForkingEnableAuditEntry
- Project
- ProjectCard
- ProjectColumn
- ProjectNext
- ProjectNextItem
- ProjectNextItemFieldValue
- PublicKey
- PullRequest
- PullRequestCommit
- PullRequestCommitCommentThread
- PullRequestReview
- PullRequestReviewComment
- PullRequestReviewThread
- Push
- PushAllowance
- Reaction
- ReadyForReviewEvent
- Ref
- ReferencedEvent
- Release
- ReleaseAsset
- RemovedFromProjectEvent
- RenamedTitleEvent
- ReopenedEvent
- RepoAccessAuditEntry
- RepoAddMemberAuditEntry
- RepoAddTopicAuditEntry
- RepoArchivedAuditEntry
- RepoChangeMergeSettingAuditEntry
- RepoConfigDisableAnonymousGitAccessAuditEntry
- RepoConfigDisableCollaboratorsOnlyAuditEntry
- RepoConfigDisableContributorsOnlyAuditEntry
- RepoConfigDisableSockpuppetDisallowedAuditEntry
- RepoConfigEnableAnonymousGitAccessAuditEntry
- RepoConfigEnableCollaboratorsOnlyAuditEntry
- RepoConfigEnableContributorsOnlyAuditEntry
- RepoConfigEnableSockpuppetDisallowedAuditEntry
- RepoConfigLockAnonymousGitAccessAuditEntry
- RepoConfigUnlockAnonymousGitAccessAuditEntry
- RepoCreateAuditEntry
- RepoDestroyAuditEntry
- RepoRemoveMemberAuditEntry
- RepoRemoveTopicAuditEntry
- Repository
- RepositoryInvitation
- RepositoryMigration
- RepositoryTopic
- RepositoryVisibilityChangeDisableAuditEntry
- RepositoryVisibilityChangeEnableAuditEntry
- RepositoryVulnerabilityAlert
- ReviewDismissalAllowance
- ReviewDismissedEvent
- ReviewRequest
- ReviewRequestRemovedEvent
- ReviewRequestedEvent
- SavedReply
- SecurityAdvisory
- SponsorsActivity
- SponsorsListing
- SponsorsTier
- Sponsorship
- SponsorshipNewsletter
- Status
- StatusCheckRollup
- StatusContext
- SubscribedEvent
- Tag
- Team
- TeamAddMemberAuditEntry
- TeamAddRepositoryAuditEntry
- TeamChangeParentTeamAuditEntry
- TeamDiscussion
- TeamDiscussionComment
- TeamRemoveMemberAuditEntry
- TeamRemoveRepositoryAuditEntry
- Topic
- TransferredEvent
- Tree
- UnassignedEvent
- UnlabeledEvent
- UnlockedEvent
- UnmarkedAsDuplicateEvent
- UnpinnedEvent
- UnsubscribedEvent
- User
- UserBlockedEvent
- UserContentEdit
- UserStatus
- VerifiableDomain
- Workflow
- WorkflowRun
Name | Description |
---|---|
id (ID!) | ID of the object. |
Metadata for an audit entry with action oauth_application.*
- OauthApplicationCreateAuditEntry
- OrgOauthAppAccessApprovedAuditEntry
- OrgOauthAppAccessDeniedAuditEntry
- OrgOauthAppAccessRequestedAuditEntry
Name | Description |
---|---|
oauthApplicationName (String) | The name of the OAuth Application. |
oauthApplicationResourcePath (URI) | The HTTP path for the OAuth Application |
oauthApplicationUrl (URI) | The HTTP URL for the OAuth Application |
Metadata for an audit entry with action org.*
- MembersCanDeleteReposClearAuditEntry
- MembersCanDeleteReposDisableAuditEntry
- MembersCanDeleteReposEnableAuditEntry
- OauthApplicationCreateAuditEntry
- OrgAddBillingManagerAuditEntry
- OrgAddMemberAuditEntry
- OrgBlockUserAuditEntry
- OrgConfigDisableCollaboratorsOnlyAuditEntry
- OrgConfigEnableCollaboratorsOnlyAuditEntry
- OrgCreateAuditEntry
- OrgDisableOauthAppRestrictionsAuditEntry
- OrgDisableSamlAuditEntry
- OrgDisableTwoFactorRequirementAuditEntry
- OrgEnableOauthAppRestrictionsAuditEntry
- OrgEnableSamlAuditEntry
- OrgEnableTwoFactorRequirementAuditEntry
- OrgInviteMemberAuditEntry
- OrgInviteToBusinessAuditEntry
- OrgOauthAppAccessApprovedAuditEntry
- OrgOauthAppAccessDeniedAuditEntry
- OrgOauthAppAccessRequestedAuditEntry
- OrgRemoveBillingManagerAuditEntry
- OrgRemoveMemberAuditEntry
- OrgRemoveOutsideCollaboratorAuditEntry
- OrgRestoreMemberAuditEntry
- OrgRestoreMemberMembershipOrganizationAuditEntryData
- OrgUnblockUserAuditEntry
- OrgUpdateDefaultRepositoryPermissionAuditEntry
- OrgUpdateMemberAuditEntry
- OrgUpdateMemberRepositoryCreationPermissionAuditEntry
- OrgUpdateMemberRepositoryInvitationPermissionAuditEntry
- PrivateRepositoryForkingDisableAuditEntry
- PrivateRepositoryForkingEnableAuditEntry
- RepoAccessAuditEntry
- RepoAddMemberAuditEntry
- RepoAddTopicAuditEntry
- RepoArchivedAuditEntry
- RepoChangeMergeSettingAuditEntry
- RepoConfigDisableAnonymousGitAccessAuditEntry
- RepoConfigDisableCollaboratorsOnlyAuditEntry
- RepoConfigDisableContributorsOnlyAuditEntry
- RepoConfigDisableSockpuppetDisallowedAuditEntry
- RepoConfigEnableAnonymousGitAccessAuditEntry
- RepoConfigEnableCollaboratorsOnlyAuditEntry
- RepoConfigEnableContributorsOnlyAuditEntry
- RepoConfigEnableSockpuppetDisallowedAuditEntry
- RepoConfigLockAnonymousGitAccessAuditEntry
- RepoConfigUnlockAnonymousGitAccessAuditEntry
- RepoCreateAuditEntry
- RepoDestroyAuditEntry
- RepoRemoveMemberAuditEntry
- RepoRemoveTopicAuditEntry
- RepositoryVisibilityChangeDisableAuditEntry
- RepositoryVisibilityChangeEnableAuditEntry
- TeamAddMemberAuditEntry
- TeamAddRepositoryAuditEntry
- TeamChangeParentTeamAuditEntry
- TeamRemoveMemberAuditEntry
- TeamRemoveRepositoryAuditEntry
Name | Description |
---|---|
organization (Organization) | The Organization associated with the Audit Entry. |
organizationName (String) | The name of the Organization. |
organizationResourcePath (URI) | The HTTP path for the organization |
organizationUrl (URI) | The HTTP URL for the organization |
Represents an owner of a package.
Name | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
id (ID!) | ||||||||||
packages (PackageConnection!) |
A list of packages under the owner.
|
Represents any entity on GitHub that has a profile page.
Name | Description | ||||||
---|---|---|---|---|---|---|---|
anyPinnableItems (Boolean!) |
Determine if this repository owner has any items that can be pinned to their profile.
|
||||||
email (String) | The public profile email. |
||||||
id (ID!) | |||||||
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.
|
||||||
pinnedItems (PinnableItemConnection!) |
A list of repositories and gists this profile owner has pinned to their profile
|
||||||
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. |
Represents an owner of a project (beta).
Name | Description | |||||||
---|---|---|---|---|---|---|---|---|
id (ID!) | ||||||||
projectNext (ProjectNext) |
Find a project by project (beta) number.
|
|||||||
projectsNext (ProjectNextConnection!) |
A list of projects (beta) under the owner.
|
Represents an owner of a Project.
Name | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
id (ID!) | |||||||||
project (Project) |
Find project by number.
|
||||||||
projects (ProjectConnection!) |
A list of projects under the owner.
|
||||||||
projectsResourcePath (URI!) | The HTTP path listing owners projects |
||||||||
projectsUrl (URI!) | The HTTP URL listing owners projects |
||||||||
viewerCanCreateProjects (Boolean!) | Can the current viewer create new projects on this owner. |
Represents a subject that can be reacted on.
- CommitComment
- Discussion
- DiscussionComment
- Issue
- IssueComment
- PullRequest
- PullRequestReview
- PullRequestReviewComment
- Release
- TeamDiscussion
- TeamDiscussionComment
Name | Description | |||||||
---|---|---|---|---|---|---|---|---|
databaseId (Int) | Identifies the primary key from the database. |
|||||||
id (ID!) | ||||||||
reactionGroups ([ReactionGroup!]) | A list of reactions grouped by content left on the subject. |
|||||||
reactions (ReactionConnection!) |
A list of Reactions left on the Issue.
|
|||||||
viewerCanReact (Boolean!) | Can user react to this subject |
Metadata for an audit entry with action repo.*
- OrgRestoreMemberMembershipRepositoryAuditEntryData
- PrivateRepositoryForkingDisableAuditEntry
- PrivateRepositoryForkingEnableAuditEntry
- RepoAccessAuditEntry
- RepoAddMemberAuditEntry
- RepoAddTopicAuditEntry
- RepoArchivedAuditEntry
- RepoChangeMergeSettingAuditEntry
- RepoConfigDisableAnonymousGitAccessAuditEntry
- RepoConfigDisableCollaboratorsOnlyAuditEntry
- RepoConfigDisableContributorsOnlyAuditEntry
- RepoConfigDisableSockpuppetDisallowedAuditEntry
- RepoConfigEnableAnonymousGitAccessAuditEntry
- RepoConfigEnableCollaboratorsOnlyAuditEntry
- RepoConfigEnableContributorsOnlyAuditEntry
- RepoConfigEnableSockpuppetDisallowedAuditEntry
- RepoConfigLockAnonymousGitAccessAuditEntry
- RepoConfigUnlockAnonymousGitAccessAuditEntry
- RepoCreateAuditEntry
- RepoDestroyAuditEntry
- RepoRemoveMemberAuditEntry
- RepoRemoveTopicAuditEntry
- TeamAddRepositoryAuditEntry
- TeamRemoveRepositoryAuditEntry
Name | Description |
---|---|
repository (Repository) | The repository associated with the action |
repositoryName (String) | The name of the repository |
repositoryResourcePath (URI) | The HTTP path for the repository |
repositoryUrl (URI) | The HTTP URL for the repository |
Represents an author of discussions in repositories.
Name | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
repositoryDiscussions (DiscussionConnection!) |
Discussions this user has started.
|
Represents an author of discussion comments in repositories.
Name | Description | |||||||
---|---|---|---|---|---|---|---|---|
repositoryDiscussionComments (DiscussionCommentConnection!) |
Discussion comments this user has authored.
|
A subset of repository info.
Name | Description | ||
---|---|---|---|
createdAt (DateTime!) | Identifies the date and time when the object was created. |
||
description (String) | The description of the repository. |
||
descriptionHTML (HTML!) | The description of the repository rendered to HTML. |
||
forkCount (Int!) | Returns how many forks there are of this repository in the whole network. |
||
hasIssuesEnabled (Boolean!) | Indicates if the repository has issues feature enabled. |
||
hasProjectsEnabled (Boolean!) | Indicates if the repository has the Projects feature enabled. |
||
hasWikiEnabled (Boolean!) | Indicates if the repository has wiki feature enabled. |
||
homepageUrl (URI) | The repository’s URL. |
||
isArchived (Boolean!) | Indicates if the repository is unmaintained. |
||
isFork (Boolean!) | Identifies if the repository is a fork. |
||
isInOrganization (Boolean!) | Indicates if a repository is either owned by an organization, or is a private fork of an organization repository. |
||
isLocked (Boolean!) | Indicates if the repository has been locked or not. |
||
isMirror (Boolean!) | Identifies if the repository is a mirror. |
||
isPrivate (Boolean!) | Identifies if the repository is private or internal. |
||
isTemplate (Boolean!) | Identifies if the repository is a template that can be used to generate new repositories. |
||
licenseInfo (License) | The license associated with the repository |
||
lockReason (RepositoryLockReason) | The reason the repository has been locked. |
||
mirrorUrl (URI) | The repository’s original mirror URL. |
||
name (String!) | The name of the repository. |
||
nameWithOwner (String!) | The repository’s name with owner. |
||
openGraphImageUrl (URI!) | The image used to represent this repository in Open Graph data. |
||
owner (RepositoryOwner!) | The User owner of the repository. |
||
pushedAt (DateTime) | Identifies when the repository was last pushed to. |
||
resourcePath (URI!) | The HTTP path for this repository |
||
shortDescriptionHTML (HTML!) |
A description of the repository, rendered to HTML without any links in it.
|
||
updatedAt (DateTime!) | Identifies the date and time when the object was last updated. |
||
url (URI!) | The HTTP URL for this repository |
||
usesCustomOpenGraphImage (Boolean!) | Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner’s avatar. |
||
visibility (RepositoryVisibility!) | Indicates the repository’s visibility level. |
Represents a object that belongs to a repository.
- CommitComment
- CommitCommentThread
- Discussion
- DiscussionCategory
- Issue
- IssueComment
- PinnedDiscussion
- PullRequest
- PullRequestCommitCommentThread
- PullRequestReview
- PullRequestReviewComment
- RepositoryVulnerabilityAlert
Name | Description |
---|---|
repository (Repository!) | The repository associated with this node. |
Represents an owner of a Repository.
Name | Description | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
avatarUrl (URI!) |
A URL pointing to the owner’s public avatar.
|
|||||||||||
id (ID!) | ||||||||||||
login (String!) | The username used to login. |
|||||||||||
repositories (RepositoryConnection!) |
A list of repositories that the user owns.
|
|||||||||||
repository (Repository) |
Find Repository.
|
|||||||||||
resourcePath (URI!) | The HTTP URL for the owner. |
|||||||||||
url (URI!) | The HTTP URL for the owner. |
Represents a type that can be required by a pull request for merging.
Name | Description | |||
---|---|---|---|---|
isRequired (Boolean!) |
Whether this is required to pass before merging for a specific pull request.
|
Entities that can be sponsored through GitHub Sponsors
Name | Description | |||||||
---|---|---|---|---|---|---|---|---|
estimatedNextSponsorsPayoutInCents (Int!) | The estimated next GitHub Sponsors payout for this user/organization in cents (USD). |
|||||||
hasSponsorsListing (Boolean!) | True if this user/organization has a GitHub Sponsors listing. |
|||||||
isSponsoredBy (Boolean!) |
Check if the given account is sponsoring this user/organization.
|
|||||||
isSponsoringViewer (Boolean!) | True if the viewer is sponsored by this user/organization. |
|||||||
monthlyEstimatedSponsorsIncomeInCents (Int!) | The estimated monthly GitHub Sponsors income for this user/organization in cents (USD). |
|||||||
sponsoring (SponsorConnection!) |
List of users and organizations this entity is sponsoring.
|
|||||||
sponsors (SponsorConnection!) |
List of sponsors for this user or organization.
|
|||||||
sponsorsActivities (SponsorsActivityConnection!) |
Events involving this sponsorable, such as new sponsorships.
|
|||||||
sponsorsListing (SponsorsListing) | The GitHub Sponsors listing for this user or organization. |
|||||||
sponsorshipForViewerAsSponsor (Sponsorship) | The sponsorship from the viewer to this user/organization; that is, the sponsorship where you’re the sponsor. Only returns a sponsorship if it is active. |
|||||||
sponsorshipForViewerAsSponsorable (Sponsorship) | The sponsorship from this user/organization to the viewer; that is, the sponsorship you’re receiving. Only returns a sponsorship if it is active. |
|||||||
sponsorshipNewsletters (SponsorshipNewsletterConnection!) |
List of sponsorship updates sent from this sponsorable to sponsors.
|
|||||||
sponsorshipsAsMaintainer (SponsorshipConnection!) |
This object’s sponsorships as the maintainer.
|
|||||||
sponsorshipsAsSponsor (SponsorshipConnection!) |
This object’s sponsorships as the sponsor.
|
|||||||
viewerCanSponsor (Boolean!) | Whether or not the viewer is able to sponsor this user/organization. |
|||||||
viewerIsSponsoring (Boolean!) | True if the viewer is sponsoring this user/organization. |
Things that can be starred.
Name | Description | ||||||
---|---|---|---|---|---|---|---|
id (ID!) | |||||||
stargazerCount (Int!) | Returns a count of how many stargazers there are on this object |
||||||
stargazers (StargazerConnection!) |
A list of users who have starred this starrable.
|
||||||
viewerHasStarred (Boolean!) | Returns a boolean indicating whether the viewing user has starred this starrable. |
Entities that can be subscribed to for web and email notifications.
Name | Description |
---|---|
id (ID!) | |
viewerCanSubscribe (Boolean!) | Check if the viewer is able to change their subscription status for the repository. |
viewerSubscription (SubscriptionState) | Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. |
Metadata for an audit entry with action team.*
- OrgRestoreMemberMembershipTeamAuditEntryData
- TeamAddMemberAuditEntry
- TeamAddRepositoryAuditEntry
- TeamChangeParentTeamAuditEntry
- TeamRemoveMemberAuditEntry
- TeamRemoveRepositoryAuditEntry
Name | Description |
---|---|
team (Team) | The team associated with the action |
teamName (String) | The name of the team |
teamResourcePath (URI) | The HTTP path for this team |
teamUrl (URI) | The HTTP URL for this team |
Metadata for an audit entry with a topic.
Name | Description |
---|---|
topic (Topic) | The name of the topic added to the repository |
topicName (String) | The name of the topic added to the repository |
Represents a type that can be retrieved by a URL.
- Bot
- CheckRun
- ClosedEvent
- Commit
- ConvertToDraftEvent
- CrossReferencedEvent
- Gist
- Issue
- Mannequin
- MergedEvent
- Milestone
- Organization
- PullRequest
- PullRequestCommit
- ReadyForReviewEvent
- Release
- Repository
- RepositoryTopic
- ReviewDismissedEvent
- TeamDiscussion
- TeamDiscussionComment
- User
Name | Description |
---|---|
resourcePath (URI!) | The HTML path to this resource. |
url (URI!) | The URL to this resource. |
Entities that can be updated.
- CommitComment
- Discussion
- DiscussionComment
- GistComment
- Issue
- IssueComment
- Project
- ProjectNext
- PullRequest
- PullRequestReview
- PullRequestReviewComment
- TeamDiscussion
- TeamDiscussionComment
Name | Description |
---|---|
viewerCanUpdate (Boolean!) | Check if the current viewer can update this object. |
Comments that can be updated.
- CommitComment
- DiscussionComment
- GistComment
- Issue
- IssueComment
- PullRequest
- PullRequestReview
- PullRequestReviewComment
- TeamDiscussion
- TeamDiscussionComment
Name | Description |
---|---|
viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!) | Reasons why the current viewer can not update this comment. |
A subject that may be upvoted.
Name | Description |
---|---|
upvoteCount (Int!) | Number of upvotes that this subject has received. |
viewerCanUpvote (Boolean!) | Whether or not the current user can add or remove an upvote on this subject. |
viewerHasUpvoted (Boolean!) | Whether or not the current user has already upvoted this subject. |