About interfaces
Interfaces serve as parent objects from which other objects can inherit.
For example, Lockable is an interface because both Issue and PullRequest objects can be locked. An interface has its own list of named fields that are shared by implementing objects.
For more information, see "Implementation."
Implemented by
Fields
| Name | Description |
|---|---|
|
A URL pointing to the actor's public avatar. Arguments
The size of the resulting square image. |
|
The username of the actor. |
|
The HTTP path for this actor. |
|
The HTTP URL for this actor. |
Implemented by
Fields
| Name | Description |
|---|---|
|
A list of Users assigned to this object. |
Implemented by
-
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
Fields
| Name | Description |
|---|---|
|
The action name. |
|
The user who initiated the action. |
|
The IP address of the actor. |
|
A readable representation of the actor's location. |
|
The username of the user who initiated the action. |
|
The HTTP path for the actor. |
|
The HTTP URL for the actor. |
|
The time the action was initiated. |
|
The corresponding operation type for the action. |
|
The user affected by the action. |
|
For actions involving two users, the actor is the initiator and the user is the affected user. |
|
The HTTP path for the user. |
|
The HTTP URL for the user. |
Implemented by
Fields
| Name | Description |
|---|---|
|
|
|
Identifies the date and time when the object was closed. |
Implemented by
-
CommitComment -
Discussion -
DiscussionComment -
GistComment -
Issue -
IssueComment -
PullRequest -
PullRequestReview -
PullRequestReviewComment -
TeamDiscussion -
TeamDiscussionComment
Fields
| Name | Description |
|---|---|
|
The actor who authored the comment. |
|
Author's association with the subject of the comment. |
|
The body as Markdown. |
|
The body rendered to HTML. |
|
The body rendered to text. |
|
Identifies the date and time when the object was created. |
|
Check if this comment was created via an email reply. |
|
The actor who edited the comment. |
|
Check if this comment was edited and includes an edit with the creation data. |
|
The moment the editor made the last edit. |
|
Identifies when the comment was published at. |
|
Identifies the date and time when the object was last updated. |
|
A list of edits to this content. |
|
Did the viewer author this comment. |
Implemented by
-
CreatedCommitContribution -
CreatedIssueContribution -
CreatedPullRequestContribution -
CreatedPullRequestReviewContribution -
CreatedRepositoryContribution -
JoinedGitHubContribution -
RestrictedContribution
Fields
| Name | Description |
|---|---|
|
Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access. |
|
When this contribution was made. |
|
The HTTP path for this contribution. |
|
The HTTP URL for this contribution. |
|
The user who made this contribution. |
Implemented by
-
CommitComment -
Discussion -
DiscussionComment -
GistComment -
IssueComment -
PullRequestReview -
PullRequestReviewComment -
TeamDiscussion -
TeamDiscussionComment
Fields
| Name | Description |
|---|---|
|
Check if the current viewer can delete this object. |
Implemented by
-
MembersCanDeleteReposClearAuditEntry -
MembersCanDeleteReposDisableAuditEntry -
MembersCanDeleteReposEnableAuditEntry -
OrgInviteToBusinessAuditEntry -
PrivateRepositoryForkingDisableAuditEntry -
PrivateRepositoryForkingEnableAuditEntry -
RepositoryVisibilityChangeDisableAuditEntry -
RepositoryVisibilityChangeEnableAuditEntry
Fields
| Name | Description |
|---|---|
|
The HTTP path for this enterprise. |
|
The slug of the enterprise. |
|
The HTTP URL for this enterprise. |
Implemented by
Fields
| Name | Description |
|---|---|
|
An abbreviated version of the Git object ID. |
|
The HTTP path for this Git object. |
|
The HTTP URL for this Git object. |
|
The Git object ID. |
|
The Repository the Git object belongs to. |
Implemented by
Fields
| Name | Description |
|---|---|
|
Email used to sign this object. |
|
True if the signature is valid and verified by GitHub. |
|
Payload for GPG signing object. Raw ODB object without the signature header. |
|
ASCII-armored signature header from object. |
|
GitHub user corresponding to the email signing this commit. |
|
The state of this signature. |
|
True if the signature was made with GitHub's signing key. |
Implemented by
-
GenericHovercardContext -
OrganizationTeamsHovercardContext -
OrganizationsHovercardContext -
ReviewStatusHovercardContext -
ViewerHovercardContext
Fields
| Name | Description |
|---|---|
|
A string describing this context. |
|
An octicon to accompany this context. |
Implemented by
Fields
| Name | Description |
|---|---|
|
A list of labels associated with the object. Arguments
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
Ordering options for labels returned from the connection. |
Implemented by
Fields
| Name | Description |
|---|---|
|
Reason that the conversation was locked. |
|
|
Implemented by
Fields
| Name | Description |
|---|---|
|
Get the status messages members of this entity have set that are either public or visible only to the organization. Arguments
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
Ordering options for user statuses returned from the connection. |
Implemented by
Fields
| Name | Description |
|---|---|
|
Returns whether or not a comment has been minimized. |
|
Returns why the comment was minimized. |
|
Check if the current viewer can minimize this object. |
Implemented by
-
AddedToProjectEvent -
App -
AssignedEvent -
AutoMergeDisabledEvent -
AutoMergeEnabledEvent -
AutoRebaseEnabledEvent -
AutoSquashEnabledEvent -
AutomaticBaseChangeFailedEvent -
AutomaticBaseChangeSucceededEvent -
BaseRefChangedEvent -
BaseRefDeletedEvent -
BaseRefForcePushedEvent -
Blob -
Bot -
BranchProtectionRule -
CWE -
CheckRun -
CheckSuite -
ClosedEvent -
CodeOfConduct -
CommentDeletedEvent -
Commit -
CommitComment -
CommitCommentThread -
ConnectedEvent -
ConvertToDraftEvent -
ConvertedNoteToIssueEvent -
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 -
Milestone -
MilestonedEvent -
MovedColumnsInProjectEvent -
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 -
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 -
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
Fields
| Name | Description |
|---|---|
|
ID of the object. |
Implemented by
-
OauthApplicationCreateAuditEntry -
OrgOauthAppAccessApprovedAuditEntry -
OrgOauthAppAccessDeniedAuditEntry -
OrgOauthAppAccessRequestedAuditEntry
Fields
| Name | Description |
|---|---|
|
The name of the OAuth Application. |
|
The HTTP path for the OAuth Application. |
|
The HTTP URL for the OAuth Application. |
Implemented by
-
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
Fields
| Name | Description |
|---|---|
|
The Organization associated with the Audit Entry. |
|
The name of the Organization. |
|
The HTTP path for the organization. |
|
The HTTP URL for the organization. |
Implemented by
Fields
| Name | Description |
|---|---|
|
A list of packages under the owner. Arguments
Returns the elements in the list that come after the specified curso |