Queries
codeOfConduct
Look up a code of conduct by its key.
タイプ: CodeOfConduct
codeOfConduct の引数
| 名前 | 説明 |
|---|---|
| The code of conduct's key. |
codesOfConduct
Look up a code of conduct by its key.
タイプ: [CodeOfConduct]
meta
Return information about the GitHub instance.
タイプ: GitHubMetadata!
node
Fetches an object given its ID.
タイプ: Node
node の引数
| 名前 | 説明 |
|---|---|
| ID of the object. |
nodes
Lookup nodes by a list of IDs.
タイプ: [Node]!
nodes の引数
| 名前 | 説明 |
|---|---|
| The list of node IDs. |
rateLimit
The client's rate limit information.
タイプ: RateLimit
rateLimit の引数
| 名前 | 説明 |
|---|---|
| If true, calculate the cost for the query without evaluating it. The default value is |
resource
Lookup resource by a URL.
resource の引数
| 名前 | 説明 |
|---|---|
| The URL. |
Objects
CodeOfConduct
The Code of Conduct for a repository.
CodeOfConduct 実装
CodeOfConduct のフィールド
| 名前 | 説明 |
|---|---|
| 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.
ContentWarning のフィールド
| 名前 | 説明 |
|---|---|
| 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.
GitHubMetadata のフィールド
| 名前 | 説明 |
|---|---|
| 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.
RateLimit のフィールド
| 名前 | 説明 |
|---|---|
| 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 は次で実装されています
WorkflowWorkflowRunWorkflowRunFileAppBotMarketplaceCategoryMarketplaceListingBranchProtectionRuleBypassForcePushAllowanceBypassPullRequestAllowancePushAllowanceReviewDismissalAllowanceCheckRunCheckSuiteCommitCommitCommentCommitCommentThreadComparisonStatusStatusCheckRollupStatusContextRepositoryVulnerabilityAlertDependencyGraphManifestDeployKeyDeployedEventDeploymentDeploymentEnvironmentChangedEventDeploymentReviewDeploymentStatusEnvironmentPinnedEnvironmentDiscussionDiscussionCategoryDiscussionCommentDiscussionPollDiscussionPollOptionPinnedDiscussionEnterpriseEnterpriseAdministratorInvitationEnterpriseIdentityProviderEnterpriseMemberInvitationEnterpriseRepositoryInfoEnterpriseServerInstallationEnterpriseServerUserAccountEnterpriseServerUserAccountEmailEnterpriseServerUserAccountsUploadEnterpriseTeamEnterpriseUserAccountExternalIdentityIpAllowListEntryMembersCanDeleteReposClearAuditEntryMembersCanDeleteReposDisableAuditEntryMembersCanDeleteReposEnableAuditEntryOIDCProviderOauthApplicationCreateAuditEntryPrivateRepositoryForkingDisableAuditEntryPrivateRepositoryForkingEnableAuditEntryRepoConfigDisableAnonymousGitAccessAuditEntryRepoConfigDisableCollaboratorsOnlyAuditEntryRepoConfigDisableContributorsOnlyAuditEntryRepoConfigDisableSockpuppetDisallowedAuditEntryRepoConfigEnableAnonymousGitAccessAuditEntryRepoConfigEnableCollaboratorsOnlyAuditEntryRepoConfigEnableContributorsOnlyAuditEntryRepoConfigEnableSockpuppetDisallowedAuditEntryRepoConfigLockAnonymousGitAccessAuditEntryRepoConfigUnlockAnonymousGitAccessAuditEntryRepositoryVisibilityChangeDisableAuditEntryRepositoryVisibilityChangeEnableAuditEntryUserNamespaceRepositoryGistGistCommentBlobPushRefTagTreeAssignedEventBlockedByAddedEventBlockedByRemovedEventBlockingAddedEventBlockingRemovedEventClosedEventCommentDeletedEventConnectedEventConvertedNoteToIssueEventConvertedToDiscussionEventCrossReferencedEventDemilestonedEventDisconnectedEventIssueIssueCommentIssueCommentPinnedEventIssueCommentUnpinnedEventIssueFieldAddedEventIssueFieldChangedEventIssueFieldDateIssueFieldDateValueIssueFieldNumberIssueFieldNumberValueIssueFieldRemovedEventIssueFieldSingleSelectIssueFieldSingleSelectOptionIssueFieldSingleSelectValueIssueFieldTextIssueFieldTextValueIssueTypeIssueTypeAddedEventIssueTypeChangedEventIssueTypeRemovedEventLabelLabeledEventLinkedBranchLockedEventMarkedAsDuplicateEventMentionedEventMilestoneMilestonedEventParentIssueAddedEventParentIssueRemovedEventPinnedEventPinnedIssuePinnedIssueCommentReferencedEventRenamedTitleEventReopenedEventSubIssueAddedEventSubIssueRemovedEventSubscribedEventTransferredEventUnassignedEventUnlabeledEventUnlockedEventUnmarkedAsDuplicateEventUnpinnedEventUnsubscribedEventLicenseCodeOfConductMannequinMigrationSourceOrganizationMigrationRepositoryMigrationMemberFeatureRequestNotificationOrgAddBillingManagerAuditEntryOrgAddMemberAuditEntryOrgBlockUserAuditEntryOrgConfigDisableCollaboratorsOnlyAuditEntryOrgConfigEnableCollaboratorsOnlyAuditEntryOrgCreateAuditEntryOrgDisableOauthAppRestrictionsAuditEntryOrgDisableSamlAuditEntryOrgDisableTwoFactorRequirementAuditEntryOrgEnableOauthAppRestrictionsAuditEntryOrgEnableSamlAuditEntryOrgEnableTwoFactorRequirementAuditEntryOrgInviteMemberAuditEntryOrgInviteToBusinessAuditEntryOrgOauthAppAccessApprovedAuditEntryOrgOauthAppAccessBlockedAuditEntryOrgOauthAppAccessDeniedAuditEntryOrgOauthAppAccessRequestedAuditEntryOrgOauthAppAccessUnblockedAuditEntryOrgRemoveBillingManagerAuditEntryOrgRemoveMemberAuditEntryOrgRemoveOutsideCollaboratorAuditEntryOrgRestoreMemberAuditEntryOrgUnblockUserAuditEntryOrgUpdateDefaultRepositoryPermissionAuditEntryOrgUpdateMemberAuditEntryOrgUpdateMemberRepositoryCreationPermissionAuditEntryOrgUpdateMemberRepositoryInvitationPermissionAuditEntryOrganizationOrganizationIdentityProviderOrganizationInvitationVerifiableDomainPackagePackageFilePackageTagPackageVersionAddedToProjectV2EventDraftIssueProjectV2ProjectV2FieldProjectV2ItemProjectV2ItemFieldDateValueProjectV2ItemFieldIterationValueProjectV2ItemFieldNumberValueProjectV2ItemFieldSingleSelectValueProjectV2ItemFieldTextValueProjectV2ItemStatusChangedEventProjectV2IterationFieldProjectV2SingleSelectFieldProjectV2StatusUpdateProjectV2ViewProjectV2WorkflowRemovedFromProjectV2EventAddedToProjectEventMovedColumnsInProjectEventProjectProjectCardProjectColumnRemovedFromProjectEventAddedToMergeQueueEventAutoMergeDisabledEventAutoMergeEnabledEventAutoRebaseEnabledEventAutoSquashEnabledEventAutomaticBaseChangeFailedEventAutomaticBaseChangeSucceededEventBaseRefChangedEventBaseRefDeletedEventBaseRefForcePushedEventConvertToDraftEventConvertedFromDraftEventHeadRefDeletedEventHeadRefForcePushedEventHeadRefRestoredEventMergeQueueMergeQueueEntryMergedEventPullRequestPullRequestCommitPullRequestCommitCommentThreadPullRequestReviewPullRequestReviewCommentPullRequestReviewThreadPullRequestThreadReadyForReviewEventRemovedFromMergeQueueEventReviewDismissedEventReviewRequestReviewRequestRemovedEventReviewRequestedEventReactionReleaseReleaseAssetLanguageRepoAccessAuditEntryRepoAddMemberAuditEntryRepoAddTopicAuditEntryRepoArchivedAuditEntryRepoChangeMergeSettingAuditEntryRepoCreateAuditEntryRepoDestroyAuditEntryRepoRemoveMemberAuditEntryRepoRemoveTopicAuditEntryRepositoryRepositoryCustomPropertyRepositoryInvitationRepositoryRuleRepositoryRulesetRepositoryRulesetBypassActorRepositoryTopicTopicCWESecurityAdvisorySponsorsActivitySponsorsListingSponsorsListingFeaturedItemSponsorsTierSponsorshipSponsorshipNewsletterTeamTeamAddMemberAuditEntryTeamAddRepositoryAuditEntryTeamChangeParentTeamAuditEntryTeamRemoveMemberAuditEntryTeamRemoveRepositoryAuditEntryPublicKeySavedReplyUserUserBlockedEventUserContentEditUserListUserStatus
Node のフィールド
| 名前 | 説明 |
|---|---|
| ID of the object. |
UniformResourceLocatable
Represents a type that can be retrieved by a URL.
UniformResourceLocatable は次で実装されています
WorkflowWorkflowRunWorkflowRunFileBotCheckRunCommitGistClosedEventCrossReferencedEventIssueMilestoneMannequinOrganizationConvertToDraftEventMergedEventPullRequestPullRequestCommitReadyForReviewEventReviewDismissedEventReleaseRepositoryRepositoryTopicUser
UniformResourceLocatable のフィールド
| 名前 | 説明 |
|---|---|
| The HTML path to this resource. |
| The URL to this resource. |
Enums
OperationType
The corresponding operation type for the action.
OperationType の値です。
| 名前 | 説明 |
|---|---|
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.
OrderDirection の値です。
| 名前 | 説明 |
|---|---|
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.
ReportedContentClassifiers の値です。
| 名前 | 説明 |
|---|---|
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. |