关于接口
接口 充当其他对象可以继承的父对象。
例如,Lockable 是一个接口,因为 Issue 和 PullRequest 对象都可以被锁定。接口拥有自己的命名字段列表,这些字段在实现它的对象之间共享。
更多信息请参阅 GraphQL 介绍。
Actor(行为者)
表示可以在 GitHub 上执行操作的对象。通常是用户或机器人。
Agentic(代理)
Copilot Agentic 字段,针对当前查看者的上下文。
Assignable(可指派)
可以为其指派用户的对象。
Assignable 的实现对象包括
Assignable 的字段
| 名称 | 描述 |
|---|---|
| 指派给此对象的行为者列表。 |
| 指派给此对象的用户列表。 |
| 建议指派给此对象的行为者列表。 |
AuditEntry(审计条目)
审计日志中的一条记录。
AuditEntry 的实现对象包括
MembersCanDeleteReposClearAuditEntryMembersCanDeleteReposDisableAuditEntryMembersCanDeleteReposEnableAuditEntryOauthApplicationCreateAuditEntryOrgAddBillingManagerAuditEntryOrgAddMemberAuditEntryOrgBlockUserAuditEntryOrgConfigDisableCollaboratorsOnlyAuditEntryOrgConfigEnableCollaboratorsOnlyAuditEntryOrgCreateAuditEntryOrgDisableOauthAppRestrictionsAuditEntryOrgDisableSamlAuditEntryOrgDisableTwoFactorRequirementAuditEntryOrgEnableOauthAppRestrictionsAuditEntryOrgEnableSamlAuditEntryOrgEnableTwoFactorRequirementAuditEntryOrgInviteMemberAuditEntryOrgInviteToBusinessAuditEntryOrgOauthAppAccessApprovedAuditEntryOrgOauthAppAccessBlockedAuditEntryOrgOauthAppAccessDeniedAuditEntryOrgOauthAppAccessRequestedAuditEntryOrgOauthAppAccessUnblockedAuditEntryOrgRemoveBillingManagerAuditEntryOrgRemoveMemberAuditEntryOrgRemoveOutsideCollaboratorAuditEntryOrgRestoreMemberAuditEntryOrgUnblockUserAuditEntryOrgUpdateDefaultRepositoryPermissionAuditEntryOrgUpdateMemberAuditEntryOrgUpdateMemberRepositoryCreationPermissionAuditEntryOrgUpdateMemberRepositoryInvitationPermissionAuditEntryPrivateRepositoryForkingDisableAuditEntryPrivateRepositoryForkingEnableAuditEntryRepoAccessAuditEntryRepoAddMemberAuditEntryRepoAddTopicAuditEntryRepoArchivedAuditEntryRepoChangeMergeSettingAuditEntryRepoConfigDisableAnonymousGitAccessAuditEntryRepoConfigDisableCollaboratorsOnlyAuditEntryRepoConfigDisableContributorsOnlyAuditEntryRepoConfigDisableSockpuppetDisallowedAuditEntryRepoConfigEnableAnonymousGitAccessAuditEntryRepoConfigEnableCollaboratorsOnlyAuditEntryRepoConfigEnableContributorsOnlyAuditEntryRepoConfigEnableSockpuppetDisallowedAuditEntryRepoConfigLockAnonymousGitAccessAuditEntryRepoConfigUnlockAnonymousGitAccessAuditEntryRepoCreateAuditEntryRepoDestroyAuditEntryRepoRemoveMemberAuditEntryRepoRemoveTopicAuditEntryRepositoryVisibilityChangeDisableAuditEntryRepositoryVisibilityChangeEnableAuditEntryTeamAddMemberAuditEntryTeamAddRepositoryAuditEntryTeamChangeParentTeamAuditEntryTeamRemoveMemberAuditEntryTeamRemoveRepositoryAuditEntry
AuditEntry 的字段
| 名称 | 描述 |
|---|---|
| 操作名称。 警告
GraphQL 审计日志已弃用,请改用 REST API。将在 2026‑04‑01 UTC 移除。 |
| 发起该操作的用户。 警告
GraphQL 审计日志已弃用,请改用 REST API。将在 2026‑04‑01 UTC 移除。 |
| 行为者的 IP 地址。 警告
GraphQL 审计日志已弃用,请改用 REST API。将在 2026‑04‑01 UTC 移除。 |
| 对行为者位置的可读表示。 警告
GraphQL 审计日志已弃用,请改用 REST API。将在 2026‑04‑01 UTC 移除。 |
| 发起该操作的用户的用户名。 警告
GraphQL 审计日志已弃用,请改用 REST API。将在 2026‑04‑01 UTC 移除。 |
| 行为者的 HTTP 路径。 警告
GraphQL 审计日志已弃用,请改用 REST API。将在 2026‑04‑01 UTC 移除。 |
| 行为者的 HTTP URL。 警告
GraphQL 审计日志已弃用,请改用 REST API。将在 2026‑04‑01 UTC 移除。 |
| 操作发起的时间。 警告
GraphQL 审计日志已弃用,请改用 REST API。将在 2026‑04‑01 UTC 移除。 |
| 对应于该操作的操作类型。 警告
GraphQL 审计日志已弃用,请改用 REST API。将在 2026‑04‑01 UTC 移除。 |
| 受该操作影响的用户。 警告
GraphQL 审计日志已弃用,请改用 REST API。将在 2026‑04‑01 UTC 移除。 |
| 当涉及两个用户时,actor 为发起者,user 为受影响的用户。 警告
GraphQL 审计日志已弃用,请改用 REST API。将在 2026‑04‑01 UTC 移除。 |
| 用户的 HTTP 路径。 警告
GraphQL 审计日志已弃用,请改用 REST API。将在 2026‑04‑01 UTC 移除。 |
| 用户的 HTTP URL。 警告
GraphQL 审计日志已弃用,请改用 REST API。将在 2026‑04‑01 UTC 移除。 |
Closable(可关闭)
可以被关闭的对象。
Comment(评论)
表示一条评论。
Comment 的实现对象包括
CommitCommentDiscussionDiscussionCommentGistComment议题IssueCommentPullRequestPullRequestReviewPullRequestReviewComment
Comment 的字段
| 名称 | 描述 |
|---|---|
| 撰写该评论的行为者。 |
| 作者与评论主题之间的关联。 |
| 正文以 Markdown 形式呈现。 |
| 渲染为 HTML 的正文。 |
| 渲染为纯文本的正文。 |
| 标识对象创建的日期和时间。 |
| 检查此评论是否通过电子邮件回复创建。 |
| 编辑该评论的行为者。 |
| Comment 对象的 Node ID。 |
| 检查此评论是否已被编辑且包含创建编辑的数据。 |
| 编辑者进行最后一次编辑的时间点。 |
| 标识评论何时被发布。 |
| 标识对象最后一次更新的日期和时间。 |
| 此内容的编辑列表。 |
| 查看者是否为该评论的作者。 |
Contribution(贡献)
表示用户在 GitHub 上的贡献,例如创建 issue。
Contribution 的实现对象包括
CreatedCommitContributionCreatedIssueContributionCreatedPullRequestContributionCreatedPullRequestReviewContributionCreatedRepositoryContributionJoinedGitHubContributionRestrictedContribution
Contribution 的字段
| 名称 | 描述 |
|---|---|
| 该贡献是否关联到您无权访问的记录。例如,您的“首次 issue”贡献可能出现在已无法访问的仓库中。 |
| 该贡献发生的时间。 |
| 此贡献的 HTTP 路径。 |
| 此贡献的 HTTP URL。 |
| 进行该贡献的用户。 |
Deletable(可删除)
可以被删除的实体。
Deletable 的实现对象包括
CommitCommentDiscussionDiscussionCommentGistComment议题IssueCommentPullRequestReviewPullRequestReviewComment
Deletable 的字段
| 名称 | 描述 |
|---|---|
| 检查当前查看者是否可以删除此对象。 |
EnterpriseAuditEntryData(企业审计条目数据)
包含企业账户信息的审计条目的元数据。
EnterpriseAuditEntryData 的实现对象包括
MembersCanDeleteReposClearAuditEntryMembersCanDeleteReposDisableAuditEntryMembersCanDeleteReposEnableAuditEntryOrgInviteToBusinessAuditEntryPrivateRepositoryForkingDisableAuditEntryPrivateRepositoryForkingEnableAuditEntryRepositoryVisibilityChangeDisableAuditEntryRepositoryVisibilityChangeEnableAuditEntry
EnterpriseAuditEntryData 的字段
| 名称 | 描述 |
|---|---|
| 此企业的 HTTP 路径。 |
| 企业的 slug(短标识) |
| 此企业的 HTTP URL。 |
GitObject(Git 对象)
表示一个 Git 对象。
GitObject 的实现对象包括
GitObject 的字段
| 名称 | 描述 |
|---|---|
| Git 对象 ID 的缩写形式。 |
| 此 Git 对象的 HTTP 路径。 |
| 此 Git 对象的 HTTP URL。 |
| GitObject 对象的 Node ID。 |
| Git 对象的 ID。 |
| 该 Git 对象所属的仓库。 |
GitSignature(Git 签名)
关于提交或标签上签名(GPG 或 S/MIME)的信息。
GitSignature 的实现对象包括
GitSignature 的字段
| 名称 | 描述 |
|---|---|
| 用于签署此对象的电子邮件。 |
| 若签名有效且已被 GitHub 验证,则为 true。 |
| GPG 签名对象的有效负载。原始 ODB 对象,不含签名头部。 |
| 对象中的 ASCII 装甲签名头部。 |
| 提交签名所用电子邮件对应的 GitHub 用户。 |
| 此签名的状态。若为 |
| 签名被验证(若有效)的日期。 |
| 若签名使用 GitHub 的签名密钥,则为 true。 |
HovercardContext(悬停卡上下文)
悬停卡中的一行信息。
HovercardContext 的实现对象包括
GenericHovercardContextOrganizationTeamsHovercardContextOrganizationsHovercardContextReviewStatusHovercardContextViewerHovercardContext
HovercardContext 的字段
| 名称 | 描述 |
|---|---|
| 描述此上下文的字符串。 |
| 伴随此上下文的 Octicon 图标。 |
IssueFieldCommon(问题字段公共属性)
不同问题字段类型的公共字段。
IssueFieldCommon 的实现对象包括
IssueFieldCommon 的字段
| 名称 | 描述 |
|---|---|
| 问题字段的创建时间戳。 |
| 问题字段的数据类型。 |
| 问题字段的描述。 |
| 问题字段的名称。 |
| 问题字段的可见性。 |
IssueFieldValueCommon(问题字段值公共属性)
不同问题字段值类型的公共字段。
Labelable(可贴标签)
可以为其分配标签的对象。
Labelable 的实现对象包括
Labelable 的字段
| 名称 | 描述 |
|---|---|
| 与该对象关联的标签列表。
|
| 指示查看者是否可以编辑此对象的标签。 |
Lockable(可锁定)
可以被锁定的对象。
Lockable 的实现对象包括
Lockable 的字段
| 名称 | 描述 |
|---|---|
| 对话被锁定的原因。 |
|
|
MemberStatusable(成员状态可设置)
拥有成员可以设置状态信息的实体。
MemberStatusable 的实现对象包括
MemberStatusable 的字段
| 名称 | 描述 |
|---|---|
| 获取此实体成员已设置的、公开或仅对组织可见的状态消息。
|
Migration(迁移)
表示 GitHub Enterprise Importer(GEI)迁移。
Migration 的实现对象包括
Migration 的字段
| 名称 | 描述 |
|---|---|
| 在出错时继续迁移的标志。 |
| 标识对象创建的日期和时间。 |
| 数据库中的主键标识。 |
| 迁移失败的原因。 |
| 迁移对象的 Node ID。 |
| 迁移日志的 URL(迁移完成后 1 天失效)。 |
| 迁移来源。 |
| 目标仓库名称。 |
| 迁移源 URL,例如 |
| 迁移状态。 |
| 此迁移遇到的警告数量。要查看警告,请检查 迁移日志。 |
Minimizable(可最小化)
可以被最小化的实体。
Minimizable 的实现对象包括
Minimizable 的字段
| 名称 | 描述 |
|---|---|
| 返回评论是否已被最小化。 |
| 返回评论被最小化的原因。可能的值为 |
| 检查当前查看者是否可以最小化此对象。 |
| 检查当前查看者是否可以取消最小化此对象。 |
Node
具有 ID 的对象。
Node 的实现包括
AddedToMergeQueueEventAddedToProjectEventAddedToProjectV2EventAppAssignedEventAutoMergeDisabledEventAutoMergeEnabledEventAutoRebaseEnabledEventAutoSquashEnabledEventAutomaticBaseChangeFailedEventAutomaticBaseChangeSucceededEventBaseRefChangedEventBaseRefDeletedEventBaseRefForcePushedEventBlobBlockedByAddedEventBlockedByRemovedEventBlockingAddedEventBlockingRemovedEventBotBranchProtectionRuleBypassForcePushAllowanceBypassPullRequestAllowanceCWECheckRunCheckSuiteClosedEventCodeOfConductCommentDeletedEvent提交CommitCommentCommitCommentThread比较ConnectedEventConvertToDraftEventConvertedFromDraftEventConvertedNoteToIssueEventConvertedToDiscussionEventCrossReferencedEventDemilestonedEventDependencyGraphManifestDeployKeyDeployedEvent部署DeploymentEnvironmentChangedEventDeploymentReviewDeploymentStatusDisconnectedEventDiscussionDiscussionCategoryDiscussionCommentDiscussionPollDiscussionPollOptionDraftIssue企业EnterpriseAdministratorInvitationEnterpriseIdentityProviderEnterpriseMemberInvitationEnterpriseRepositoryInfoEnterpriseServerInstallationEnterpriseServerUserAccountEnterpriseServerUserAccountEmailEnterpriseServerUserAccountsUploadEnterpriseUserAccountEnvironmentExternalIdentityGistGistCommentHeadRefDeletedEventHeadRefForcePushedEventHeadRefRestoredEventIpAllowListEntry议题IssueCommentIssueCommentPinnedEventIssueCommentUnpinnedEventIssueFieldAddedEventIssueFieldChangedEventIssueFieldDateIssueFieldDateValueIssueFieldNumberIssueFieldNumberValueIssueFieldRemovedEventIssueFieldSingleSelectIssueFieldSingleSelectOptionIssueFieldSingleSelectValueIssueFieldTextIssueFieldTextValueIssueTypeIssueTypeAddedEventIssueTypeChangedEventIssueTypeRemovedEvent标签LabeledEvent语言许可证LinkedBranchLockedEventMannequinMarkedAsDuplicateEventMarketplaceCategoryMarketplaceListingMemberFeatureRequestNotificationMembersCanDeleteReposClearAuditEntryMembersCanDeleteReposDisableAuditEntryMembersCanDeleteReposEnableAuditEntryMentionedEventMergeQueueMergeQueueEntryMergedEventMigrationSourceMilestoneMilestonedEventMovedColumnsInProjectEventOIDCProviderOauthApplicationCreateAuditEntryOrgAddBillingManagerAuditEntryOrgAddMemberAuditEntryOrgBlockUserAuditEntryOrgConfigDisableCollaboratorsOnlyAuditEntryOrgConfigEnableCollaboratorsOnlyAuditEntryOrgCreateAuditEntryOrgDisableOauthAppRestrictionsAuditEntryOrgDisableSamlAuditEntryOrgDisableTwoFactorRequirementAuditEntryOrgEnableOauthAppRestrictionsAuditEntryOrgEnableSamlAuditEntryOrgEnableTwoFactorRequirementAuditEntryOrgInviteMemberAuditEntryOrgInviteToBusinessAuditEntryOrgOauthAppAccessApprovedAuditEntryOrgOauthAppAccessBlockedAuditEntryOrgOauthAppAccessDeniedAuditEntryOrgOauthAppAccessRequestedAuditEntryOrgOauthAppAccessUnblockedAuditEntryOrgRemoveBillingManagerAuditEntryOrgRemoveMemberAuditEntryOrgRemoveOutsideCollaboratorAuditEntryOrgRestoreMemberAuditEntryOrgUnblockUserAuditEntryOrgUpdateDefaultRepositoryPermissionAuditEntryOrgUpdateMemberAuditEntryOrgUpdateMemberRepositoryCreationPermissionAuditEntryOrgUpdateMemberRepositoryInvitationPermissionAuditEntry组织OrganizationIdentityProviderOrganizationInvitationOrganizationMigrationPackagePackageFilePackageTagPackageVersionParentIssueAddedEventParentIssueRemovedEventPinnedDiscussionPinnedEnvironmentPinnedEventPinnedIssuePinnedIssueCommentPrivateRepositoryForkingDisableAuditEntryPrivateRepositoryForkingEnableAuditEntryProjectProjectCardProjectColumnProjectV2ProjectV2FieldProjectV2ItemProjectV2ItemFieldDateValueProjectV2ItemFieldIterationValueProjectV2ItemFieldNumberValueProjectV2ItemFieldSingleSelectValueProjectV2ItemFieldTextValueProjectV2ItemStatusChangedEventProjectV2IterationFieldProjectV2SingleSelectFieldProjectV2StatusUpdateProjectV2ViewProjectV2WorkflowPublicKeyPullRequestPullRequestCommitPullRequestCommitCommentThreadPullRequestReviewPullRequestReviewCommentPullRequestReviewThreadPullRequestThreadPushPushAllowanceReactionReadyForReviewEventRefReferencedEventReleaseReleaseAssetRemovedFromMergeQueueEventRemovedFromProjectEventRemovedFromProjectV2EventRenamedTitleEventReopenedEventRepoAccessAuditEntryRepoAddMemberAuditEntryRepoAddTopicAuditEntryRepoArchivedAuditEntryRepoChangeMergeSettingAuditEntryRepoConfigDisableAnonymousGitAccessAuditEntryRepoConfigDisableCollaboratorsOnlyAuditEntryRepoConfigDisableContributorsOnlyAuditEntryRepoConfigDisableSockpuppetDisallowedAuditEntryRepoConfigEnableAnonymousGitAccessAuditEntryRepoConfigEnableCollaboratorsOnlyAuditEntryRepoConfigEnableContributorsOnlyAuditEntryRepoConfigEnableSockpuppetDisallowedAuditEntryRepoConfigLockAnonymousGitAccessAuditEntryRepoConfigUnlockAnonymousGitAccessAuditEntryRepoCreateAuditEntryRepoDestroyAuditEntryRepoRemoveMemberAuditEntryRepoRemoveTopicAuditEntry仓库RepositoryCustomPropertyRepositoryInvitationRepositoryMigrationRepositoryRuleRepositoryRulesetRepositoryRulesetBypassActorRepositoryTopicRepositoryVisibilityChangeDisableAuditEntryRepositoryVisibilityChangeEnableAuditEntryRepositoryVulnerabilityAlertReviewDismissalAllowanceReviewDismissedEventReviewRequestReviewRequestRemovedEventReviewRequestedEventSavedReplySecurityAdvisorySponsorsActivitySponsorsListingSponsorsListingFeaturedItemSponsorsTierSponsorshipSponsorshipNewsletter状态StatusCheckRollupStatusContextSubIssueAddedEventSubIssueRemovedEventSubscribedEvent标签团队TeamAddMemberAuditEntryTeamAddRepositoryAuditEntryTeamChangeParentTeamAuditEntryTeamRemoveMemberAuditEntryTeamRemoveRepositoryAuditEntryTopicTransferredEventTreeUnassignedEventUnlabeledEventUnlockedEventUnmarkedAsDuplicateEventUnpinnedEventUnsubscribedEvent用户UserBlockedEventUserContentEditUserListUserNamespaceRepositoryUserStatusVerifiableDomainWorkflowWorkflowRunWorkflowRunFile
针对 Node 的字段
| 名称 | 描述 |
|---|---|
| 对象的 ID。 |
OauthApplicationAuditEntryData
带有 oauth_application.* 操作的审计条目的元数据。
OauthApplicationAuditEntryData 的实现包括
OauthApplicationCreateAuditEntryOrgOauthAppAccessApprovedAuditEntryOrgOauthAppAccessBlockedAuditEntryOrgOauthAppAccessDeniedAuditEntryOrgOauthAppAccessRequestedAuditEntryOrgOauthAppAccessUnblockedAuditEntry
针对 OauthApplicationAuditEntryData 的字段
| 名称 | 描述 |
|---|---|
| OAuth 应用的名称。 |
| OAuth 应用的 HTTP 路径。 |
| OAuth 应用的 HTTP URL。 |
OrganizationAuditEntryData
带有 org.* 操作的审计条目的元数据。
OrganizationAuditEntryData 的实现包括
MembersCanDeleteReposClearAuditEntryMembersCanDeleteReposDisableAuditEntryMembersCanDeleteReposEnableAuditEntryOauthApplicationCreateAuditEntryOrgAddBillingManagerAuditEntryOrgAddMemberAuditEntryOrgBlockUserAuditEntryOrgConfigDisableCollaboratorsOnlyAuditEntryOrgConfigEnableCollaboratorsOnlyAuditEntryOrgCreateAuditEntryOrgDisableOauthAppRestrictionsAuditEntryOrgDisableSamlAuditEntryOrgDisableTwoFactorRequirementAuditEntryOrgEnableOauthAppRestrictionsAuditEntryOrgEnableSamlAuditEntryOrgEnableTwoFactorRequirementAuditEntryOrgInviteMemberAuditEntryOrgInviteToBusinessAuditEntryOrgOauthAppAccessApprovedAuditEntryOrgOauthAppAccessBlockedAuditEntryOrgOauthAppAccessDeniedAuditEntryOrgOauthAppAccessRequestedAuditEntryOrgOauthAppAccessUnblockedAuditEntryOrgRemoveBillingManagerAuditEntryOrgRemoveMemberAuditEntryOrgRemoveOutsideCollaboratorAuditEntryOrgRestoreMemberAuditEntryOrgRestoreMemberMembershipOrganizationAuditEntryDataOrgUnblockUserAuditEntryOrgUpdateDefaultRepositoryPermissionAuditEntryOrgUpdateMemberAuditEntryOrgUpdateMemberRepositoryCreationPermissionAuditEntryOrgUpdateMemberRepositoryInvitationPermissionAuditEntryPrivateRepositoryForkingDisableAuditEntryPrivateRepositoryForkingEnableAuditEntryRepoAccessAuditEntryRepoAddMemberAuditEntryRepoAddTopicAuditEntryRepoArchivedAuditEntryRepoChangeMergeSettingAuditEntryRepoConfigDisableAnonymousGitAccessAuditEntryRepoConfigDisableCollaboratorsOnlyAuditEntryRepoConfigDisableContributorsOnlyAuditEntryRepoConfigDisableSockpuppetDisallowedAuditEntryRepoConfigEnableAnonymousGitAccessAuditEntryRepoConfigEnableCollaboratorsOnlyAuditEntryRepoConfigEnableContributorsOnlyAuditEntryRepoConfigEnableSockpuppetDisallowedAuditEntryRepoConfigLockAnonymousGitAccessAuditEntryRepoConfigUnlockAnonymousGitAccessAuditEntryRepoCreateAuditEntryRepoDestroyAuditEntryRepoRemoveMemberAuditEntryRepoRemoveTopicAuditEntryRepositoryVisibilityChangeDisableAuditEntryRepositoryVisibilityChangeEnableAuditEntryTeamAddMemberAuditEntryTeamAddRepositoryAuditEntryTeamChangeParentTeamAuditEntryTeamRemoveMemberAuditEntryTeamRemoveRepositoryAuditEntry
针对 OrganizationAuditEntryData 的字段
| 名称 | 描述 |
|---|---|
| 与此审计条目关联的组织。 警告
GraphQL 审计日志已弃用,请改用 REST API。将在 2026‑04‑01 UTC 移除。 |
| 组织的名称。 警告
GraphQL 审计日志已弃用,请改用 REST API。将在 2026‑04‑01 UTC 移除。 |
| 组织的 HTTP 路径。 警告
GraphQL 审计日志已弃用,请改用 REST API。将在 2026‑04‑01 UTC 移除。 |
| 组织的 HTTP URL。 警告
GraphQL 审计日志已弃用,请改用 REST API。将在 2026‑04‑01 UTC 移除。 |
PackageOwner
表示软件包的拥有者。
PackageOwner 的实现包括
针对 PackageOwner 的字段
| 名称 | 描述 |
|---|---|
| PackageOwner 对象的 Node ID。 |
| 此拥有者下的所有软件包列表。
|
Pinnable
可以被置顶的实体。
ProfileOwner
表示在 GitHub 上拥有个人资料页面的任何实体。
ProfileOwner 的实现包括
针对 ProfileOwner 的字段
| 名称 | 描述 |
|---|---|
| 确定此仓库拥有者是否拥有可以固定到其个人资料的任何项目。
|
| 公开的个人资料电子邮件。 |
| ProfileOwner 对象的 Node ID。 |
| 展示该个人资料拥有者挑选或基于流行度自动选择的一组仓库和 gist。 |
| 公开的个人资料位置。 |
| 用于登录的用户名。 |
| 公开的个人资料名称。 |
| 此个人资料拥有者可以固定到其个人资料的仓库和 gist 列表。
|
| 此个人资料拥有者已固定到个人资料的仓库和 gist 列表。
|
| 返回此个人资料拥有者还能再固定多少项目。 |
| 查看者是否可以将仓库和 gist 固定到个人资料? |
| 公开的个人资料网站 URL。 |
ProjectOwner
表示项目的所有者。
ProjectOwner 的实现包括
针对 ProjectOwner 的字段
| 名称 | 描述 |
|---|---|
| ProjectOwner 对象的 Node ID。 警告
项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。 |
| 按编号查找项目。 警告
项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。
|
| 此所有者下的项目列表。 警告
项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。
|
| 列出所有者项目的 HTTP 路径。 警告
项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。 |
| 列出所有者项目的 HTTP URL。 警告
项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。 |
| 当前查看者是否可以在此所有者上创建新项目。 警告
项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。 |
ProjectV2Event
表示与项目相关的、位于议题或拉取请求时间轴上的事件。
ProjectV2Event 的实现包括
AddedToProjectV2EventConvertedFromDraftEventProjectV2ItemStatusChangedEventRemovedFromProjectV2Event
针对 ProjectV2Event 的字段
| 名称 | 描述 |
|---|---|
| 事件引用的项目。 |
| 此事件是否由工作流自动化触发? |
ProjectV2FieldCommon
不同项目字段类型的通用字段。
ProjectV2FieldCommon 的实现包括
针对 ProjectV2FieldCommon 的字段
| 名称 | 描述 |
|---|---|
| 标识对象创建的日期和时间。 |
| 字段的类型。 |
| 数据库中的主键标识。 |
| ProjectV2FieldCommon 对象的 Node ID。 |
| 项目字段的名称。 |
| 包含此字段的项目。 |
| 标识对象最后一次更新的日期和时间。 |
ProjectV2ItemFieldValueCommon
不同项目字段值类型的通用字段。
ProjectV2ItemFieldValueCommon 的实现包括
ProjectV2ItemFieldDateValueProjectV2ItemFieldIterationValueProjectV2ItemFieldNumberValueProjectV2ItemFieldSingleSelectValueProjectV2ItemFieldTextValue
针对 ProjectV2ItemFieldValueCommon 的字段
| 名称 | 描述 |
|---|---|
| 标识对象创建的日期和时间。 |
| 创建该条目的行为者。 |
| 数据库中的主键标识。 |
| 包含此值的项目字段。 |
| ProjectV2ItemFieldValueCommon 对象的 Node ID。 |
| 包含此值的项目条目。 |
| 标识对象最后一次更新的日期和时间。 |
ProjectV2Owner
表示项目的所有者。
ProjectV2Owner 的实现包括
针对 ProjectV2Owner 的字段
| 名称 | 描述 |
|---|---|
| ProjectV2Owner 对象的 Node ID。 |
| 按编号查找项目。
|
| 此所有者下的项目列表。
|
ProjectV2Recent
所有者的近期项目。
Reactable
表示可以被添加表情反应的主体。
Reactable 的实现包括
CommitCommentDiscussionDiscussionComment议题IssueCommentPullRequestPullRequestReviewPullRequestReviewCommentRelease
针对 Reactable 的字段
| 名称 | 描述 |
|---|---|
| 数据库中的主键标识。 |
| Reactable 对象的 Node ID。 |
| 按内容分组的表情反应列表。 |
| 在议题上留下的表情反应列表。
|
| 用户是否可以对该主体表情反应。 |
RepositoryAuditEntryData
带有 repo.* 操作的审计条目的元数据。
RepositoryAuditEntryData 的实现包括
OrgRestoreMemberMembershipRepositoryAuditEntryDataPrivateRepositoryForkingDisableAuditEntryPrivateRepositoryForkingEnableAuditEntryRepoAccessAuditEntryRepoAddMemberAuditEntryRepoAddTopicAuditEntryRepoArchivedAuditEntryRepoChangeMergeSettingAuditEntryRepoConfigDisableAnonymousGitAccessAuditEntryRepoConfigDisableCollaboratorsOnlyAuditEntryRepoConfigDisableContributorsOnlyAuditEntryRepoConfigDisableSockpuppetDisallowedAuditEntryRepoConfigEnableAnonymousGitAccessAuditEntryRepoConfigEnableCollaboratorsOnlyAuditEntryRepoConfigEnableContributorsOnlyAuditEntryRepoConfigEnableSockpuppetDisallowedAuditEntryRepoConfigLockAnonymousGitAccessAuditEntryRepoConfigUnlockAnonymousGitAccessAuditEntryRepoCreateAuditEntryRepoDestroyAuditEntryRepoRemoveMemberAuditEntryRepoRemoveTopicAuditEntryTeamAddRepositoryAuditEntryTeamRemoveRepositoryAuditEntry
针对 RepositoryAuditEntryData 的字段
| 名称 | 描述 |
|---|---|
| 与此操作关联的仓库。 |
| 仓库名称。 |
| 仓库的 HTTP 路径。 |
| 仓库的 HTTP URL。 |
RepositoryDiscussionAuthor
表示仓库中讨论的作者。
RepositoryDiscussionAuthor 的实现包括
针对 RepositoryDiscussionAuthor 的字段
| 名称 | 描述 |
|---|---|
| 此用户发起的讨论。
|
RepositoryDiscussionCommentAuthor
表示仓库中讨论评论的作者。
RepositoryDiscussionCommentAuthor 的实现包括
针对 RepositoryDiscussionCommentAuthor 的字段
| 名称 | 描述 |
|---|---|
| 此用户撰写的讨论评论。 |
RepositoryInfo
仓库信息的子集。
RepositoryInfo 的实现包括
针对 RepositoryInfo 的字段
| 名称 | 描述 |
|---|---|
| 标识仓库被归档的日期和时间。 |
| 标识对象创建的日期和时间。 |
| 仓库的描述。 |
| 渲染为 HTML 的仓库描述。 |
| 返回整个网络中此仓库的 fork 数量。 |
| 指示仓库是否启用了 Discussions 功能。 |
| 指示仓库是否启用了 Issue 功能。 |
| 指示仓库是否启用了 Projects 功能。 |
| 指示仓库是否启用了 Pull Request 功能。 |
| 指示仓库是否显示用于资金捐助的“赞助 (Sponsor)”按钮。 |
| 指示仓库是否启用了 Wiki 功能。 |
| 仓库的 URL。 |
| 指示仓库是否已归档且不再维护。 |
| 标识仓库是否为 fork。 |
| 指示仓库是否属于组织,或是组织仓库的私有 fork。 |
| 指示仓库是否已被锁定。 |
| 标识仓库是否为镜像。 |
| 标识仓库是私有还是内部的。 |
| 标识仓库是否为可用于生成新仓库的模板。 |
| 与仓库关联的许可证信息。 |
| 仓库被锁定的原因。 |
| 仓库的原始镜像 URL。 |
| 仓库名称。 |
| 仓库的完整名称(含所有者)。 |
| 用于在 Open Graph 数据中表示此仓库的图片 URL。 |
| 仓库的用户所有者。 |
| 控制谁可以在此仓库中创建拉取请求的策略。 |
| 标识仓库最近一次推送的日期和时间。 |
| 此仓库的 HTTP 路径。 |
| 不含任何链接的、渲染为 HTML 的简短仓库描述。
|
| 标识对象最后一次更新的日期和时间。 |
| 此仓库的 HTTP URL。 |
| 该仓库是否使用自定义 Open Graph 图片(而不是所有者的头像)。 |
| 指示仓库的可见性级别。 |
RepositoryNode
表示属于仓库的对象。
RepositoryNode 的实现包括
CommitCommentCommitCommentThreadDependabotUpdateDiscussionDiscussionCategory议题IssueCommentPinnedDiscussionPullRequestPullRequestCommitCommentThreadPullRequestReviewPullRequestReviewCommentRepositoryVulnerabilityAlert
针对 RepositoryNode 的字段
| 名称 | 描述 |
|---|---|
| 此节点关联的仓库。 |
RepositoryOwner
表示仓库的所有者。
RepositoryOwner 的实现包括
针对 RepositoryOwner 的字段
| 名称 | 描述 |
|---|---|
| 指向所有者公开头像的 URL。
|
| RepositoryOwner 对象的 Node ID。 |
| 用于登录的用户名。 |
| 用户拥有的仓库列表。
|
| 查找仓库。 |
| 所有者的 HTTP URL。 |
| 所有者的 HTTP URL。 |
RequirableByPullRequest
表示可被拉取请求在合并前要求满足的类型。
RequirableByPullRequest 的实现包括
针对 RequirableByPullRequest 的字段
| 名称 | 描述 |
|---|---|
| 针对特定拉取请求,在合并前是否必须满足此条件。 |
Sponsorable
可以通过 GitHub Sponsors 发起或接受赞助的实体。
Sponsorable 的实现包括
针对 Sponsorable 的字段
| 名称 | 描述 |
|---|---|
| 此用户/组织的下一个 GitHub Sponsors 支付金额(以美分计,USD)。 |
| 若此用户/组织拥有 GitHub Sponsors 列表,则为 true。 |
| 给定账户是否正在赞助此用户/组织。
|
| 若查看者正在被此用户/组织赞助,则为 true。 |
| 计算每位赞助者通过 GitHub Sponsors 向该维护者累计支付的总额(不包括 via Patreon 支付的赞助)。
|
| 此用户/组织的 GitHub Sponsors 预计月收入(以美分计,USD)。 |
| 该实体正在赞助的用户和组织列表。
|
| 此用户或组织的赞助者列表。 |
| 涉及此可赞助对象的事件,例如新的赞助。
|
| 此用户或组织的 GitHub Sponsors 列表。 |
| 查看者对该用户/组织的赞助,即您作为赞助者的赞助关系。
|
| 该用户/组织对查看者的赞助,即您收到的赞助关系。
|
| 此可赞助对象发送给赞助者的赞助更新列表。
|
| 该用户或组织作为维护者接收资金的赞助。
|
| 该用户或组织作为出资者的赞助。
|
| 该实体在 GitHub 上用于赞助的金额(美分,例如 500 = 5.00 美元)。仅在本人或有权管理所请求组织赞助的用户查看时返回值。 |
| 查看者是否能够赞助此用户/组织。 |
| 如果查看者正在赞助此用户/组织,则为 true。 |
Starrable
可被加星的对象。
Starrable 的实现者为
Starrable 的字段
| 名称 | 描述 |
|---|---|
| Starrable 对象的 Node ID。 |
| 返回此对象拥有的星标者数量。 |
| 给该可加星对象加星的用户列表。 |
| 返回布尔值,指示查看用户是否已为该可加星对象加星。 |
Subscribable
可以通过网页或电子邮件订阅的实体。
Subscribable 的实现者为
Subscribable 的字段
| 名称 | 描述 |
|---|---|
| Subscribable 对象的 Node ID。 |
| 检查查看者是否能够更改其对仓库的订阅状态。 |
| 标识查看者是正在关注、未关注还是忽略该可订阅实体。 |
SubscribableThread
可以通过网页或电子邮件订阅的实体。
SubscribableThread 的实现者为
SubscribableThread 的字段
| 名称 | 描述 |
|---|---|
| SubscribableThread 对象的 Node ID。 |
| 标识查看者的线程订阅表单操作。 |
| 标识查看者的线程订阅状态。 |
TeamAuditEntryData
针对 team.* 动作的审计条目元数据。
TeamAuditEntryData 的实现者为
OrgRestoreMemberMembershipTeamAuditEntryDataTeamAddMemberAuditEntryTeamAddRepositoryAuditEntryTeamChangeParentTeamAuditEntryTeamRemoveMemberAuditEntryTeamRemoveRepositoryAuditEntry
TeamAuditEntryData 的字段
| 名称 | 描述 |
|---|---|
| 与该动作关联的团队。 |
| 团队名称。 |
| 该团队的 HTTP 路径。 |
| 该团队的 HTTP URL。 |
TopicAuditEntryData
带有主题的审计条目元数据。
UniformResourceLocatable
表示可以通过 URL 检索的类型。
UniformResourceLocatable 的实现者为
BotCheckRunClosedEvent提交ConvertToDraftEventCrossReferencedEventGist议题MannequinMergedEventMilestone组织PullRequestPullRequestCommitReadyForReviewEventRelease仓库RepositoryTopicReviewDismissedEvent用户WorkflowWorkflowRunWorkflowRunFile
Fields for UniformResourceLocatable
| 名称 | 描述 |
|---|---|
| 该资源的 HTML 路径。 |
| 该资源的 URL。 |
Updatable
可被更新的实体。
Updatable 的实现者为
CommitCommentDiscussionDiscussionCommentGistComment议题IssueCommentProjectProjectV2PullRequestPullRequestReviewPullRequestReviewComment
Fields for Updatable
| 名称 | 描述 |
|---|---|
| 检查当前查看者是否能够更新此对象。 |
UpdatableComment
可被更新的评论。
UpdatableComment 的实现者为
CommitCommentDiscussionCommentGistComment议题IssueCommentPullRequestPullRequestReviewPullRequestReviewComment
Fields for UpdatableComment
| 名称 | 描述 |
|---|---|
| 当前查看者无法更新此评论的原因。 |