Queries
codeOfConduct
Look up a code of conduct by its key.
Tipo: CodeOfConduct
Argumentos para codeOfConduct
| Nome | Descrição |
|---|---|
| The code of conduct's key. |
codesOfConduct
Look up a code of conduct by its key.
Tipo: [CodeOfConduct]
meta
Return information about the GitHub instance.
Tipo: GitHubMetadata!
node
Fetches an object given its ID.
Tipo: Node
Argumentos para node
| Nome | Descrição |
|---|---|
| ID of the object. |
nodes
Lookup nodes by a list of IDs.
Tipo: [Node]!
Argumentos para nodes
| Nome | Descrição |
|---|---|
| The list of node IDs. |
rateLimit
The client's rate limit information.
Tipo: RateLimit
Argumentos para rateLimit
| Nome | Descrição |
|---|---|
| If true, calculate the cost for the query without evaluating it. The default value is |
resource
Lookup resource by a URL.
Tipo: UniformResourceLocatable
Argumentos para resource
| Nome | Descrição |
|---|---|
| The URL. |
Objects
CodeOfConduct
The Code of Conduct for a repository.
CodeOfConduct Implementa
Campos para CodeOfConduct
| Nome | Descrição |
|---|---|
| The body of the Code of Conduct. |
| The Node ID of the CodeOfConduct object. |
| The key for the Code of Conduct. |
| The formal name of the Code of Conduct. |
| The HTTP path for this Code of Conduct. |
| The HTTP URL for this Code of Conduct. |
ContentWarning
The content warning for a repository.
Campos para ContentWarning
| Nome | Descrição |
|---|---|
| The content warning' category. E.g. 'mis_dis_information'. |
| The content warning's custom sub category text. E.g. 'dangerous stuff.'. |
| The content warning's sub category. E.g. 'medical_scientific'. |
| The content warning's sub title. E.g. 'The information contained in this page has not been verified.'. |
| The content warning's title. E.g. 'This page may contain false or misleading information.'. |
| The type of content warning. E.g. 'interstitial'. |
GitHubMetadata
Represents information about the GitHub instance.
Campos para GitHubMetadata
| Nome | Descrição |
|---|---|
| Returns a String that's a SHA of |
| IP addresses that users connect to for git operations. |
| IP addresses that GitHub Enterprise Importer uses for outbound connections. |
| IP addresses that service hooks are sent from. |
| IP addresses that the importer connects from. |
| Whether or not users are verified. |
| IP addresses for GitHub Pages' A records. |
RateLimit
Represents the client's rate limit.
Campos para RateLimit
| Nome | Descrição |
|---|---|
| The point cost for the current query counting against the rate limit. |
| The maximum number of points the client is permitted to consume in a 60 minute window. |
| The maximum number of nodes this query may return. |
| The number of points remaining in the current rate limit window. |
| The time at which the current rate limit window resets in UTC epoch seconds. |
| The number of points used in the current rate limit window. |
Interfaces
Node
An object with an ID.
Node é implementado por
WorkflowWorkflowRunWorkflowRunFileAppBotMarketplaceCategoryMarketplaceListingBranchProtectionRuleBypassForcePushAllowanceBypassPullRequestAllowancePushAllowanceReviewDismissalAllowanceCheckRunCheckSuiteCommitCommitCommentCommitCommentThreadComparisonStatusStatusCheckRollupStatusContextRepositoryVulnerabilityAlertDependencyGraphManifestDeployKeyDeployedEventDeploymentDeploymentEnvironmentChangedEventDeploymentReviewDeploymentStatusEnvironmentPinnedEnvironmentDiscussionDiscussionCategoryDiscussionCommentDiscussionPollDiscussionPollOptionPinnedDiscussionEnterpriseEnterpriseAdministratorInvitationEnterpriseIdentityProviderEnterpriseMemberInvitationEnterpriseRepositoryInfoEnterpriseServerInstallationEnterpriseServerUserAccountEnterpriseServerUserAccountEmailEnterpriseServerUserAccountsUploadEnterpriseTeamEnterpriseUserAccountExternalIdentityIpAllowListEntryMembersCanDeleteReposClearAuditEntryMembersCanDeleteReposDisableAuditEntryMembersCanDeleteReposEnableAuditEntryOIDCProviderOauthApplicationCreateAuditEntryPrivateRepositoryForkingDisableAuditEntryPrivateRepositoryForkingEnableAuditEntryRepoConfigDisableAnonymousGitAccessAuditEntryRepoConfigDisableCollaboratorsOnlyAuditEntryRepoConfigDisableContributorsOnlyAuditEntryRepoConfigDisableSockpuppetDisallowedAuditEntryRepoConfigEnableAnonymousGitAccessAuditEntryRepoConfigEnableCollaboratorsOnlyAuditEntryRepoConfigEnableContributorsOnlyAuditEntryRepoConfigEnableSockpuppetDisallowedAuditEntryRepoConfigLockAnonymousGitAccessAuditEntryRepoConfigUnlockAnonymousGitAccessAuditEntryRepositoryVisibilityChangeDisableAuditEntryRepositoryVisibilityChangeEnableAuditEntryUserNamespaceRepositoryGistGistCommentBlobPushRefTagTreeAssignedEventBlockedByAddedEventBlockedByRemovedEventBlockingAddedEventBlockingRemovedEventClosedEventCommentDeletedEventConnectedEventConvertedNoteToIssueEventConvertedToDiscussionEventCrossReferencedEventDemilestonedEventDisconnectedEventIssueIssueCommentIssueCommentPinnedEventIssueCommentUnpinnedEventIssueFieldAddedEventIssueFieldChangedEventIssueFieldDateIssueFieldDateValueIssueFieldNumberIssueFieldNumberValueIssueFieldRemovedEventIssueFieldSingleSelectIssueFieldSingleSelectOptionIssueFieldSingleSelectValueIssueFieldTextIssueFieldTextValueIssueTypeIssueTypeAddedEventIssueTypeChangedEventIssueTypeRemovedEventLabelLabeledEventLinkedBranchLockedEventMarkedAsDuplicateEventMentionedEventMilestoneMilestonedEventParentIssueAddedEventParentIssueRemovedEventPinnedEventPinnedIssuePinnedIssueCommentReferencedEventRenamedTitleEventReopenedEventSubIssueAddedEventSubIssueRemovedEventSubscribedEventTransferredEventUnassignedEventUnlabeledEventUnlockedEventUnmarkedAsDuplicateEventUnpinnedEventUnsubscribedEventLicenseCodeOfConductMannequinMigrationSourceOrganizationMigrationRepositoryMigrationMemberFeatureRequestNotificationOrgAddBillingManagerAuditEntryOrgAddMemberAuditEntryOrgBlockUserAuditEntryOrgConfigDisableCollaboratorsOnlyAuditEntryOrgConfigEnableCollaboratorsOnlyAuditEntryOrgCreateAuditEntryOrgDisableOauthAppRestrictionsAuditEntryOrgDisableSamlAuditEntryOrgDisableTwoFactorRequirementAuditEntryOrgEnableOauthAppRestrictionsAuditEntryOrgEnableSamlAuditEntryOrgEnableTwoFactorRequirementAuditEntryOrgInviteMemberAuditEntryOrgInviteToBusinessAuditEntryOrgOauthAppAccessApprovedAuditEntryOrgOauthAppAccessBlockedAuditEntryOrgOauthAppAccessDeniedAuditEntryOrgOauthAppAccessRequestedAuditEntryOrgOauthAppAccessUnblockedAuditEntryOrgRemoveBillingManagerAuditEntryOrgRemoveMemberAuditEntryOrgRemoveOutsideCollaboratorAuditEntryOrgRestoreMemberAuditEntryOrgUnblockUserAuditEntryOrgUpdateDefaultRepositoryPermissionAuditEntryOrgUpdateMemberAuditEntryOrgUpdateMemberRepositoryCreationPermissionAuditEntryOrgUpdateMemberRepositoryInvitationPermissionAuditEntryOrganizationOrganizationIdentityProviderOrganizationInvitationVerifiableDomainPackagePackageFilePackageTagPackageVersionAddedToProjectV2EventDraftIssueProjectV2ProjectV2FieldProjectV2ItemProjectV2ItemFieldDateValueProjectV2ItemFieldIterationValueProjectV2ItemFieldNumberValueProjectV2ItemFieldSingleSelectValueProjectV2ItemFieldTextValueProjectV2ItemStatusChangedEventProjectV2IterationFieldProjectV2SingleSelectFieldProjectV2StatusUpdateProjectV2ViewProjectV2WorkflowRemovedFromProjectV2EventAddedToProjectEventMovedColumnsInProjectEventProjectProjectCardProjectColumnRemovedFromProjectEventAddedToMergeQueueEventAutoMergeDisabledEventAutoMergeEnabledEventAutoRebaseEnabledEventAutoSquashEnabledEventAutomaticBaseChangeFailedEventAutomaticBaseChangeSucceededEventBaseRefChangedEventBaseRefDeletedEventBaseRefForcePushedEventConvertToDraftEventConvertedFromDraftEventHeadRefDeletedEventHeadRefForcePushedEventHeadRefRestoredEventMergeQueueMergeQueueEntryMergedEventPullRequestPullRequestCommitPullRequestCommitCommentThreadPullRequestReviewPullRequestReviewCommentPullRequestReviewThreadPullRequestThreadReadyForReviewEventRemovedFromMergeQueueEventReviewDismissedEventReviewRequestReviewRequestRemovedEventReviewRequestedEventReactionReleaseReleaseAssetLanguageRepoAccessAuditEntryRepoAddMemberAuditEntryRepoAddTopicAuditEntryRepoArchivedAuditEntryRepoChangeMergeSettingAuditEntryRepoCreateAuditEntryRepoDestroyAuditEntryRepoRemoveMemberAuditEntryRepoRemoveTopicAuditEntryRepositoryRepositoryCustomPropertyRepositoryInvitationRepositoryRuleRepositoryRulesetRepositoryRulesetBypassActorRepositoryTopicTopicCWESecurityAdvisorySponsorsActivitySponsorsListingSponsorsListingFeaturedItemSponsorsTierSponsorshipSponsorshipNewsletterTeamTeamAddMemberAuditEntryTeamAddRepositoryAuditEntryTeamChangeParentTeamAuditEntryTeamRemoveMemberAuditEntryTeamRemoveRepositoryAuditEntryPublicKeySavedReplyUserUserBlockedEventUserContentEditUserListUserStatus
Campos para Node
| Nome | Descrição |
|---|---|
| ID of the object. |
UniformResourceLocatable
Represents a type that can be retrieved by a URL.
UniformResourceLocatable é implementado por
WorkflowWorkflowRunWorkflowRunFileBotCheckRunCommitGistClosedEventCrossReferencedEventIssueMilestoneMannequinOrganizationConvertToDraftEventMergedEventPullRequestPullRequestCommitReadyForReviewEventReviewDismissedEventReleaseRepositoryRepositoryTopicUser
Campos para UniformResourceLocatable
| Nome | Descrição |
|---|---|
| The HTML path to this resource. |
| The URL to this resource. |
Enums
OperationType
The corresponding operation type for the action.
Valores para OperationType
| Nome | Descrição |
|---|---|
ACCESS | An existing resource was accessed. |
AUTHENTICATION | A resource performed an authentication event. |
CREATE | A new resource was created. |
MODIFY | An existing resource was modified. |
REMOVE | An existing resource was removed. |
RESTORE | An existing resource was restored. |
TRANSFER | An existing resource was transferred between multiple resources. |
OrderDirection
Possible directions in which to order a list of items when provided an orderBy argument.
Valores para OrderDirection
| Nome | Descrição |
|---|---|
ASC | Specifies an ascending order for a given |
DESC | Specifies a descending order for a given |
ReportedContentClassifiers
The reasons a piece of content can be reported or minimized.
Valores para ReportedContentClassifiers
| Nome | Descrição |
|---|---|
ABUSE | An abusive or harassing piece of content. |
DUPLICATE | A duplicated piece of content. |
LOW_QUALITY | A low quality piece of content. |
OFF_TOPIC | An irrelevant piece of content. |
OUTDATED | An outdated piece of content. |
RESOLVED | The content has been resolved. |
SPAM | A spammy piece of content. |