Queries
codeOfConduct
Look up a code of conduct by its key.
Typ: CodeOfConduct
Argumente für codeOfConduct
| Name | BESCHREIBUNG |
|---|---|
| The code of conduct's key. |
codesOfConduct
Look up a code of conduct by its key.
Typ: [CodeOfConduct]
meta
Return information about the GitHub instance.
Typ: GitHubMetadata!
node
Fetches an object given its ID.
Typ: Node
Argumente für node
| Name | BESCHREIBUNG |
|---|---|
| ID of the object. |
nodes
Lookup nodes by a list of IDs.
Typ: [Node]!
Argumente für nodes
| Name | BESCHREIBUNG |
|---|---|
| The list of node IDs. |
rateLimit
The client's rate limit information.
Typ: RateLimit
Argumente für rateLimit
| Name | BESCHREIBUNG |
|---|---|
| If true, calculate the cost for the query without evaluating it. The default value is |
resource
Lookup resource by a URL.
Argumente für resource
| Name | BESCHREIBUNG |
|---|---|
| The URL. |
Objects
CodeOfConduct
The Code of Conduct for a repository.
CodeOfConduct Wird implementiert
Felder für CodeOfConduct
| Name | BESCHREIBUNG |
|---|---|
| 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.
Felder für ContentWarning
| Name | BESCHREIBUNG |
|---|---|
| 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.
Felder für GitHubMetadata
| Name | BESCHREIBUNG |
|---|---|
| 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.
Felder für RateLimit
| Name | BESCHREIBUNG |
|---|---|
| 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 wird implementiert von
WorkflowWorkflowRunWorkflowRunFileAppBotMarketplaceCategoryMarketplaceListingBranchProtectionRuleBypassForcePushAllowanceBypassPullRequestAllowancePushAllowanceReviewDismissalAllowanceCheckRunCheckSuiteCommitCommitCommentCommitCommentThreadComparisonStatusStatusCheckRollupStatusContextRepositoryVulnerabilityAlertDependencyGraphManifestDeployKeyDeployedEventDeploymentDeploymentEnvironmentChangedEventDeploymentReviewDeploymentStatusEnvironmentPinnedEnvironmentDiscussionDiscussionCategoryDiscussionCommentDiscussionPollDiscussionPollOptionPinnedDiscussionEnterpriseEnterpriseAdministratorInvitationEnterpriseIdentityProviderEnterpriseMemberInvitationEnterpriseRepositoryInfoEnterpriseServerInstallationEnterpriseServerUserAccountEnterpriseServerUserAccountEmailEnterpriseServerUserAccountsUploadEnterpriseTeamEnterpriseUserAccountExternalIdentityIpAllowListEntryMembersCanDeleteReposClearAuditEntryMembersCanDeleteReposDisableAuditEntryMembersCanDeleteReposEnableAuditEntryOIDCProviderOauthApplicationCreateAuditEntryPrivateRepositoryForkingDisableAuditEntryPrivateRepositoryForkingEnableAuditEntryRepoConfigDisableAnonymousGitAccessAuditEntryRepoConfigDisableCollaboratorsOnlyAuditEntryRepoConfigDisableContributorsOnlyAuditEntryRepoConfigDisableSockpuppetDisallowedAuditEntryRepoConfigEnableAnonymousGitAccessAuditEntryRepoConfigEnableCollaboratorsOnlyAuditEntryRepoConfigEnableContributorsOnlyAuditEntryRepoConfigEnableSockpuppetDisallowedAuditEntryRepoConfigLockAnonymousGitAccessAuditEntryRepoConfigUnlockAnonymousGitAccessAuditEntryRepositoryVisibilityChangeDisableAuditEntryRepositoryVisibilityChangeEnableAuditEntryUserNamespaceRepositoryGistGistCommentBlobPushRefTagTreeAssignedEventBlockedByAddedEventBlockedByRemovedEventBlockingAddedEventBlockingRemovedEventClosedEventCommentDeletedEventConnectedEventConvertedNoteToIssueEventConvertedToDiscussionEventCrossReferencedEventDemilestonedEventDisconnectedEventIssueIssueCommentIssueCommentPinnedEventIssueCommentUnpinnedEventIssueFieldAddedEventIssueFieldChangedEventIssueFieldDateIssueFieldDateValueIssueFieldNumberIssueFieldNumberValueIssueFieldRemovedEventIssueFieldSingleSelectIssueFieldSingleSelectOptionIssueFieldSingleSelectValueIssueFieldTextIssueFieldTextValueIssueTypeIssueTypeAddedEventIssueTypeChangedEventIssueTypeRemovedEventLabelLabeledEventLinkedBranchLockedEventMarkedAsDuplicateEventMentionedEventMilestoneMilestonedEventParentIssueAddedEventParentIssueRemovedEventPinnedEventPinnedIssuePinnedIssueCommentReferencedEventRenamedTitleEventReopenedEventSubIssueAddedEventSubIssueRemovedEventSubscribedEventTransferredEventUnassignedEventUnlabeledEventUnlockedEventUnmarkedAsDuplicateEventUnpinnedEventUnsubscribedEventLicenseCodeOfConductMannequinMigrationSourceOrganizationMigrationRepositoryMigrationMemberFeatureRequestNotificationOrgAddBillingManagerAuditEntryOrgAddMemberAuditEntryOrgBlockUserAuditEntryOrgConfigDisableCollaboratorsOnlyAuditEntryOrgConfigEnableCollaboratorsOnlyAuditEntryOrgCreateAuditEntryOrgDisableOauthAppRestrictionsAuditEntryOrgDisableSamlAuditEntryOrgDisableTwoFactorRequirementAuditEntryOrgEnableOauthAppRestrictionsAuditEntryOrgEnableSamlAuditEntryOrgEnableTwoFactorRequirementAuditEntryOrgInviteMemberAuditEntryOrgInviteToBusinessAuditEntryOrgOauthAppAccessApprovedAuditEntryOrgOauthAppAccessBlockedAuditEntryOrgOauthAppAccessDeniedAuditEntryOrgOauthAppAccessRequestedAuditEntryOrgOauthAppAccessUnblockedAuditEntryOrgRemoveBillingManagerAuditEntryOrgRemoveMemberAuditEntryOrgRemoveOutsideCollaboratorAuditEntryOrgRestoreMemberAuditEntryOrgUnblockUserAuditEntryOrgUpdateDefaultRepositoryPermissionAuditEntryOrgUpdateMemberAuditEntryOrgUpdateMemberRepositoryCreationPermissionAuditEntryOrgUpdateMemberRepositoryInvitationPermissionAuditEntryOrganizationOrganizationIdentityProviderOrganizationInvitationVerifiableDomainPackagePackageFilePackageTagPackageVersionAddedToProjectV2EventDraftIssueProjectV2ProjectV2FieldProjectV2ItemProjectV2ItemFieldDateValueProjectV2ItemFieldIterationValueProjectV2ItemFieldNumberValueProjectV2ItemFieldSingleSelectValueProjectV2ItemFieldTextValueProjectV2ItemStatusChangedEventProjectV2IterationFieldProjectV2SingleSelectFieldProjectV2StatusUpdateProjectV2ViewProjectV2WorkflowRemovedFromProjectV2EventAddedToProjectEventMovedColumnsInProjectEventProjectProjectCardProjectColumnRemovedFromProjectEventAddedToMergeQueueEventAutoMergeDisabledEventAutoMergeEnabledEventAutoRebaseEnabledEventAutoSquashEnabledEventAutomaticBaseChangeFailedEventAutomaticBaseChangeSucceededEventBaseRefChangedEventBaseRefDeletedEventBaseRefForcePushedEventConvertToDraftEventConvertedFromDraftEventHeadRefDeletedEventHeadRefForcePushedEventHeadRefRestoredEventMergeQueueMergeQueueEntryMergedEventPullRequestPullRequestCommitPullRequestCommitCommentThreadPullRequestReviewPullRequestReviewCommentPullRequestReviewThreadPullRequestThreadReadyForReviewEventRemovedFromMergeQueueEventReviewDismissedEventReviewRequestReviewRequestRemovedEventReviewRequestedEventReactionReleaseReleaseAssetLanguageRepoAccessAuditEntryRepoAddMemberAuditEntryRepoAddTopicAuditEntryRepoArchivedAuditEntryRepoChangeMergeSettingAuditEntryRepoCreateAuditEntryRepoDestroyAuditEntryRepoRemoveMemberAuditEntryRepoRemoveTopicAuditEntryRepositoryRepositoryCustomPropertyRepositoryInvitationRepositoryRuleRepositoryRulesetRepositoryRulesetBypassActorRepositoryTopicTopicCWESecurityAdvisorySponsorsActivitySponsorsListingSponsorsListingFeaturedItemSponsorsTierSponsorshipSponsorshipNewsletterTeamTeamAddMemberAuditEntryTeamAddRepositoryAuditEntryTeamChangeParentTeamAuditEntryTeamRemoveMemberAuditEntryTeamRemoveRepositoryAuditEntryPublicKeySavedReplyUserUserBlockedEventUserContentEditUserListUserStatus
Felder für Node
| Name | BESCHREIBUNG |
|---|---|
| ID of the object. |
UniformResourceLocatable
Represents a type that can be retrieved by a URL.
UniformResourceLocatable wird implementiert von
WorkflowWorkflowRunWorkflowRunFileBotCheckRunCommitGistClosedEventCrossReferencedEventIssueMilestoneMannequinOrganizationConvertToDraftEventMergedEventPullRequestPullRequestCommitReadyForReviewEventReviewDismissedEventReleaseRepositoryRepositoryTopicUser
Felder für UniformResourceLocatable
| Name | BESCHREIBUNG |
|---|---|
| The HTML path to this resource. |
| The URL to this resource. |
Enums
OperationType
The corresponding operation type for the action.
Werte für OperationType
| Name | BESCHREIBUNG |
|---|---|
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.
Werte für OrderDirection
| Name | BESCHREIBUNG |
|---|---|
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.
Werte für ReportedContentClassifiers
| Name | BESCHREIBUNG |
|---|---|
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. |