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. |