关于接口
接口 充当父对象,其他对象可以从中继承。
例如,Lockable 是一个接口,因为 Issue 和 PullRequest 对象都可以被锁定。接口有自己的命名字段列表,这些字段由实现对象共享。
有关更多信息,请参阅“GraphQL 简介”。
参与者
表示可以在 GitHub 上执行操作的对象。通常是用户或机器人。
公告横幅
表示公告横幅。
可分配
可以将用户分配到的对象。
审计条目
审计日志中的一个条目。
AuditEntry 由以下实现
MembersCanDeleteReposClearAuditEntryMembersCanDeleteReposDisableAuditEntryMembersCanDeleteReposEnableAuditEntryOauthApplicationCreateAuditEntryOrgAddBillingManagerAuditEntryOrgAddMemberAuditEntryOrgBlockUserAuditEntryOrgConfigDisableCollaboratorsOnlyAuditEntryOrgConfigEnableCollaboratorsOnlyAuditEntryOrgCreateAuditEntryOrgDisableOauthAppRestrictionsAuditEntryOrgDisableSamlAuditEntryOrgDisableTwoFactorRequirementAuditEntryOrgEnableOauthAppRestrictionsAuditEntryOrgEnableSamlAuditEntryOrgEnableTwoFactorRequirementAuditEntryOrgInviteMemberAuditEntryOrgInviteToBusinessAuditEntryOrgOauthAppAccessApprovedAuditEntryOrgOauthAppAccessBlockedAuditEntryOrgOauthAppAccessDeniedAuditEntryOrgOauthAppAccessRequestedAuditEntryOrgOauthAppAccessUnblockedAuditEntryOrgRemoveBillingManagerAuditEntryOrgRemoveMemberAuditEntryOrgRemoveOutsideCollaboratorAuditEntryOrgRestoreMemberAuditEntryOrgUnblockUserAuditEntryOrgUpdateDefaultRepositoryPermissionAuditEntryOrgUpdateMemberAuditEntryOrgUpdateMemberRepositoryCreationPermissionAuditEntryOrgUpdateMemberRepositoryInvitationPermissionAuditEntryPrivateRepositoryForkingDisableAuditEntryPrivateRepositoryForkingEnableAuditEntryRepoAccessAuditEntryRepoAddMemberAuditEntryRepoAddTopicAuditEntryRepoArchivedAuditEntryRepoChangeMergeSettingAuditEntryRepoConfigDisableAnonymousGitAccessAuditEntryRepoConfigDisableCollaboratorsOnlyAuditEntryRepoConfigDisableContributorsOnlyAuditEntryRepoConfigDisableSockpuppetDisallowedAuditEntryRepoConfigEnableAnonymousGitAccessAuditEntryRepoConfigEnableCollaboratorsOnlyAuditEntryRepoConfigEnableContributorsOnlyAuditEntryRepoConfigEnableSockpuppetDisallowedAuditEntryRepoConfigLockAnonymousGitAccessAuditEntryRepoConfigUnlockAnonymousGitAccessAuditEntryRepoCreateAuditEntryRepoDestroyAuditEntryRepoRemoveMemberAuditEntryRepoRemoveTopicAuditEntryRepositoryVisibilityChangeDisableAuditEntryRepositoryVisibilityChangeEnableAuditEntryTeamAddMemberAuditEntryTeamAddRepositoryAuditEntryTeamChangeParentTeamAuditEntryTeamRemoveMemberAuditEntryTeamRemoveRepositoryAuditEntry
AuditEntry 的字段
| 名称 | 描述 |
|---|---|
| 操作名称。 |
| 发起操作的用户。 |
| 参与者的 IP 地址。 |
| Actor 位置的可读表示。 |
| 发起操作的用户用户名。 |
| Actor 的 HTTP 路径。 |
| Actor 的 HTTP URL。 |
| 操作发起的时刻。 |
| 操作对应的操作类型。 |
| 受操作影响的用户。 |
| 对于涉及两个用户的操作,actor 是发起者,user 是受影响的用户。 |
| 用户的 HTTP 路径。 |
| 用户的 HTTP URL。 |
可关闭对象
可以关闭的对象。
评论
表示一条评论。
Comment 由以下对象实现
Comment 的字段
| 名称 | 描述 |
|---|---|
| 撰写评论的 Actor。 |
| 作者与评论主题的关联。 |
| 评论正文(Markdown 格式)。 |
| 渲染成 HTML 的评论正文。 |
| 渲染成文本的评论正文。 |
| 标识对象创建的日期和时间。 |
| 检查此评论是否通过电子邮件回复创建。 |
| 编辑评论的 Actor。 |
| 评论对象的节点 ID。 |
| 检查此评论是否已编辑,以及是否包含具有创建数据的编辑。 |
| 编辑最后一次编辑的时刻。 |
| 标识评论发布时间。 |
| 标识对象上次更新的日期和时间。 |
| 此内容的编辑列表。 |
| 查看者是否撰写了此评论。 |
贡献
表示用户在 GitHub 上做出的贡献,例如创建问题。
可删除对象
可以删除的实体。
企业审计条目数据
包含企业帐户信息的审计条目的元数据。
EnterpriseAuditEntryData 由以下对象实现
MembersCanDeleteReposClearAuditEntryMembersCanDeleteReposDisableAuditEntryMembersCanDeleteReposEnableAuditEntryOrgInviteToBusinessAuditEntryPrivateRepositoryForkingDisableAuditEntryPrivateRepositoryForkingEnableAuditEntryRepositoryVisibilityChangeDisableAuditEntryRepositoryVisibilityChangeEnableAuditEntry
EnterpriseAuditEntryData 的字段
| 名称 | 描述 |
|---|---|
| 此企业的 HTTP 路径。 |
| 企业的 slug。 |
| 此企业的 HTTP URL。 |
Git 对象
表示一个 Git 对象。
GitObject 由以下对象实现
GitObject 的字段
| 名称 | 描述 |
|---|---|
| Git 对象 ID 的缩写版本。 |
| 此 Git 对象的 HTTP 路径。 |
| 此 Git 对象的 HTTP URL。 |
| GitObject 对象的节点 ID。 |
| Git 对象 ID。 |
| Git 对象所属的仓库。 |
Git 签名
关于提交或标签上的签名(GPG 或 S/MIME)的信息。
GitSignature 由以下对象实现
GitSignature 的字段
| 名称 | 描述 |
|---|---|
| 用于签署此对象的电子邮件。 |
| 如果签名有效且已由 GitHub 验证,则为真。 |
| GPG 签署对象的有效负载。原始 ODB 对象,不包含签名标头。 |
| 来自对象的 ASCII 编码签名标头。 |
| 与签署此提交的电子邮件相对应的 GitHub 用户。 |
| 此签名的状态。如果签名有效且已由 GitHub 验证,则为 |
| 如果签名是用 GitHub 的签名密钥生成的,则为真。 |
悬停卡上下文
悬停卡的单独一行。
可标记对象
可以为其分配标签的对象。
Labelable 由以下类型实现
Labelable 的字段
| 名称 | 描述 |
|---|---|
| 与对象关联的标签列表。
|
| 指示查看者是否可以编辑此对象的标签。 |
Lockable
可以锁定的对象。
Lockable 由以下类型实现
Lockable 的字段
| 名称 | 描述 |
|---|---|
| 对话被锁定的原因。 |
| 如果对象被锁定,则为 |
MemberStatusable
具有可以设置状态消息的成员的实体。
MemberStatusable 由以下类型实现
MemberStatusable 的字段
| 名称 | 描述 |
|---|---|
| 获取此实体的成员设置的状态消息,这些消息要么是公开的,要么仅对组织可见。
|
Migration
表示 GitHub Enterprise Importer (GEI) 迁移。
Migration 由以下类型实现
Migration 的字段
| 名称 | 描述 |
|---|---|
| 迁移标志,指示在发生错误时继续执行。 |
| 标识对象创建的日期和时间。 |
| 标识数据库中的主键。 |
| 迁移失败的原因。 |
| 迁移对象的节点 ID。 |
| 迁移日志的 URL(在迁移完成后 1 天后过期)。 |
| 迁移源。 |
| 目标存储库名称。 |
| 迁移源 URL,例如 |
| 迁移状态。 |
| 此迁移遇到的警告数量。要查看警告,请查看 迁移日志。 |
Minimizable
可以最小化的实体。
Node
具有 ID 的对象。
Node 由以下类型实现
AddedToMergeQueueEventAddedToProjectEventAppAssignedEventAutoMergeDisabledEventAutoMergeEnabledEventAutoRebaseEnabledEventAutoSquashEnabledEventAutomaticBaseChangeFailedEventAutomaticBaseChangeSucceededEventBaseRefChangedEventBaseRefDeletedEventBaseRefForcePushedEventBlob机器人BranchProtectionRuleBypassForcePushAllowanceBypassPullRequestAllowanceCWECheckRunCheckSuiteClosedEventCodeOfConductCommentDeletedEvent提交提交评论CommitCommentThreadComparisonConnectedEventConvertToDraftEventConvertedNoteToIssueEventConvertedToDiscussionEventCrossReferencedEventDemilestonedEventDependencyGraphManifestDeployKeyDeployedEventDeploymentDeploymentEnvironmentChangedEventDeploymentReviewDeploymentStatusDisconnectedEvent讨论DiscussionCategory讨论评论DiscussionPollDiscussionPollOptionDraftIssue企业EnterpriseAdministratorInvitationEnterpriseIdentityProviderEnterpriseMemberInvitationEnterpriseRepositoryInfoEnterpriseServerInstallationEnterpriseServerUserAccountEnterpriseServerUserAccountEmailEnterpriseServerUserAccountsUpload企业用户帐户EnvironmentExternalIdentityGistGist 评论HeadRefDeletedEventHeadRefForcePushedEventHeadRefRestoredEventIpAllowListEntry问题问题评论LabelLabeledEventLanguageLicenseLinkedBranchLockedEvent人偶MarkedAsDuplicateEventMarketplaceCategoryMarketplaceListingMemberFeatureRequestNotificationMembersCanDeleteReposClearAuditEntryMembersCanDeleteReposDisableAuditEntryMembersCanDeleteReposEnableAuditEntryMentionedEventMergeQueueMergeQueueEntryMergedEventMigrationSource里程碑MilestonedEventMovedColumnsInProjectEventOIDCProviderOauthApplicationCreateAuditEntryOrgAddBillingManagerAuditEntryOrgAddMemberAuditEntryOrgBlockUserAuditEntryOrgConfigDisableCollaboratorsOnlyAuditEntryOrgConfigEnableCollaboratorsOnlyAuditEntryOrgCreateAuditEntryOrgDisableOauthAppRestrictionsAuditEntryOrgDisableSamlAuditEntryOrgDisableTwoFactorRequirementAuditEntryOrgEnableOauthAppRestrictionsAuditEntryOrgEnableSamlAuditEntryOrgEnableTwoFactorRequirementAuditEntryOrgInviteMemberAuditEntryOrgInviteToBusinessAuditEntryOrgOauthAppAccessApprovedAuditEntryOrgOauthAppAccessBlockedAuditEntryOrgOauthAppAccessDeniedAuditEntryOrgOauthAppAccessRequestedAuditEntryOrgOauthAppAccessUnblockedAuditEntryOrgRemoveBillingManagerAuditEntryOrgRemoveMemberAuditEntryOrgRemoveOutsideCollaboratorAuditEntryOrgRestoreMemberAuditEntryOrgUnblockUserAuditEntryOrgUpdateDefaultRepositoryPermissionAuditEntryOrgUpdateMemberAuditEntryOrgUpdateMemberRepositoryCreationPermissionAuditEntryOrgUpdateMemberRepositoryInvitationPermissionAuditEntry组织OrganizationIdentityProviderOrganizationInvitationOrganizationMigrationPackagePackageFilePackageTagPackageVersionPinnedDiscussionPinnedEnvironmentPinnedEventPinnedIssuePrivateRepositoryForkingDisableAuditEntryPrivateRepositoryForkingEnableAuditEntry项目ProjectCardProjectColumn项目V2ProjectV2FieldProjectV2ItemProjectV2ItemFieldDateValueProjectV2ItemFieldIterationValueProjectV2ItemFieldNumberValueProjectV2ItemFieldSingleSelectValueProjectV2ItemFieldTextValueProjectV2IterationFieldProjectV2SingleSelectFieldProjectV2StatusUpdateProjectV2ViewProjectV2WorkflowPublicKey拉取请求PullRequestCommitPullRequestCommitCommentThread拉取请求审查拉取请求审查评论PullRequestReviewThreadPullRequestThreadPushPushAllowanceReactionReadyForReviewEventRefReferencedEventReleaseReleaseAssetRemovedFromMergeQueueEventRemovedFromProjectEventRenamedTitleEventReopenedEventRepoAccessAuditEntryRepoAddMemberAuditEntryRepoAddTopicAuditEntryRepoArchivedAuditEntryRepoChangeMergeSettingAuditEntryRepoConfigDisableAnonymousGitAccessAuditEntryRepoConfigDisableCollaboratorsOnlyAuditEntryRepoConfigDisableContributorsOnlyAuditEntryRepoConfigDisableSockpuppetDisallowedAuditEntryRepoConfigEnableAnonymousGitAccessAuditEntryRepoConfigEnableCollaboratorsOnlyAuditEntryRepoConfigEnableContributorsOnlyAuditEntryRepoConfigEnableSockpuppetDisallowedAuditEntryRepoConfigLockAnonymousGitAccessAuditEntryRepoConfigUnlockAnonymousGitAccessAuditEntryRepoCreateAuditEntryRepoDestroyAuditEntryRepoRemoveMemberAuditEntryRepoRemoveTopicAuditEntryRepositoryRepositoryInvitationRepositoryMigrationRepositoryRuleRepositoryRulesetRepositoryRulesetBypassActorRepositoryTopicRepositoryVisibilityChangeDisableAuditEntryRepositoryVisibilityChangeEnableAuditEntryRepositoryVulnerabilityAlertReviewDismissalAllowanceReviewDismissedEventReviewRequestReviewRequestRemovedEventReviewRequestedEventSavedReplySecurityAdvisorySponsorsActivitySponsorsListingSponsorsListingFeaturedItemSponsorsTierSponsorshipSponsorshipNewsletterStatusStatusCheckRollupStatusContextSubscribedEvent标签团队TeamAddMemberAuditEntryTeamAddRepositoryAuditEntryTeamChangeParentTeamAuditEntry团队讨论团队讨论评论TeamRemoveMemberAuditEntryTeamRemoveRepositoryAuditEntryTopicTransferredEvent树UnassignedEventUnlabeledEventUnlockedEventUnmarkedAsDuplicateEventUnpinnedEventUnsubscribedEvent用户UserBlockedEventUserContentEditUserListUserStatusVerifiableDomainWorkflowWorkflowRunWorkflowRunFile
Node 的字段
| 名称 | 描述 |
|---|---|
| 对象的 ID。 |
OauthApplicationAuditEntryData
操作为 oauth_application.* 的审计条目元数据。
OauthApplicationAuditEntryData 由以下类型实现
OauthApplicationCreateAuditEntryOrgOauthAppAccessApprovedAuditEntryOrgOauthAppAccessBlockedAuditEntryOrgOauthAppAccessDeniedAuditEntryOrgOauthAppAccessRequestedAuditEntryOrgOauthAppAccessUnblockedAuditEntry
OauthApplicationAuditEntryData 的字段
| 名称 | 描述 |
|---|---|
| OAuth 应用程序的名称。 |
| OAuth 应用程序的 HTTP 路径。 |
| OAuth 应用程序的 HTTP URL。 |
OrganizationAuditEntryData
操作为 org.* 的审计条目元数据。
OrganizationAuditEntryData 由以下类型实现
MembersCanDeleteReposClearAuditEntryMembersCanDeleteReposDisableAuditEntryMembersCanDeleteReposEnableAuditEntryOauthApplicationCreateAuditEntryOrgAddBillingManagerAuditEntryOrgAddMemberAuditEntryOrgBlockUserAuditEntryOrgConfigDisableCollaboratorsOnlyAuditEntryOrgConfigEnableCollaboratorsOnlyAuditEntryOrgCreateAuditEntryOrgDisableOauthAppRestrictionsAuditEntryOrgDisableSamlAuditEntryOrgDisableTwoFactorRequirementAuditEntryOrgEnableOauthAppRestrictionsAuditEntryOrgEnableSamlAuditEntryOrgEnableTwoFactorRequirementAuditEntryOrgInviteMemberAuditEntryOrgInviteToBusinessAuditEntryOrgOauthAppAccessApprovedAuditEntryOrgOauthAppAccessBlockedAuditEntryOrgOauthAppAccessDeniedAuditEntryOrgOauthAppAccessRequestedAuditEntryOrgOauthAppAccessUnblockedAuditEntryOrgRemoveBillingManagerAuditEntryOrgRemoveMemberAuditEntryOrgRemoveOutsideCollaboratorAuditEntryOrgRestoreMemberAuditEntryOrgRestoreMemberMembershipOrganizationAuditEntryDataOrgUnblockUserAuditEntryOrgUpdateDefaultRepositoryPermissionAuditEntryOrgUpdateMemberAuditEntryOrgUpdateMemberRepositoryCreationPermissionAuditEntryOrgUpdateMemberRepositoryInvitationPermissionAuditEntryPrivateRepositoryForkingDisableAuditEntryPrivateRepositoryForkingEnableAuditEntryRepoAccessAuditEntryRepoAddMemberAuditEntryRepoAddTopicAuditEntryRepoArchivedAuditEntryRepoChangeMergeSettingAuditEntryRepoConfigDisableAnonymousGitAccessAuditEntryRepoConfigDisableCollaboratorsOnlyAuditEntryRepoConfigDisableContributorsOnlyAuditEntryRepoConfigDisableSockpuppetDisallowedAuditEntryRepoConfigEnableAnonymousGitAccessAuditEntryRepoConfigEnableCollaboratorsOnlyAuditEntryRepoConfigEnableContributorsOnlyAuditEntryRepoConfigEnableSockpuppetDisallowedAuditEntryRepoConfigLockAnonymousGitAccessAuditEntryRepoConfigUnlockAnonymousGitAccessAuditEntryRepoCreateAuditEntryRepoDestroyAuditEntryRepoRemoveMemberAuditEntryRepoRemoveTopicAuditEntryRepositoryVisibilityChangeDisableAuditEntryRepositoryVisibilityChangeEnableAuditEntryTeamAddMemberAuditEntryTeamAddRepositoryAuditEntryTeamChangeParentTeamAuditEntryTeamRemoveMemberAuditEntryTeamRemoveRepositoryAuditEntry
OrganizationAuditEntryData 的字段
| 名称 | 描述 |
|---|---|
| 与审计条目关联的组织。 |
| 组织的名称。 |
| 组织的 HTTP 路径。 |
| 组织的 HTTP URL。 |
PackageOwner
表示软件包的所有者。
PackageOwner 由以下类型实现
PackageOwner 的字段
| 名称 | 描述 |
|---|---|
| PackageOwner 对象的节点 ID。 |
| 所有者下的软件包列表。
|
ProfileOwner
表示 GitHub 上任何具有个人资料页面的实体。
ProfileOwner 由以下类型实现
ProfileOwner 的字段
| 名称 | 描述 |
|---|---|
| 确定此存储库所有者是否有任何可以固定到其个人资料的项目。
|
| 公共个人资料电子邮件。 |
| ProfileOwner 对象的节点 ID。 |
| 展示个人资料所有者已策划或已根据受欢迎程度自动选择的存储库和 Gist 的选择。 |
| 公共个人资料位置。 |
| 用于登录的用户名。 |
| 公共个人资料名称。 |
| 此个人资料所有者可以固定到其个人资料的存储库和 Gist 列表。
|
| 此个人资料所有者已将其固定到其个人资料的存储库和 Gist 列表。
|
| 返回此个人资料所有者可以将其固定到其个人资料的项目数量。 |
| 查看者是否可以将存储库和 Gist 固定到个人资料? |
| 公共个人资料网站 URL。 |
ProjectOwner
表示项目的拥有者。
ProjectOwner 由以下内容实现
ProjectOwner 的字段
| 名称 | 描述 |
|---|---|
| ProjectOwner 对象的节点 ID。 |
| 按编号查找项目。
|
| 所有者下项目的列表。
|
| 列出所有者项目的 HTTP 路径。 |
| 列出所有者项目的 HTTP URL。 |
| 当前查看者是否可以在此所有者上创建新项目。 |
ProjectV2FieldCommon
不同项目字段类型中的公共字段。
ProjectV2FieldCommon 由以下内容实现
ProjectV2FieldCommon 的字段
| 名称 | 描述 |
|---|---|
| 标识对象创建的日期和时间。 |
| 字段的类型。 |
| 标识数据库中的主键。 |
| ProjectV2FieldCommon 对象的节点 ID。 |
| 项目字段的名称。 |
| 包含此字段的项目。 |
| 标识对象上次更新的日期和时间。 |
ProjectV2ItemFieldValueCommon
不同项目字段值类型中的公共字段。
ProjectV2ItemFieldValueCommon 由以下内容实现
ProjectV2ItemFieldDateValueProjectV2ItemFieldIterationValueProjectV2ItemFieldNumberValueProjectV2ItemFieldSingleSelectValueProjectV2ItemFieldTextValue
ProjectV2ItemFieldValueCommon 的字段
| 名称 | 描述 |
|---|---|
| 标识对象创建的日期和时间。 |
| 创建项目的参与者。 |
| 标识数据库中的主键。 |
| 包含此值的项目字段。 |
| ProjectV2ItemFieldValueCommon 对象的节点 ID。 |
| 包含此值的项目项。 |
| 标识对象上次更新的日期和时间。 |
ProjectV2Owner
表示项目的拥有者。
ProjectV2Owner 由以下内容实现
ProjectV2Owner 的字段
| 名称 | 描述 |
|---|---|
| ProjectV2Owner 对象的节点 ID。 |
| 按编号查找项目。
|
| 所有者下项目的列表。
|
ProjectV2Recent
所有者的近期项目。
ProjectV2Recent 由以下内容实现
ProjectV2Recent 的字段
| 名称 | 描述 |
|---|---|
| 此用户在所有者上下文中修改的近期项目。 |
Reactable
表示可以对其进行反应的主题。
Reactable 由以下内容实现
Reactable 的字段
| 名称 | 描述 |
|---|---|
| 标识数据库中的主键。 |
| Reactable 对象的节点 ID。 |
| 按主题上留下的内容分组的反应列表。 |
| 在 Issue 上留下的反应列表。
|
| 用户是否可以对此主题做出反应。 |
RepositoryAuditEntryData
具有操作 repo.* 的审核条目的元数据。
RepositoryAuditEntryData 由以下内容实现
OrgRestoreMemberMembershipRepositoryAuditEntryDataPrivateRepositoryForkingDisableAuditEntryPrivateRepositoryForkingEnableAuditEntryRepoAccessAuditEntryRepoAddMemberAuditEntryRepoAddTopicAuditEntryRepoArchivedAuditEntryRepoChangeMergeSettingAuditEntryRepoConfigDisableAnonymousGitAccessAuditEntryRepoConfigDisableCollaboratorsOnlyAuditEntryRepoConfigDisableContributorsOnlyAuditEntryRepoConfigDisableSockpuppetDisallowedAuditEntryRepoConfigEnableAnonymousGitAccessAuditEntryRepoConfigEnableCollaboratorsOnlyAuditEntryRepoConfigEnableContributorsOnlyAuditEntryRepoConfigEnableSockpuppetDisallowedAuditEntryRepoConfigLockAnonymousGitAccessAuditEntryRepoConfigUnlockAnonymousGitAccessAuditEntryRepoCreateAuditEntryRepoDestroyAuditEntryRepoRemoveMemberAuditEntryRepoRemoveTopicAuditEntryTeamAddRepositoryAuditEntryTeamRemoveRepositoryAuditEntry
RepositoryAuditEntryData 的字段
| 名称 | 描述 |
|---|---|
| 与操作关联的存储库。 |
| 存储库的名称。 |
| 存储库的 HTTP 路径。 |
| 存储库的 HTTP URL。 |
RepositoryDiscussionAuthor
表示存储库中讨论的作者。
RepositoryDiscussionAuthor 由以下内容实现
RepositoryDiscussionAuthor 的字段
| 名称 | 描述 |
|---|---|
| 此用户启动的讨论。
|
RepositoryDiscussionCommentAuthor
表示存储库中讨论评论的作者。
RepositoryDiscussionCommentAuthor 由以下内容实现
RepositoryDiscussionCommentAuthor 的字段
| 名称 | 描述 |
|---|---|
| 此用户创作的讨论评论。 |
RepositoryInfo
存储库信息的一个子集。
RepositoryInfo 由以下内容实现
RepositoryInfo 的字段
| 名称 | 描述 |
|---|---|
| 标识归档存储库的日期和时间。 |
| 标识对象创建的日期和时间。 |
| 存储库的描述。 |
| 渲染为 HTML 的存储库的描述。 |
| 返回整个网络中此存储库的分叉数。 |
| 指示存储库是否启用了讨论功能。 |
| 指示存储库是否启用了问题功能。 |
| 指示存储库是否启用了项目功能。 |
| 指示存储库是否显示赞助按钮以获取经济资助。 |
| 指示仓库是否启用了 Wiki 功能。 |
| 仓库的 URL。 |
| 指示仓库是否不再维护。 |
| 标识仓库是否为 fork。 |
| 指示仓库是否属于某个组织所有,或是否为组织仓库的私有 fork。 |
| 指示仓库是否已被锁定。 |
| 标识仓库是否为镜像。 |
| 标识仓库是否为私有或内部仓库。 |
| 标识仓库是否为模板,可用于生成新的仓库。 |
| 与仓库关联的许可证。 |
| 仓库被锁定的原因。 |
| 仓库的原始镜像 URL。 |
| 存储库的名称。 |
| 包含所有者名称的仓库名称。 |
| 在 Open Graph 数据中用于表示此仓库的图像。 |
| 仓库的用户所有者。 |
| 标识上次向仓库推送代码的日期和时间。 |
| 此仓库的 HTTP 路径。 |
| 仓库的描述,渲染为 HTML,不包含任何链接。
|
| 标识对象上次更新的日期和时间。 |
| 此仓库的 HTTP URL。 |
| 此仓库是否具有自定义图像用于 Open Graph,而不是由所有者的头像表示。 |
| 指示仓库的可见性级别。 |
RepositoryNode
表示属于仓库的对象。
RepositoryNode 由以下实现
提交评论CommitCommentThreadDependabotUpdate讨论DiscussionCategory问题问题评论PinnedDiscussion拉取请求PullRequestCommitCommentThread拉取请求审查拉取请求审查评论RepositoryVulnerabilityAlert
RepositoryNode 的字段
| 名称 | 描述 |
|---|---|
| 与该节点关联的仓库。 |
RepositoryOwner
表示仓库的所有者。
RepositoryOwner 由以下实现
RepositoryOwner 的字段
| 名称 | 描述 |
|---|---|
| 指向所有者公开头像的 URL。
|
| RepositoryOwner 对象的节点 ID。 |
| 用于登录的用户名。 |
| 用户拥有的仓库列表。
|
| 查找仓库。 |
| 所有者的 HTTP URL。 |
| 所有者的 HTTP URL。 |
RequirableByPullRequest
表示可以由拉取请求合并所需的类型。
RequirableByPullRequest 由以下实现
RequirableByPullRequest 的字段
| 名称 | 描述 |
|---|---|
| 对于特定拉取请求,是否需要在合并之前通过此项。 |
Sponsorable
可以通过 GitHub Sponsors 赞助或被赞助的实体。
Sponsorable 由以下实现
Sponsorable 的字段
| 名称 | 描述 |
|---|---|
| 此用户/组织的下一个 GitHub Sponsors 预计支付金额(以美分计)。 |
| 如果此用户/组织有 GitHub Sponsors 列表,则为 True。 |
| 给定帐户是否正在赞助此用户/组织。
|
| 如果查看者由此用户/组织赞助,则为 True。 |
| 计算每个赞助者通过 GitHub Sponsors 向此维护者支付的总金额。不包括通过 Patreon 支付的赞助。
|
| 此用户/组织的每月预计 GitHub Sponsors 收入(以美分计)。 |
| 此实体正在赞助的用户和组织列表。
|
| 此用户或组织的赞助者列表。 |
| 涉及此可赞助实体的事件,例如新的赞助。
|
| 此用户或组织的 GitHub Sponsors 列表。 |
| 查看者对该用户/组织的赞助;即,您作为赞助人的赞助。
|
| 该用户/组织对查看者的赞助;即,您收到的赞助。
|
| 从该可赞助对象发送给赞助商的赞助更新列表。
|
| 此用户或组织作为接收资金的维护者所获得的赞助。
|
| 此用户或组织作为出资者所提供的赞助。
|
| 此实体在 GitHub 上用于资助赞助的支出金额(以美分计,例如 500 = 5.00 美元)。仅当由用户自己或可以管理请求组织的赞助的用户查看时才会返回值。 |
| 查看者是否能够赞助此用户/组织。 |
| 如果查看者正在赞助此用户/组织,则为 true。 |
可加星标
可以加星标的事物。
Starrable 由以下对象实现
Starrable 的字段
| 名称 | 描述 |
|---|---|
| 可加星标对象的节点 ID。 |
| 返回此对象上的关注者数量。 |
| 已为该可加星标对象加星标的用户列表。 |
| 返回一个布尔值,指示查看用户是否已为该可加星标对象加星标。 |
可订阅
可以订阅以获取网络和电子邮件通知的实体。
Subscribable 由以下对象实现
Subscribable 的字段
| 名称 | 描述 |
|---|---|
| 可订阅对象的节点 ID。 |
| 检查查看者是否能够更改其对存储库的订阅状态。 |
| 标识查看者是否正在关注、未关注或忽略可订阅实体。 |
可订阅线程
可以订阅以获取网络和电子邮件通知的实体。
SubscribableThread 由以下对象实现
SubscribableThread 的字段
| 名称 | 描述 |
|---|---|
| 可订阅线程对象的节点 ID。 |
| 标识查看者的线程订阅表单操作。 |
| 标识查看者的线程订阅状态。 |
团队审计条目数据
具有操作 team.* 的审计条目的元数据。
TeamAuditEntryData 由以下对象实现
OrgRestoreMemberMembershipTeamAuditEntryDataTeamAddMemberAuditEntryTeamAddRepositoryAuditEntryTeamChangeParentTeamAuditEntryTeamRemoveMemberAuditEntryTeamRemoveRepositoryAuditEntry
TeamAuditEntryData 的字段
| 名称 | 描述 |
|---|---|
| 与操作关联的团队。 |
| 团队的名称。 |
| 此团队的 HTTP 路径。 |
| 此团队的 HTTP URL。 |
主题审计条目数据
具有主题的审计条目的元数据。
统一资源定位
表示可以通过 URL 检索的类型。
UniformResourceLocatable 由以下对象实现
机器人CheckRunClosedEvent提交ConvertToDraftEventCrossReferencedEventGist问题人偶MergedEvent里程碑组织拉取请求PullRequestCommitReadyForReviewEventReleaseRepositoryRepositoryTopicReviewDismissedEvent团队讨论团队讨论评论用户WorkflowWorkflowRunWorkflowRunFile
UniformResourceLocatable 的字段
| 名称 | 描述 |
|---|---|
| 此资源的 HTML 路径。 |
| 此资源的 URL。 |
可更新
可以更新的实体。
可更新评论
可以更新的评论。