跳至主要内容

GraphQL 中的对象代表您可以访问的资源。

本文内容

关于对象

GraphQL 中的对象代表你可以访问的资源。一个对象可以包含一个字段列表,这些字段具有特定的类型。

例如,Repository 对象有一个名为 name 的字段,其类型为 String

有关更多信息,请参阅GraphQL 简介

ActorConnection

Actor 的连接类型。

ActorConnection 的字段

名称描述

edges ([ActorEdge])

边的列表。

nodes ([Actor])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

ActorEdge

连接中的一条边。

ActorEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (Actor)

边的末端节点。

ActorLocation

参与者的位置信息。

ActorLocation 的字段

名称描述

city (String)

城市。

country (String)

国家名称。

countryCode (String)

国家代码。

region (String)

地区名称。

regionCode (String)

地区或州代码。

AddedToMergeQueueEvent

表示给定拉取请求上的 added_to_merge_queue 事件。

AddedToMergeQueueEvent 实现

AddedToMergeQueueEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

enqueuer (User)

将此拉取请求添加到合并队列的用户。

id (ID!)

AddedToMergeQueueEvent 对象的节点 ID。

mergeQueue (MergeQueue)

此拉取请求被添加到的合并队列。

pullRequest (PullRequest)

事件引用的拉取请求。

AddedToProjectEvent

表示给定问题或拉取请求上的 added_to_project 事件。

AddedToProjectEvent 实现

AddedToProjectEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (Int)

标识数据库中的主键。

警告

databaseId 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

id (ID!)

AddedToProjectEvent 对象的节点 ID。

project (Project)

事件引用的项目。

警告

project 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

projectCard (ProjectCard)

此项目事件引用的项目卡片。

警告

projectCard 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

projectColumnName (String!)

此项目事件引用的列名称。

警告

projectColumnName 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

AddedToProjectV2Event

表示给定议题或拉取请求上的 added_to_project_v2 事件。

AddedToProjectV2Event 实现

AddedToProjectV2Event 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

AddedToProjectV2Event 对象的节点 ID。

project (ProjectV2)

事件引用的项目。

wasAutomated (Boolean!)

此事件是否源于工作流自动化?

AnnouncementBanner

企业或组织的公告横幅。

AnnouncementBanner 的字段

名称描述

createdAt (DateTime!)

创建公告的日期。

expiresAt (DateTime)

公告的到期日期(如果有)。

isUserDismissible (Boolean!)

用户是否可以关闭此公告。

message (String)

公告的文本。

App

GitHub 应用。

App 实现

App 的字段

名称描述

clientId (String)

应用的客户端 ID。

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (Int)

标识数据库中的主键。

description (String)

应用的描述。

id (ID!)

App 对象的节点 ID。

ipAllowListEntries (IpAllowListEntryConnection!)

应用的 IP 地址。

ipAllowListEntries 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

logoBackgroundColor (String!)

徽标背景的十六进制颜色代码(不含开头的“#”)。

logoUrl (URI!)

指向应用徽标的 URL。

logoUrl 的参数

  • size (Int)

    生成图像的大小。

name (String!)

应用的名称。

slug (String!)

用于 URL 的基于应用名称的 slug。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

url (URI!)

应用主页的 URL。

AssignedEvent

表示任何可分配对象上的 assigned 事件。

AssignedEvent 实现

AssignedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

assignable (Assignable!)

标识与事件关联的可分配对象。

assignee (Assignee)

标识被分配的用户或虚拟用户。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

AssignedEvent 对象的节点 ID。

user (User)

标识被分配的用户。

警告

user 已弃用。

被分配者现在可以是虚拟用户。请改用 assignee 字段。将于世界协调时间 2020-01-01 移除。

AssigneeConnection

Assignee 的连接类型。

AssigneeConnection 的字段

名称描述

edges ([AssigneeEdge])

边的列表。

nodes ([Assignee])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

AssigneeEdge

连接中的一条边。

AssigneeEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (Assignee)

边的末端节点。

AutoMergeDisabledEvent

表示给定拉取请求上的 auto_merge_disabled 事件。

AutoMergeDisabledEvent 实现

AutoMergeDisabledEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

disabler (User)

禁用此拉取请求自动合并的用户。

id (ID!)

AutoMergeDisabledEvent 对象的节点 ID。

pullRequest (PullRequest)

事件引用的拉取请求。

reason (String)

禁用自动合并的原因。

reasonCode (String)

与禁用自动合并相关的原因代码。

AutoMergeEnabledEvent

表示给定拉取请求上的 auto_merge_enabled 事件。

AutoMergeEnabledEvent 实现

AutoMergeEnabledEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

enabler (User)

为此拉取请求启用自动合并的用户。

id (ID!)

AutoMergeEnabledEvent 对象的节点 ID。

pullRequest (PullRequest)

事件引用的拉取请求。

AutoMergeRequest

表示拉取请求的自动合并请求。

AutoMergeRequest 的字段

名称描述

authorEmail (String)

此自动合并请求作者的电子邮件地址。

commitBody (String)

自动合并请求的提交消息。如果基础分支需要合并队列,则此值将在合并时由合并队列设置。

commitHeadline (String)

自动合并请求的提交标题。如果基础分支需要合并队列,则此值将在合并时由合并队列设置。

enabledAt (DateTime)

此自动合并请求启用的时间。

enabledBy (Actor)

创建自动合并请求的操作者。

mergeMethod (PullRequestMergeMethod!)

自动合并请求的合并方法。如果基础分支需要合并队列,则此值将在合并时由合并队列设置。

pullRequest (PullRequest!)

此自动合并请求所针对的拉取请求。

AutoRebaseEnabledEvent

表示给定拉取请求上的 auto_rebase_enabled 事件。

AutoRebaseEnabledEvent 实现

AutoRebaseEnabledEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

enabler (User)

为此拉取请求启用自动合并(rebase)的用户。

id (ID!)

AutoRebaseEnabledEvent 对象的节点 ID。

pullRequest (PullRequest)

事件引用的拉取请求。

AutoSquashEnabledEvent

表示给定拉取请求上的 auto_squash_enabled 事件。

AutoSquashEnabledEvent 实现

AutoSquashEnabledEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

enabler (User)

为此拉取请求启用自动合并(squash)的用户。

id (ID!)

AutoSquashEnabledEvent 对象的节点 ID。

pullRequest (PullRequest)

事件引用的拉取请求。

AutomaticBaseChangeFailedEvent

表示给定拉取请求上的 automatic_base_change_failed 事件。

AutomaticBaseChangeFailedEvent 实现

AutomaticBaseChangeFailedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

AutomaticBaseChangeFailedEvent 对象的节点 ID。

newBase (String!)

此 PR 的新基础。

oldBase (String!)

此 PR 的旧基础。

pullRequest (PullRequest!)

事件引用的拉取请求。

AutomaticBaseChangeSucceededEvent

表示给定拉取请求上的 automatic_base_change_succeeded 事件。

AutomaticBaseChangeSucceededEvent 实现

AutomaticBaseChangeSucceededEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

AutomaticBaseChangeSucceededEvent 对象的节点 ID。

newBase (String!)

此 PR 的新基础。

oldBase (String!)

此 PR 的旧基础。

pullRequest (PullRequest!)

事件引用的拉取请求。

BaseRefChangedEvent

表示给定议题或拉取请求上的 base_ref_changed 事件。

BaseRefChangedEvent 实现

BaseRefChangedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

currentRefName (String!)

标识更改后拉取请求的基础 ref 名称。

databaseId (Int)

标识数据库中的主键。

id (ID!)

BaseRefChangedEvent 对象的节点 ID。

previousRefName (String!)

标识更改前拉取请求的基础 ref 名称。

pullRequest (PullRequest!)

事件引用的拉取请求。

BaseRefDeletedEvent

表示给定拉取请求上的 base_ref_deleted 事件。

BaseRefDeletedEvent 实现

BaseRefDeletedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

baseRefName (String)

标识与 base_ref_deleted 事件关联的 Ref 名称。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

BaseRefDeletedEvent 对象的节点 ID。

pullRequest (PullRequest)

事件引用的拉取请求。

BaseRefForcePushedEvent

表示给定拉取请求上的 base_ref_force_pushed 事件。

BaseRefForcePushedEvent 实现

BaseRefForcePushedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

afterCommit (Commit)

标识 base_ref_force_pushed 事件的 after commit SHA。

beforeCommit (Commit)

标识 base_ref_force_pushed 事件的 before commit SHA。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

BaseRefForcePushedEvent 对象的节点 ID。

pullRequest (PullRequest!)

事件引用的拉取请求。

ref (Ref)

标识 base_ref_force_pushed 事件的完全限定 ref 名称。

Blame

表示 Git blame。

Blame 的字段

名称描述

ranges ([BlameRange!]!)

Git blame 的范围列表。

BlameRange

表示来自 Git blame 的信息范围。

BlameRange 的字段

名称描述

age (Int!)

标识更改的近况,从 1(新)到 10(旧)。这是按 2-分位数计算的,并确定文件中所有更改的中值年龄与当前范围更改的近况之间的距离长度。

commit (Commit!)

标识行作者。

endingLine (Int!)

范围的结束行。

startingLine (Int!)

范围的起始行。

Blob

表示 Git blob。

Blob 实现

Blob 的字段

名称描述

abbreviatedOid (String!)

Git 对象 ID 的缩写版本。

byteSize (Int!)

Blob 对象的字节大小。

commitResourcePath (URI!)

此 Git 对象的 HTTP 路径。

commitUrl (URI!)

此 Git 对象的 HTTP URL。

id (ID!)

Blob 对象的节点 ID。

isBinary (Boolean)

指示 Blob 是二进制还是文本。如果无法确定编码,则返回 null。

isTruncated (Boolean!)

指示内容是否被截断。

oid (GitObjectID!)

Git 对象 ID。

repository (Repository!)

Git 对象所属的存储库。

text (String)

UTF8 文本数据,如果 Blob 是二进制,则为 null。

BlockedByAddedEvent

表示给定议题上的 blocked_by_added 事件。

BlockedByAddedEvent 实现

BlockedByAddedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

blockingIssue (Issue)

已添加的阻塞议题。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

BlockedByAddedEvent 对象的节点 ID。

BlockedByRemovedEvent

表示给定议题上的 blocked_by_removed 事件。

BlockedByRemovedEvent 实现

BlockedByRemovedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

blockingIssue (Issue)

已移除的阻塞议题。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

BlockedByRemovedEvent 对象的节点 ID。

BlockingAddedEvent

表示给定议题上的 blocking_added 事件。

BlockingAddedEvent 实现

BlockingAddedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

blockedIssue (Issue)

已添加的被阻塞议题。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

BlockingAddedEvent 对象的节点 ID。

BlockingRemovedEvent

表示给定议题上的 blocking_removed 事件。

BlockingRemovedEvent 实现

BlockingRemovedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

blockedIssue (Issue)

已移除的被阻塞议题。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

BlockingRemovedEvent 对象的节点 ID。

Bot

代表 GitHub App 执行操作的特殊用户类型。

Bot 实现

Bot 的字段

名称描述

avatarUrl (URI!)

指向 GitHub App 公共头像的 URL。

avatarUrl 的参数

  • size (Int)

    生成正方形图像的大小。

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (Int)

标识数据库中的主键。

id (ID!)

Bot 对象的节点 ID。

login (String!)

参与者的用户名。

resourcePath (URI!)

此机器人的 HTTP 路径。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

url (URI!)

此机器人的 HTTP URL。

BranchNamePatternParameters

用于 branch_name_pattern 规则的参数。

BranchNamePatternParameters 的字段

名称描述

name (String)

此规则在配置时显示的方式。

negate (Boolean!)

如果为 true,则如果模式匹配,规则将失败。

operator (String!)

用于匹配的运算符。

pattern (String!)

要匹配的模式。

BranchProtectionRule

分支保护规则。

BranchProtectionRule 实现

BranchProtectionRule 的字段

名称描述

allowsDeletions (Boolean!)

是否允许删除此分支。

allowsForcePushes (Boolean!)

是否允许对该分支进行强制推送。

blocksCreations (Boolean!)

分支创建是否为受保护操作。

branchProtectionRuleConflicts (BranchProtectionRuleConflictConnection!)

与分支保护规则和其他分支保护规则匹配的冲突列表。

branchProtectionRuleConflicts 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

bypassForcePushAllowances (BypassForcePushAllowanceConnection!)

允许对此分支保护规则进行强制推送的操作者列表。

bypassForcePushAllowances 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

bypassPullRequestAllowances (BypassPullRequestAllowanceConnection!)

允许绕过此分支保护规则的 PR 的操作者列表。

bypassPullRequestAllowances 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

creator (Actor)

创建此分支保护规则的操作者。

databaseId (Int)

标识数据库中的主键。

dismissesStaleReviews (Boolean!)

推送到匹配分支的新提交是否会关闭拉取请求审核批准。

id (ID!)

BranchProtectionRule 对象的节点 ID。

isAdminEnforced (Boolean!)

管理员是否可以覆盖分支保护。

lockAllowsFetchAndMerge (Boolean!)

锁定分支时,用户是否可以从上游拉取更改。设置为 true 以允许 fork 同步。设置为 false 以防止 fork 同步。

lockBranch (Boolean!)

是否将分支设置为只读。如果为 true,用户将无法推送到此分支。

matchingRefs (RefConnection!)

受此规则保护的存储库 ref。

matchingRefs 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • query (String)

    使用名称上的查询筛选 ref。

pattern (String!)

标识保护规则模式。

pushAllowances (PushAllowanceConnection!)

此分支保护规则的推送允许列表。

pushAllowances 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

repository (Repository)

与此分支保护规则关联的存储库。

requireLastPushApproval (Boolean!)

最近一次推送是否必须由推送者以外的人批准。

requiredApprovingReviewCount (Int)

更新匹配分支所需的批准审核次数。

requiredDeploymentEnvironments ([String])

必须成功部署才能更新匹配分支的所需部署环境列表。

requiredStatusCheckContexts ([String])

必须通过才能接受提交到匹配分支的所需状态检查上下文列表。

requiredStatusChecks ([RequiredStatusCheckDescription!])

必须通过才能接受提交到匹配分支的所需状态检查列表。

requiresApprovingReviews (Boolean!)

更新匹配分支是否需要批准审核。

requiresCodeOwnerReviews (Boolean!)

更新匹配分支是否需要代码所有者的审核。

requiresCommitSignatures (Boolean!)

提交是否需要签名。

requiresConversationResolution (Boolean!)

合并前是否需要解决对话。

requiresDeployments (Boolean!)

此分支在合并前是否需要部署到特定环境。

requiresLinearHistory (Boolean!)

是否禁止将合并提交推送到此分支。

requiresStatusChecks (Boolean!)

更新匹配分支是否需要状态检查。

requiresStrictStatusChecks (Boolean!)

合并前是否需要分支保持最新状态。

restrictsPushes (Boolean!)

是否限制推送到匹配分支。

restrictsReviewDismissals (Boolean!)

是否限制关闭拉取请求审核。

reviewDismissalAllowances (ReviewDismissalAllowanceConnection!)

此分支保护规则的审核关闭允许列表。

reviewDismissalAllowances 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

BranchProtectionRuleConflict

两个分支保护规则之间的冲突。

BranchProtectionRuleConflict 的字段

名称描述

branchProtectionRule (BranchProtectionRule)

标识分支保护规则。

conflictingBranchProtectionRule (BranchProtectionRule)

标识冲突的分支保护规则。

ref (Ref)

标识具有冲突规则的分支 ref。

BranchProtectionRuleConflictConnection

BranchProtectionRuleConflict 的连接类型。

BranchProtectionRuleConflictConnection 的字段

名称描述

edges ([BranchProtectionRuleConflictEdge])

边的列表。

nodes ([BranchProtectionRuleConflict])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

BranchProtectionRuleConflictEdge

连接中的一条边。

BranchProtectionRuleConflictEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (BranchProtectionRuleConflict)

边的末端节点。

BranchProtectionRuleConnection

BranchProtectionRule 的连接类型。

BranchProtectionRuleConnection 的字段

名称描述

edges ([BranchProtectionRuleEdge])

边的列表。

nodes ([BranchProtectionRule])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

BranchProtectionRuleEdge

连接中的一条边。

BranchProtectionRuleEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (BranchProtectionRule)

边的末端节点。

BypassForcePushAllowance

能够绕过受保护分支上的强制推送要求的用户、团队或应用。

BypassForcePushAllowance 实现

BypassForcePushAllowance 的字段

名称描述

actor (BranchActorAllowanceActor)

可以强制推送的操作者。

branchProtectionRule (BranchProtectionRule)

标识与允许的用户、团队或应用关联的分支保护规则。

id (ID!)

BypassForcePushAllowance 对象的节点 ID。

BypassForcePushAllowanceConnection

BypassForcePushAllowance 的连接类型。

BypassForcePushAllowanceConnection 的字段

名称描述

edges ([BypassForcePushAllowanceEdge])

边的列表。

nodes ([BypassForcePushAllowance])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

BypassForcePushAllowanceEdge

连接中的一条边。

BypassForcePushAllowanceEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (BypassForcePushAllowance)

边的末端节点。

BypassPullRequestAllowance

能够绕过受保护分支上的拉取请求要求的用户、团队或应用。

BypassPullRequestAllowance 实现

BypassPullRequestAllowance 的字段

名称描述

actor (BranchActorAllowanceActor)

可以绕过的操作者。

branchProtectionRule (BranchProtectionRule)

标识与允许的用户、团队或应用关联的分支保护规则。

id (ID!)

BypassPullRequestAllowance 对象的节点 ID。

BypassPullRequestAllowanceConnection

BypassPullRequestAllowance 的连接类型。

BypassPullRequestAllowanceConnection 的字段

名称描述

edges ([BypassPullRequestAllowanceEdge])

边的列表。

nodes ([BypassPullRequestAllowance])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

BypassPullRequestAllowanceEdge

连接中的一条边。

BypassPullRequestAllowanceEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (BypassPullRequestAllowance)

边的末端节点。

CVSS

通用漏洞评分系统。

CVSS 的字段

名称描述

score (Float!)

与此咨询关联的 CVSS 分数。

vectorString (String)

与此咨询关联的 CVSS 向量字符串。

CWE

常见弱点枚举。

CWE 实现

CWE 的字段

名称描述

cweId (String!)

CWE 的 ID。

description (String!)

此 CWE 的详细描述。

id (ID!)

CWE 对象的节点 ID。

name (String!)

此 CWE 的名称。

CWEConnection

CWE 的连接类型。

CWEConnection 的字段

名称描述

edges ([CWEEdge])

边的列表。

nodes ([CWE])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

CWEEdge

连接中的一条边。

CWEEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (CWE)

边的末端节点。

CheckAnnotation

单个检查批注。

CheckAnnotation 的字段

名称描述

annotationLevel (CheckAnnotationLevel)

批注的严重性级别。

blobUrl (URI!)

此批注所在文件的路径。

databaseId (Int)

标识数据库中的主键。

警告

databaseId 已弃用。

databaseId 将被移除,因为它不支持 64 位带符号整数标识符。请改用 fullDatabaseId。将于世界协调时间 2027-01-01 移除。

fullDatabaseId (BigInt)

将数据库中的主键标识为 BigInt。

location (CheckAnnotationSpan!)

此批注的位置。

message (String!)

批注的消息。

path (String!)

此批注所在的路径。

rawDetails (String)

有关批注的其他信息。

title (String)

批注的标题。

CheckAnnotationConnection

CheckAnnotation 的连接类型。

CheckAnnotationConnection 的字段

名称描述

edges ([CheckAnnotationEdge])

边的列表。

nodes ([CheckAnnotation])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

CheckAnnotationEdge

连接中的一条边。

CheckAnnotationEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (CheckAnnotation)

边的末端节点。

CheckAnnotationPosition

检查批注中的字符位置。

CheckAnnotationPosition 的字段

名称描述

column (Int)

列号(从 1 开始)。

line (Int!)

行号(从 1 开始)。

CheckAnnotationSpan

检查批注的位置包含对。

CheckAnnotationSpan 的字段

名称描述

end (CheckAnnotationPosition!)

结束位置(包含)。

start (CheckAnnotationPosition!)

起始位置(包含)。

CheckRun

检查运行。

CheckRun 实现

CheckRun 的字段

名称描述

annotations (CheckAnnotationConnection)

检查运行的批注。

annotations 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

checkSuite (CheckSuite!)

此运行所属的检查套件。

completedAt (DateTime)

标识检查运行完成时的日期和时间。

conclusion (CheckConclusionState)

检查运行的结论。

databaseId (Int)

标识数据库中的主键。

deployment (Deployment)

此作业对应的部署(如果有)。

detailsUrl (URI)

用于在集成者网站上查找检查运行完整详细信息的 URL。

externalId (String)

集成者系统上检查运行的引用。

id (ID!)

CheckRun 对象的节点 ID。

isRequired (Boolean!)

是否需要通过此检查才能合并特定拉取请求。

isRequired 的参数

  • pullRequestId (ID)

    此必需项的拉取请求 ID。

  • pullRequestNumber (Int)

    此必需项的拉取请求编号。

name (String!)

此检查运行的检查名称。

pendingDeploymentRequest (DeploymentRequest)

此检查运行中的待处理部署信息(如果有)。

permalink (URI!)

检查运行摘要的永久链接。

repository (Repository!)

与此检查运行关联的存储库。

resourcePath (URI!)

此检查运行的 HTTP 路径。

startedAt (DateTime)

标识检查运行开始时的日期和时间。

status (CheckStatusState!)

检查运行的当前状态。

steps (CheckStepConnection)

检查运行的步骤。

steps 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • number (Int)

    步骤编号。

summary (String)

表示检查运行摘要的字符串。

text (String)

表示检查运行文本的字符串。

title (String)

表示检查运行的字符串。

url (URI!)

此检查运行的 HTTP URL。

CheckRunConnection

CheckRun 的连接类型。

CheckRunConnection 的字段

名称描述

edges ([CheckRunEdge])

边的列表。

nodes ([CheckRun])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

CheckRunEdge

连接中的一条边。

CheckRunEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (CheckRun)

边的末端节点。

CheckRunStateCount

表示检查运行状态的计数。

CheckRunStateCount 的字段

名称描述

count (Int!)

此状态的检查运行数。

state (CheckRunState!)

检查运行的状态。

CheckStep

单个检查步骤。

CheckStep 的字段

名称描述

completedAt (DateTime)

标识检查步骤完成时的日期和时间。

conclusion (CheckConclusionState)

检查步骤的结论。

externalId (String)

集成者系统上检查步骤的引用。

name (String!)

步骤的名称。

number (Int!)

步骤在其父检查运行的步骤列表中的索引。

secondsToCompletion (Int)

完成所需秒数。

startedAt (DateTime)

标识检查步骤开始时的日期和时间。

status (CheckStatusState!)

检查步骤的当前状态。

CheckStepConnection

CheckStep 的连接类型。

CheckStepConnection 的字段

名称描述

edges ([CheckStepEdge])

边的列表。

nodes ([CheckStep])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

CheckStepEdge

连接中的一条边。

CheckStepEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (CheckStep)

边的末端节点。

CheckSuite

检查套件。

CheckSuite 实现

CheckSuite 的字段

名称描述

app (App)

创建此检查套件的 GitHub App。

branch (Ref)

此检查套件的分支名称。

checkRuns (CheckRunConnection)

与检查套件关联的检查运行。

checkRuns 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

commit (Commit!)

此检查套件的提交。

conclusion (CheckConclusionState)

此检查套件的结论。

createdAt (DateTime!)

标识对象创建的日期和时间。

creator (User)

触发检查套件的用户。

databaseId (Int)

标识数据库中的主键。

id (ID!)

CheckSuite 对象的节点 ID。

matchingPullRequests (PullRequestConnection)

与检查套件匹配的开放拉取请求列表。

matchingPullRequests 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • baseRefName (String)

    用于筛选拉取请求的基础 ref 名称。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • headRefName (String)

    用于筛选拉取请求的头部 ref 名称。

  • labels ([String!])

    用于筛选拉取请求的标签名称列表。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (IssueOrder)

    连接返回的拉取请求的排序选项。

push (Push)

触发此检查套件的推送。

repository (Repository!)

与此检查套件关联的存储库。

resourcePath (URI!)

此检查套件的 HTTP 路径。

status (CheckStatusState!)

此检查套件的状态。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

url (URI!)

此检查套件的 HTTP URL。

workflowRun (WorkflowRun)

与此检查套件关联的工作流运行。

CheckSuiteConnection

CheckSuite 的连接类型。

CheckSuiteConnection 的字段

名称描述

edges ([CheckSuiteEdge])

边的列表。

nodes ([CheckSuite])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

CheckSuiteEdge

连接中的一条边。

CheckSuiteEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (CheckSuite)

边的末端节点。

ClosedEvent

表示任何 Closable 上的 closed 事件。

ClosedEvent 实现

ClosedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

closable (Closable!)

已关闭的对象。

closer (Closer)

触发此事件创建的对象。

createdAt (DateTime!)

标识对象创建的日期和时间。

duplicateOf (IssueOrPullRequest)

此议题被标记为重复的议题或拉取请求。

id (ID!)

ClosedEvent 对象的节点 ID。

resourcePath (URI!)

此 closed 事件的 HTTP 路径。

stateReason (IssueStateReason)

议题状态更改为已关闭的原因。

url (URI!)

此 closed 事件的 HTTP URL。

CodeOfConduct

存储库的行为准则。

CodeOfConduct 实现

CodeOfConduct 的字段

名称描述

body (String)

行为准则的正文。

id (ID!)

CodeOfConduct 对象的节点 ID。

key (String!)

行为准则的键。

name (String!)

行为准则的正式名称。

resourcePath (URI)

此行为准则的 HTTP 路径。

url (URI)

此行为准则的 HTTP URL。

CodeScanningParameters

选择哪些工具必须在引用更新之前提供代码扫描结果。配置后,必须启用代码扫描并为提交和正在更新的引用提供结果。

CodeScanningParameters 的字段

名称描述

codeScanningTools ([CodeScanningTool!]!)

此规则通过必须提供代码扫描结果的工具。

CodeScanningTool

此规则必须通过的代码扫描工具。

CodeScanningTool 的字段

名称描述

alertsThreshold (String!)

引发警报的代码扫描结果阻止引用更新的严重性级别。有关警报严重性级别的详细信息,请参阅“关于代码扫描警报”。

securityAlertsThreshold (String!)

引发安全警报的代码扫描结果阻止引用更新的严重性级别。有关安全严重性级别的详细信息,请参阅“关于代码扫描警报”。

tool (String!)

代码扫描工具的名称。

CommentDeletedEvent

表示给定议题或拉取请求上的 comment_deleted 事件。

CommentDeletedEvent 实现

CommentDeletedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (Int)

标识数据库中的主键。

deletedCommentAuthor (Actor)

删除评论的作者。

id (ID!)

CommentDeletedEvent 对象的节点 ID。

Commit

表示 Git 提交。

Commit 实现

Commit 的字段

名称描述

abbreviatedOid (String!)

Git 对象 ID 的缩写版本。

additions (Int!)

此提交中的新增行数。

associatedPullRequests (PullRequestConnection)

将提交引入存储库的已合并拉取请求。如果提交不存在于默认分支中,则额外返回与提交关联的开放拉取请求。

associatedPullRequests 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

author (GitActor)

提交的作者详细信息。

authoredByCommitter (Boolean!)

检查提交者和作者是否匹配。

authoredDate (DateTime!)

此提交的创作日期时间。

authors (GitActorConnection!)

根据 git 作者和 Co-authored-by 消息预告片,此提交的作者列表。git 作者始终排在第一位。

authors 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

blame (Blame!)

获取 git blame 信息。

blame 的参数

  • path (String!)

    要获取 Git blame 信息的文件。

changedFiles (Int!)

我们建议使用 changedFilesIfAvailable 字段而不是 changedFiles,因为如果 GitHub 无法计算更改的文件数,changedFiles 将导致请求返回错误。

警告

changedFiles 已弃用。

changedFiles 将被移除。请改用 changedFilesIfAvailable。将于世界协调时间 2023-01-01 移除。

changedFilesIfAvailable (Int)

此提交中更改的文件数。如果 GitHub 无法计算更改的文件数(例如由于超时),此项将返回 null。我们建议使用此字段而不是 changedFiles

checkSuites (CheckSuiteConnection)

与提交关联的检查套件。

checkSuites 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

comments (CommitCommentConnection!)

对提交发表的评论。

comments 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

commitResourcePath (URI!)

此 Git 对象的 HTTP 路径。

commitUrl (URI!)

此 Git 对象的 HTTP URL。

committedDate (DateTime!)

此提交的提交日期时间。

committedViaWeb (Boolean!)

检查是否通过 GitHub Web UI 提交。

committer (GitActor)

提交的提交者详细信息。

deletions (Int!)

此提交中的删除行数。

deployments (DeploymentConnection)

与提交关联的部署。

deployments 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • environments ([String!])

    要列出部署的环境。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

file (TreeEntry)

表示给定路径下文件的树条目。

file 的参数

history (CommitHistoryConnection!)

从(并包括)此提交开始的线性提交历史记录,顺序与 git log 相同。

history 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • author (CommitAuthor)

    如果非 null,则筛选历史记录以仅显示具有匹配作者身份的提交。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • path (String)

    如果非 null,则筛选历史记录以仅显示修改此路径下文件的提交。

  • since (GitTimestamp)

    允许指定用于获取提交的起始时间或日期。对于不在 1970-01-01 和 2099-12-13 之间(含)的日期,可能会返回意外结果。

  • until (GitTimestamp)

    允许指定用于获取提交的结束时间或日期。对于不在 1970-01-01 和 2099-12-13 之间(含)的日期,可能会返回意外结果。

id (ID!)

Commit 对象的节点 ID。

message (String!)

Git 提交消息。

messageBody (String!)

Git 提交消息正文。

messageBodyHTML (HTML!)

渲染为 HTML 的提交消息正文。

messageHeadline (String!)

Git 提交消息标题。

messageHeadlineHTML (HTML!)

渲染为 HTML 的提交消息标题。

oid (GitObjectID!)

Git 对象 ID。

onBehalfOf (Organization)

此提交代表的组织。

parents (CommitConnection!)

提交的父项。

parents 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

pushedDate (DateTime)

此提交推送的日期时间。

警告

pushedDate 已弃用。

不再支持 pushedDate。将于世界协调时间 2023-07-01 移除。

repository (Repository!)

此提交所属的存储库。

resourcePath (URI!)

此提交的 HTTP 路径。

signature (GitSignature)

提交签名信息(如果存在)。

status (Status)

此提交的状态信息。

statusCheckRollup (StatusCheckRollup)

此提交的检查和状态汇总信息。

submodules (SubmoduleConnection!)

返回此提交时从 .gitmodules 文件解析的此存储库中所有子模块的列表。

submodules 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

tarballUrl (URI!)

返回用于下载存储库 tarball 存档的 URL。注意:对于私有存储库,这些链接是临时的,五分钟后过期。

tree (Tree!)

提交的根 Tree。

treeResourcePath (URI!)

此提交树的 HTTP 路径。

treeUrl (URI!)

此提交树的 HTTP URL。

url (URI!)

此提交的 HTTP URL。

viewerCanSubscribe (Boolean!)

检查查看者是否能够更改他们对存储库的订阅状态。

viewerSubscription (SubscriptionState)

标识查看者是在关注、未关注还是忽略可订阅实体。

zipballUrl (URI!)

返回用于下载存储库 zipball 存档的 URL。注意:对于私有存储库,这些链接是临时的,五分钟后过期。

CommitAuthorEmailPatternParameters

用于 commit_author_email_pattern 规则的参数。

CommitAuthorEmailPatternParameters 的字段

名称描述

name (String)

此规则在配置时显示的方式。

negate (Boolean!)

如果为 true,则如果模式匹配,规则将失败。

operator (String!)

用于匹配的运算符。

pattern (String!)

要匹配的模式。

CommitComment

表示给定 Commit 上的评论。

CommitComment 实现

CommitComment 的字段

名称描述

author (Actor)

撰写评论的操作者。

authorAssociation (CommentAuthorAssociation!)

作者与评论主题的关联。

body (String!)

标识评论正文。

bodyHTML (HTML!)

渲染为 HTML 的正文。

bodyText (String!)

渲染为文本的正文。

commit (Commit)

标识与评论关联的提交,如果提交存在。

createdAt (DateTime!)

标识对象创建的日期和时间。

createdViaEmail (Boolean!)

检查此评论是否通过电子邮件回复创建。

databaseId (Int)

标识数据库中的主键。

editor (Actor)

编辑评论的操作者。

id (ID!)

CommitComment 对象的 Node ID。

includesCreatedEdit (Boolean!)

检查此评论是否经过编辑并包含创建数据中的编辑。

isMinimized (Boolean!)

返回评论是否已最小化。

lastEditedAt (DateTime)

编辑者最后一次编辑的时间。

minimizedReason (String)

返回评论被最小化的原因。包括 abuse(滥用)、off-topic(离题)、outdated(过时)、resolved(已解决)、duplicate(重复)、spam(垃圾邮件)和 low-quality(低质量)。请注意,这些值的大小写和格式与 MinimizeComment mutation 的输入不同。

path (String)

标识与评论关联的文件路径。

position (Int)

标识与评论关联的行位置。

publishedAt (DateTime)

标识评论的发布时间。

reactionGroups ([ReactionGroup!])

按内容分组的对主题留下的反应列表。

reactions (ReactionConnection!)

对 Issue 留下的 Reactions 列表。

reactions 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

repository (Repository!)

与此节点关联的仓库。

resourcePath (URI!)

此提交评论的 HTTP 路径永久链接。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

url (URI!)

此提交评论的 HTTP URL 永久链接。

userContentEdits (UserContentEditConnection)

此内容的编辑列表。

userContentEdits 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

viewerCanDelete (Boolean!)

检查当前查看者是否可以删除此对象。

viewerCanMinimize (Boolean!)

检查当前查看者是否可以最小化此对象。

viewerCanReact (Boolean!)

用户是否可以对此主题做出反应。

viewerCanUnminimize (Boolean!)

检查当前查看者是否可以取消最小化此对象。

viewerCanUpdate (Boolean!)

检查当前查看者是否可以更新此对象。

viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

当前查看者无法更新此评论的原因。

viewerDidAuthor (Boolean!)

查看者是否是此评论的作者。

CommitCommentConnection

CommitComment 的连接类型。

CommitCommentConnection 的字段

名称描述

edges ([CommitCommentEdge])

边的列表。

nodes ([CommitComment])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

CommitCommentEdge

连接中的一条边。

CommitCommentEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (CommitComment)

边的末端节点。

CommitCommentThread

提交上的评论线程。

CommitCommentThread 实现

CommitCommentThread 的字段

名称描述

comments (CommitCommentConnection!)

此线程中存在的评论。

comments 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

commit (Commit)

评论所在的提交。

id (ID!)

CommitCommentThread 对象的 Node ID。

path (String)

评论所在的文件。

position (Int)

评论所在提交的差异位置。

repository (Repository!)

与此节点关联的仓库。

CommitConnection

Commit 的连接类型。

CommitConnection 的字段

名称描述

edges ([CommitEdge])

边的列表。

nodes ([Commit])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

CommitContributionsByRepository

这汇总了用户在一个仓库中进行的提交。

CommitContributionsByRepository 的字段

名称描述

contributions (CreatedCommitContributionConnection!)

提交贡献,每个代表一天。

contributions 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

repository (Repository!)

进行提交的仓库。

resourcePath (URI!)

用户在此时间范围内对仓库提交的 HTTP 路径。

url (URI!)

用户在此时间范围内对仓库提交的 HTTP URL。

CommitEdge

连接中的一条边。

CommitEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (Commit)

边的末端节点。

CommitHistoryConnection

Commit 的连接类型。

CommitHistoryConnection 的字段

名称描述

edges ([CommitEdge])

边的列表。

nodes ([Commit])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

CommitMessagePatternParameters

用于 commit_message_pattern 规则的参数。

CommitMessagePatternParameters 的字段

名称描述

name (String)

此规则在配置时显示的方式。

negate (Boolean!)

如果为 true,则如果模式匹配,规则将失败。

operator (String!)

用于匹配的运算符。

pattern (String!)

要匹配的模式。

CommitterEmailPatternParameters

用于 committer_email_pattern 规则的参数。

CommitterEmailPatternParameters 的字段

名称描述

name (String)

此规则在配置时显示的方式。

negate (Boolean!)

如果为 true,则如果模式匹配,规则将失败。

operator (String!)

用于匹配的运算符。

pattern (String!)

要匹配的模式。

Comparison

表示两个提交版本之间的比较。

Comparison 实现

Comparison 的字段

名称描述

aheadBy (Int!)

领先于基本分支的提交数。

baseTarget (GitObject!)

此比较的基本版本。

behindBy (Int!)

落后于基本分支的提交数。

commits (ComparisonCommitConnection!)

构成此比较的提交。

commits 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

headTarget (GitObject!)

此比较的头部版本。

id (ID!)

Comparison 对象的 Node ID。

status (ComparisonStatus!)

此比较的状态。

ComparisonCommitConnection

Commit 的连接类型。

ComparisonCommitConnection 的字段

名称描述

authorCount (Int!)

所有提交中作者和共同作者的总数。

edges ([CommitEdge])

边的列表。

nodes ([Commit])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

ConnectedEvent

表示给定 issue 或 pull request 上的 connected 事件。

ConnectedEvent 实现

ConnectedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

ConnectedEvent 对象的 Node ID。

isCrossRepository (Boolean!)

引用源自不同的仓库。

source (ReferencedSubject!)

进行引用的 Issue 或 pull request。

subject (ReferencedSubject!)

被连接的 Issue 或 pull request。

ContributingGuidelines

仓库的贡献指南。

ContributingGuidelines 的字段

名称描述

body (String)

贡献指南的正文。

resourcePath (URI)

贡献指南的 HTTP 路径。

url (URI)

贡献指南的 HTTP URL。

ContributionCalendar

用户在 GitHub 上贡献的日历。

ContributionCalendar 的字段

名称描述

colors ([String!]!)

此日历中使用的十六进制颜色代码列表。颜色越深,代表的贡献越多。

isHalloween (Boolean!)

确定是否因为当前是万圣节而选择了颜色集。

months ([ContributionCalendarMonth!]!)

此日历中的贡献月份列表。

totalContributions (Int!)

日历中总贡献数。

weeks ([ContributionCalendarWeek!]!)

此日历中的贡献周列表。

ContributionCalendarDay

表示用户在 GitHub 上贡献的一天。

ContributionCalendarDay 的字段

名称描述

color (String!)

表示此日贡献数量相对于日历中其他日期的十六进制颜色代码。

contributionCount (Int!)

用户在此日进行的贡献数。

contributionLevel (ContributionLevel!)

贡献水平的指示,相对于其他日期。可用于指示在日历上表示此日期的颜色。

date (Date!)

此方块代表的日期。

weekday (Int!)

代表此方块所代表的星期几的数字,例如 1 是星期一。

ContributionCalendarMonth

用户贡献图中的一个月贡献。

ContributionCalendarMonth 的字段

名称描述

firstDay (Date!)

此月第一天的日期。

name (String!)

月份名称。

totalWeeks (Int!)

本月开始的周数。

year (Int!)

月份发生的年份。

ContributionCalendarWeek

用户贡献图中的一周贡献。

ContributionCalendarWeek 的字段

名称描述

contributionDays ([ContributionCalendarDay!]!)

此周的贡献日。

firstDay (Date!)

此周最早方块的日期。

ContributionsCollection

用户所做贡献的集合,包括已打开的 issue、提交和 pull request。私有和内部仓库中的贡献只有在可选的 read:user 范围下才包含在内。

ContributionsCollection 的字段

名称描述

commitContributionsByRepository ([CommitContributionsByRepository!]!)

按仓库分组的用户提交贡献。

commitContributionsByRepository 的参数

  • maxRepositories (Int)

    应包含的仓库数量。

    默认值为 25

contributionCalendar (ContributionCalendar!)

此用户在 GitHub 上的贡献日历。

contributionYears ([Int!]!)

用户进行贡献的年份,最近的年份优先。

doesEndInCurrentMonth (Boolean!)

确定此集合的时间跨度是否在当前月份结束。

earliestRestrictedContributionDate (Date)

用户在此时间段内进行的第一个受限贡献的日期。仅当用户启用了私有贡献计数时才可能非空。

endedAt (DateTime!)

此集合的结束日期和时间。

firstIssueContribution (CreatedIssueOrRestrictedContribution)

用户在 GitHub 上打开的第一个 issue。如果该 issue 在集合的时间范围之外打开且 ignoreTimeRange 为 false,则此项为 null。如果该 issue 不可见,但用户选择了显示私有贡献,则返回 RestrictedContribution。

firstPullRequestContribution (CreatedPullRequestOrRestrictedContribution)

用户在 GitHub 上打开的第一个 pull request。如果该 pull request 在集合的时间范围之外打开且 ignoreTimeRange 不为 true,则此项为 null。如果该 pull request 不可见,但用户选择了显示私有贡献,则返回 RestrictedContribution。

firstRepositoryContribution (CreatedRepositoryOrRestrictedContribution)

用户在 GitHub 上创建的第一个仓库。如果该第一个仓库在集合的时间范围之外创建且 ignoreTimeRange 为 false,则此项为 null。如果该仓库不可见,则返回 RestrictedContribution。

hasActivityInThePast (Boolean!)

用户在时间轴中是否有任何发生在集合时间范围之前的活动?。

hasAnyContributions (Boolean!)

确定此集合中是否有任何贡献。

hasAnyRestrictedContributions (Boolean!)

确定用户在此时间范围内是否进行了任何贡献,但由于是在私有仓库中进行的,其详细信息不可见。仅当用户启用了私有贡献计数时才可能为 true。

isSingleDay (Boolean!)

收集器的时间跨度是否都在同一天内。

issueContributions (CreatedIssueContributionConnection!)

用户打开的 issue 列表。

issueContributions 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • excludeFirst (Boolean)

    是否应将用户有史以来第一个 issue 从结果中排除。

    默认值为 false

  • excludePopular (Boolean)

    是否应将用户评论最多的 issue 从结果中排除。

    默认值为 false

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

issueContributionsByRepository ([IssueContributionsByRepository!]!)

按仓库分组的用户 issue 贡献。

issueContributionsByRepository 的参数

  • excludeFirst (Boolean)

    是否应将用户有史以来第一个 issue 从结果中排除。

    默认值为 false

  • excludePopular (Boolean)

    是否应将用户评论最多的 issue 从结果中排除。

    默认值为 false

  • maxRepositories (Int)

    应包含的仓库数量。

    默认值为 25

joinedGitHubContribution (JoinedGitHubContribution)

用户注册 GitHub 的时间。如果该注册日期落在集合的时间范围之外且 ignoreTimeRange 为 false,则此项为 null。

latestRestrictedContributionDate (Date)

用户在此时间段内进行的最近一个受限贡献的日期。仅当用户启用了私有贡献计数时才可能非空。

mostRecentCollectionWithActivity (ContributionsCollection)

当此集合的时间范围不包含用户的任何活动时,使用此项可获取来自较早时间范围且有活动的不同集合。

mostRecentCollectionWithoutActivity (ContributionsCollection)

返回来自比此集合更早时间范围且没有任何贡献的不同贡献集合。

popularIssueContribution (CreatedIssueContribution)

用户在指定时间范围内打开的在 GitHub 上收到最多评论的 issue。

popularPullRequestContribution (CreatedPullRequestContribution)

用户在指定时间范围内打开的在 GitHub 上收到最多评论的 pull request。

pullRequestContributions (CreatedPullRequestContributionConnection!)

用户进行的 pull request 贡献。

pullRequestContributions 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • excludeFirst (Boolean)

    是否应将用户有史以来第一个 pull request 从结果中排除。

    默认值为 false

  • excludePopular (Boolean)

    是否应将用户评论最多的 pull request 从结果中排除。

    默认值为 false

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

pullRequestContributionsByRepository ([PullRequestContributionsByRepository!]!)

按仓库分组的用户 pull request 贡献。

pullRequestContributionsByRepository 的参数

  • excludeFirst (Boolean)

    是否应将用户有史以来第一个 pull request 从结果中排除。

    默认值为 false

  • excludePopular (Boolean)

    是否应将用户评论最多的 pull request 从结果中排除。

    默认值为 false

  • maxRepositories (Int)

    应包含的仓库数量。

    默认值为 25

pullRequestReviewContributions (CreatedPullRequestReviewContributionConnection!)

用户进行的 pull request review 贡献。返回用户评审的每个 PR 的最新提交的评审。

pullRequestReviewContributions 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

pullRequestReviewContributionsByRepository ([PullRequestReviewContributionsByRepository!]!)

按仓库分组的用户 pull request review 贡献。

pullRequestReviewContributionsByRepository 的参数

  • maxRepositories (Int)

    应包含的仓库数量。

    默认值为 25

repositoryContributions (CreatedRepositoryContributionConnection!)

用户在此时间范围内创建的、由用户拥有的仓库列表。

repositoryContributions 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • excludeFirst (Boolean)

    是否应将用户有史以来第一个仓库从结果中排除。

    默认值为 false

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

restrictedContributionsCount (Int!)

查看者无法访问的用户所做贡献的计数。仅当用户选择了共享其私有贡献计数时才非零。

startedAt (DateTime!)

此集合的开始日期和时间。

totalCommitContributions (Int!)

用户在此时间跨度内进行的提交数。

totalIssueContributions (Int!)

用户打开的 issue 数。

totalIssueContributions 的参数

  • excludeFirst (Boolean)

    是否应将用户有史以来第一个 issue 从此计数中排除。

    默认值为 false

  • excludePopular (Boolean)

    是否应将用户评论最多的 issue 从此计数中排除。

    默认值为 false

totalPullRequestContributions (Int!)

用户打开的 pull request 数。

totalPullRequestContributions 的参数

  • excludeFirst (Boolean)

    是否应将用户有史以来第一个 pull request 从此计数中排除。

    默认值为 false

  • excludePopular (Boolean)

    是否应将用户评论最多的 pull request 从此计数中排除。

    默认值为 false

totalPullRequestReviewContributions (Int!)

用户留下的 pull request reviews 数。

totalRepositoriesWithContributedCommits (Int!)

用户提交过的不同仓库数。

totalRepositoriesWithContributedIssues (Int!)

用户打开过 issue 的不同仓库数。

totalRepositoriesWithContributedIssues 的参数

  • excludeFirst (Boolean)

    是否应将用户有史以来第一个 issue 从此计数中排除。

    默认值为 false

  • excludePopular (Boolean)

    是否应将用户评论最多的 issue 从此计数中排除。

    默认值为 false

totalRepositoriesWithContributedPullRequestReviews (Int!)

用户留下 pull request reviews 的不同仓库数。

totalRepositoriesWithContributedPullRequests (Int!)

用户打开过 pull request 的不同仓库数。

totalRepositoriesWithContributedPullRequests 的参数

  • excludeFirst (Boolean)

    是否应将用户有史以来第一个 pull request 从此计数中排除。

    默认值为 false

  • excludePopular (Boolean)

    是否应将用户评论最多的 pull request 从此计数中排除。

    默认值为 false

totalRepositoryContributions (Int!)

用户创建的仓库数。

totalRepositoryContributions 的参数

  • excludeFirst (Boolean)

    是否应将用户有史以来第一个仓库从此计数中排除。

    默认值为 false

user (User!)

在此集合中做出贡献的用户。

ConvertToDraftEvent

表示给定 pull request 上的 convert_to_draft 事件。

ConvertToDraftEvent 实现

ConvertToDraftEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

ConvertToDraftEvent 对象的 Node ID。

pullRequest (PullRequest!)

事件引用的拉取请求。

resourcePath (URI!)

此 convert to draft 事件的 HTTP 路径。

url (URI!)

此 convert to draft 事件的 HTTP URL。

ConvertedFromDraftEvent

表示给定 issue 或 pull request 上的 converted_from_draft 事件。

ConvertedFromDraftEvent 实现

ConvertedFromDraftEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

ConvertedFromDraftEvent 对象的 Node ID。

project (ProjectV2)

事件引用的项目。

wasAutomated (Boolean!)

此事件是否源于工作流自动化?

ConvertedNoteToIssueEvent

表示给定 issue 或 pull request 上的 converted_note_to_issue 事件。

ConvertedNoteToIssueEvent 实现

ConvertedNoteToIssueEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (Int)

标识数据库中的主键。

id (ID!)

ConvertedNoteToIssueEvent 对象的 Node ID。

project (Project)

事件引用的项目。

警告

project 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

projectCard (ProjectCard)

此项目事件引用的项目卡片。

警告

projectCard 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

projectColumnName (String!)

此项目事件引用的列名称。

ConvertedToDiscussionEvent

表示给定 issue 上的 converted_to_discussion 事件。

ConvertedToDiscussionEvent 实现

ConvertedToDiscussionEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

discussion (Discussion)

issue 被转换为的讨论。

id (ID!)

ConvertedToDiscussionEvent 对象的 Node ID。

CopilotCodeReviewParameters

如果作者有权访问 Copilot 代码评审且其高级请求配额尚未达到限制,则自动为新的拉取请求请求 Copilot 代码评审。

CopilotCodeReviewParameters 的字段

名称描述

reviewDraftPullRequests (Boolean!)

Copilot 在草稿拉取请求被标记为准备好评审之前对其进行自动评审。

reviewOnPush (Boolean!)

Copilot 自动评审推送到拉取请求的每次新更改。

CopilotEndpoints

Copilot 端点信息。

CopilotEndpoints 的字段

名称描述

api (String!)

Copilot API 端点。

originTracker (String!)

Copilot 源跟踪器端点。

proxy (String!)

Copilot 代理端点。

telemetry (String!)

Copilot 遥测端点。

CreatedCommitContribution

表示用户通过向仓库提交所做的贡献。

CreatedCommitContribution 实现

CreatedCommitContribution 的字段

名称描述

commitCount (Int!)

用户在此日向此仓库提交的提交数。

isRestricted (Boolean!)

此贡献是否与您无权访问的记录相关联。例如,您自己的“第一个 issue”贡献可能是在您无法再访问的仓库上进行的。

occurredAt (DateTime!)

做出此贡献的时间。

repository (Repository!)

用户进行提交的仓库。

resourcePath (URI!)

此贡献的 HTTP 路径。

url (URI!)

此贡献的 HTTP URL。

user (User!)

做出此贡献的用户。

CreatedCommitContributionConnection

CreatedCommitContribution 的连接类型。

CreatedCommitContributionConnection 的字段

名称描述

edges ([CreatedCommitContributionEdge])

边的列表。

nodes ([CreatedCommitContribution])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中跨天和跨仓库的提交总数。

CreatedCommitContributionEdge

连接中的一条边。

CreatedCommitContributionEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (CreatedCommitContribution)

边的末端节点。

CreatedIssueContribution

表示用户通过在 GitHub 上打开 issue 所做的贡献。

CreatedIssueContribution 实现

CreatedIssueContribution 的字段

名称描述

isRestricted (Boolean!)

此贡献是否与您无权访问的记录相关联。例如,您自己的“第一个 issue”贡献可能是在您无法再访问的仓库上进行的。

issue (Issue!)

已打开的 issue。

occurredAt (DateTime!)

做出此贡献的时间。

resourcePath (URI!)

此贡献的 HTTP 路径。

url (URI!)

此贡献的 HTTP URL。

user (User!)

做出此贡献的用户。

CreatedIssueContributionConnection

CreatedIssueContribution 的连接类型。

CreatedIssueContributionConnection 的字段

名称描述

edges ([CreatedIssueContributionEdge])

边的列表。

nodes ([CreatedIssueContribution])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

CreatedIssueContributionEdge

连接中的一条边。

CreatedIssueContributionEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (CreatedIssueContribution)

边的末端节点。

CreatedPullRequestContribution

表示用户通过在 GitHub 上打开 pull request 所做的贡献。

CreatedPullRequestContribution 实现

CreatedPullRequestContribution 的字段

名称描述

isRestricted (Boolean!)

此贡献是否与您无权访问的记录相关联。例如,您自己的“第一个 issue”贡献可能是在您无法再访问的仓库上进行的。

occurredAt (DateTime!)

做出此贡献的时间。

pullRequest (PullRequest!)

已打开的 pull request。

resourcePath (URI!)

此贡献的 HTTP 路径。

url (URI!)

此贡献的 HTTP URL。

user (User!)

做出此贡献的用户。

CreatedPullRequestContributionConnection

CreatedPullRequestContribution 的连接类型。

CreatedPullRequestContributionConnection 的字段

名称描述

edges ([CreatedPullRequestContributionEdge])

边的列表。

nodes ([CreatedPullRequestContribution])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

CreatedPullRequestContributionEdge

连接中的一条边。

CreatedPullRequestContributionEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (CreatedPullRequestContribution)

边的末端节点。

CreatedPullRequestReviewContribution

表示用户通过对 pull request 留下 review 所做的贡献。

CreatedPullRequestReviewContribution 实现

CreatedPullRequestReviewContribution 的字段

名称描述

isRestricted (Boolean!)

此贡献是否与您无权访问的记录相关联。例如,您自己的“第一个 issue”贡献可能是在您无法再访问的仓库上进行的。

occurredAt (DateTime!)

做出此贡献的时间。

pullRequest (PullRequest!)

用户评审的 pull request。

pullRequestReview (PullRequestReview!)

用户对 pull request 留下的 review。

repository (Repository!)

包含用户评审的 pull request 的仓库。

resourcePath (URI!)

此贡献的 HTTP 路径。

url (URI!)

此贡献的 HTTP URL。

user (User!)

做出此贡献的用户。

CreatedPullRequestReviewContributionConnection

CreatedPullRequestReviewContribution 的连接类型。

CreatedPullRequestReviewContributionConnection 的字段

名称描述

edges ([CreatedPullRequestReviewContributionEdge])

边的列表。

nodes ([CreatedPullRequestReviewContribution])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

CreatedPullRequestReviewContributionEdge

连接中的一条边。

CreatedPullRequestReviewContributionEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (CreatedPullRequestReviewContribution)

边的末端节点。

CreatedRepositoryContribution

表示用户通过在 GitHub 上创建仓库所做的贡献。

CreatedRepositoryContribution 实现

CreatedRepositoryContribution 的字段

名称描述

isRestricted (Boolean!)

此贡献是否与您无权访问的记录相关联。例如,您自己的“第一个 issue”贡献可能是在您无法再访问的仓库上进行的。

occurredAt (DateTime!)

做出此贡献的时间。

repository (Repository!)

已创建的仓库。

resourcePath (URI!)

此贡献的 HTTP 路径。

url (URI!)

此贡献的 HTTP URL。

user (User!)

做出此贡献的用户。

CreatedRepositoryContributionConnection

CreatedRepositoryContribution 的连接类型。

CreatedRepositoryContributionConnection 的字段

名称描述

edges ([CreatedRepositoryContributionEdge])

边的列表。

nodes ([CreatedRepositoryContribution])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

CreatedRepositoryContributionEdge

连接中的一条边。

CreatedRepositoryContributionEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (CreatedRepositoryContribution)

边的末端节点。

CrossReferencedEvent

表示一个 issue 或 pull request 对另一个 issue 或 pull request 的提及。

CrossReferencedEvent 实现

CrossReferencedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

CrossReferencedEvent 对象的 Node ID。

isCrossRepository (Boolean!)

引用源自不同的仓库。

referencedAt (DateTime!)

标识引用的时间。

resourcePath (URI!)

此 pull request 的 HTTP 路径。

source (ReferencedSubject!)

进行引用的 Issue 或 pull request。

target (ReferencedSubject!)

被引用的 Issue 或 pull request。

url (URI!)

此 pull request 的 HTTP URL。

willCloseTarget (Boolean!)

检查当源合并时目标是否会关闭。

CvssSeverities

通用漏洞评分系统。

CvssSeverities 的字段

名称描述

cvssV3 (CVSS)

与此咨询关联的 CVSS v3 严重性。

cvssV4 (CVSS)

与此咨询关联的 CVSS v4 严重性。

DemilestonedEvent

表示给定 issue 或 pull request 上的 demilestoned 事件。

DemilestonedEvent 实现

DemilestonedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

DemilestonedEvent 对象的 Node ID。

milestoneTitle (String!)

标识与 demilestoned 事件关联的里程碑标题。

subject (MilestoneItem!)

事件引用的对象。

DependabotUpdate

仓库中依赖项的 Dependabot 更新。

DependabotUpdate 实现

DependabotUpdate 的字段

名称描述

error (DependabotUpdateError)

依赖项更新中的错误。

pullRequest (PullRequest)

关联的 pull request。

repository (Repository!)

与此节点关联的仓库。

DependabotUpdateError

Dependabot Update 产生的错误。

DependabotUpdateError 的字段

名称描述

body (String!)

错误正文。

errorType (String!)

错误代码。

title (String!)

错误标题。

DependencyGraphDependency

依赖项清单条目。

DependencyGraphDependency 的字段

名称描述

hasDependencies (Boolean!)

依赖项本身是否有依赖项?。

packageLabel (String!)

包的原始名称,如清单中所示。

警告

packageLabel 已弃用。

packageLabel 将被移除。请改用规范化的 packageName 字段。将于 UTC 时间 2022-10-01 移除。

packageManager (String)

依赖项包管理器。

packageName (String!)

包在包管理器使用的规范形式中的名称。

packageUrl (URI)

公开预览:依赖项包 URL。

relationship (String!)

公开预览:依赖项的关系。可以是 direct(直接)、transitive(传递)或 unknown(未知)。

repository (Repository)

包含此包的仓库。

requirements (String!)

依赖项版本要求。

DependencyGraphDependencyConnection

DependencyGraphDependency 的连接类型。

DependencyGraphDependencyConnection 的字段

名称描述

edges ([DependencyGraphDependencyEdge])

边的列表。

nodes ([DependencyGraphDependency])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

DependencyGraphDependencyEdge

连接中的一条边。

DependencyGraphDependencyEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (DependencyGraphDependency)

边的末端节点。

DependencyGraphManifest

仓库的依赖项清单。

DependencyGraphManifest 实现

DependencyGraphManifest 的字段

名称描述

blobPath (String!)

用于查看清单文件 blob 的路径。

dependencies (DependencyGraphDependencyConnection)

清单依赖项列表。

dependencies 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

dependenciesCount (Int)

清单中列出的依赖项数量。

exceedsMaxSize (Boolean!)

清单是否太大而无法解析?。

filename (String!)

完全限定的清单文件名。

id (ID!)

DependencyGraphManifest 对象的 Node ID。

parseable (Boolean!)

我们是否能够解析清单?。

repository (Repository!)

包含清单的仓库。

DependencyGraphManifestConnection

DependencyGraphManifest 的连接类型。

DependencyGraphManifestConnection 的字段

名称描述

edges ([DependencyGraphManifestEdge])

边的列表。

nodes ([DependencyGraphManifest])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

DependencyGraphManifestEdge

连接中的一条边。

DependencyGraphManifestEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (DependencyGraphManifest)

边的末端节点。

DeployKey

仓库部署密钥。

DeployKey 实现

DeployKey 的字段

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

enabled (Boolean!)

部署密钥是否在企业或组织级别按策略启用。

id (ID!)

DeployKey 对象的 Node ID。

key (String!)

部署密钥。

readOnly (Boolean!)

部署密钥是否为只读。

title (String!)

部署密钥标题。

verified (Boolean!)

部署密钥是否已验证。

DeployKeyConnection

DeployKey 的连接类型。

DeployKeyConnection 的字段

名称描述

edges ([DeployKeyEdge])

边的列表。

nodes ([DeployKey])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

DeployKeyEdge

连接中的一条边。

DeployKeyEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (DeployKey)

边的末端节点。

DeployedEvent

表示给定 pull request 上的 deployed 事件。

DeployedEvent 实现

DeployedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (Int)

标识数据库中的主键。

deployment (Deployment!)

deployed 事件关联的部署。

id (ID!)

DeployedEvent 对象的 Node ID。

pullRequest (PullRequest!)

事件引用的拉取请求。

ref (Ref)

deployed 事件关联的 ref。

Deployment

表示触发的部署实例。

Deployment 实现

Deployment 的字段

名称描述

commit (Commit)

标识部署的提交 sha。

commitOid (String!)

标识部署提交的 oid,即使提交已被删除。

createdAt (DateTime!)

标识对象创建的日期和时间。

creator (Actor!)

标识触发部署的操作者。

databaseId (Int)

标识数据库中的主键。

description (String)

部署描述。

environment (String)

此部署所到的最新环境。

id (ID!)

Deployment 对象的 Node ID。

latestEnvironment (String)

此部署所到的最新环境。

latestStatus (DeploymentStatus)

此部署的最新状态。

originalEnvironment (String)

此部署所到的原始环境。

payload (String)

部署系统可能需要的额外信息。

ref (Ref)

标识部署的 Ref,如果部署是通过 ref 创建的。

repository (Repository!)

标识与部署关联的仓库。

state (DeploymentState)

部署的当前状态。

statuses (DeploymentStatusConnection)

与部署关联的状态列表。

statuses 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

task (String)

部署任务。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

DeploymentConnection

Deployment 的连接类型。

DeploymentConnection 的字段

名称描述

edges ([DeploymentEdge])

边的列表。

nodes ([Deployment])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

DeploymentEdge

连接中的一条边。

DeploymentEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (Deployment)

边的末端节点。

DeploymentEnvironmentChangedEvent

表示给定 pull request 上的 deployment_environment_changed 事件。

DeploymentEnvironmentChangedEvent 实现

DeploymentEnvironmentChangedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

deploymentStatus (DeploymentStatus!)

更新部署环境的部署状态。

id (ID!)

DeploymentEnvironmentChangedEvent 对象的 Node ID。

pullRequest (PullRequest!)

事件引用的拉取请求。

DeploymentProtectionRule

保护规则。

DeploymentProtectionRule 的字段

名称描述

databaseId (Int)

标识数据库中的主键。

preventSelfReview (Boolean)

此环境的部署是否可以由创建部署的用户批准。

reviewers (DeploymentReviewerConnection!)

可以评审部署的团队或用户。

reviewers 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

timeout (Int!)

此保护规则的超时时间(分钟)。

type (DeploymentProtectionRuleType!)

保护规则的类型。

DeploymentProtectionRuleConnection

DeploymentProtectionRule 的连接类型。

DeploymentProtectionRuleConnection 的字段

名称描述

edges ([DeploymentProtectionRuleEdge])

边的列表。

nodes ([DeploymentProtectionRule])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

DeploymentProtectionRuleEdge

连接中的一条边。

DeploymentProtectionRuleEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (DeploymentProtectionRule)

边的末端节点。

DeploymentRequest

将工作流运行部署到环境的请求。

DeploymentRequest 的字段

名称描述

currentUserCanApprove (Boolean!)

当前用户是否可以批准部署。

environment (Environment!)

部署的目标环境。

reviewers (DeploymentReviewerConnection!)

可以评审部署的团队或用户。

reviewers 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

waitTimer (Int!)

在环境中配置的等待计时器(分钟)。

waitTimerStartedAt (DateTime)

在环境中配置的等待计时器(分钟)。

DeploymentRequestConnection

DeploymentRequest 的连接类型。

DeploymentRequestConnection 的字段

名称描述

edges ([DeploymentRequestEdge])

边的列表。

nodes ([DeploymentRequest])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

DeploymentRequestEdge

连接中的一条边。

DeploymentRequestEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (DeploymentRequest)

边的末端节点。

DeploymentReview

部署评审。

DeploymentReview 实现

DeploymentReview 的字段

名称描述

comment (String!)

用户留下的评论。

databaseId (Int)

标识数据库中的主键。

environments (EnvironmentConnection!)

已批准或拒绝的环境。

environments 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

id (ID!)

DeploymentReview 对象的 Node ID。

state (DeploymentReviewState!)

用户的决定。

user (User!)

评审部署的用户。

DeploymentReviewConnection

DeploymentReview 的连接类型。

DeploymentReviewConnection 的字段

名称描述

edges ([DeploymentReviewEdge])

边的列表。

nodes ([DeploymentReview])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

DeploymentReviewEdge

连接中的一条边。

DeploymentReviewEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (DeploymentReview)

边的末端节点。

DeploymentReviewerConnection

DeploymentReviewer 的连接类型。

DeploymentReviewerConnection 的字段

名称描述

edges ([DeploymentReviewerEdge])

边的列表。

nodes ([DeploymentReviewer])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

DeploymentReviewerEdge

连接中的一条边。

Fields for DeploymentReviewerEdge

名称描述

cursor (String!)

用于分页的光标。

node (DeploymentReviewer)

边的末端节点。

DeploymentStatus

Describes the status of a given deployment attempt.

DeploymentStatus Implements

Fields for DeploymentStatus

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

creator (Actor!)

标识触发部署的操作者。

deployment (Deployment!)

Identifies the deployment associated with status.

description (String)

Identifies the description of the deployment.

environment (String)

Identifies the environment of the deployment at the time of this deployment status.

environmentUrl (URI)

Identifies the environment URL of the deployment.

id (ID!)

The Node ID of the DeploymentStatus object.

logUrl (URI)

Identifies the log URL of the deployment.

state (DeploymentStatusState!)

Identifies the current state of the deployment.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

DeploymentStatusConnection

The connection type for DeploymentStatus.

Fields for DeploymentStatusConnection

名称描述

edges ([DeploymentStatusEdge])

边的列表。

nodes ([DeploymentStatus])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

DeploymentStatusEdge

连接中的一条边。

Fields for DeploymentStatusEdge

名称描述

cursor (String!)

用于分页的光标。

node (DeploymentStatus)

边的末端节点。

DisconnectedEvent

Represents adisconnectedevent on a given issue or pull request.

DisconnectedEvent Implements

Fields for DisconnectedEvent

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

The Node ID of the DisconnectedEvent object.

isCrossRepository (Boolean!)

引用源自不同的仓库。

source (ReferencedSubject!)

Issue or pull request from which the issue was disconnected.

subject (ReferencedSubject!)

Issue or pull request which was disconnected.

Discussion

A discussion in a repository.

Discussion Implements

Fields for Discussion

名称描述

activeLockReason (LockReason)

Reason that the conversation was locked.

answer (DiscussionComment)

The comment chosen as this discussion's answer, if any.

answerChosenAt (DateTime)

The time when a user chose this discussion's answer, if answered.

answerChosenBy (Actor)

The user who chose this discussion's answer, if answered.

author (Actor)

The actor who authored the discussion.

authorAssociation (CommentAuthorAssociation!)

作者与评论主题的关联。

body (String!)

The main text of the discussion post.

bodyHTML (HTML!)

渲染为 HTML 的正文。

bodyText (String!)

渲染为文本的正文。

category (DiscussionCategory!)

The category for this discussion.

closed (Boolean!)

Indicates if the object is closed (definition of closed may depend on type).

closedAt (DateTime)

Identifies the date and time when the object was closed.

comments (DiscussionCommentConnection!)

The replies to the discussion.

comments 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

createdAt (DateTime!)

标识对象创建的日期和时间。

createdViaEmail (Boolean!)

检查此评论是否通过电子邮件回复创建。

databaseId (Int)

标识数据库中的主键。

editor (Actor)

编辑评论的操作者。

id (ID!)

The Node ID of the Discussion object.

includesCreatedEdit (Boolean!)

检查此评论是否经过编辑并包含创建数据中的编辑。

isAnswered (Boolean)

Only return answered/unanswered discussions.

labels (LabelConnection)

A list of labels associated with the object.

Arguments for labels

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (LabelOrder)

    Ordering options for labels returned from the connection.

lastEditedAt (DateTime)

编辑者最后一次编辑的时间。

locked (Boolean!)

true if the object is locked.

number (Int!)

The number identifying this discussion within the repository.

poll (DiscussionPoll)

The poll associated with this discussion, if one exists.

publishedAt (DateTime)

标识评论的发布时间。

reactionGroups ([ReactionGroup!])

按内容分组的对主题留下的反应列表。

reactions (ReactionConnection!)

对 Issue 留下的 Reactions 列表。

reactions 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

repository (Repository!)

与此节点关联的仓库。

resourcePath (URI!)

The path for this discussion.

stateReason (DiscussionStateReason)

Identifies the reason for the discussion's state.

title (String!)

The title of this discussion.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

upvoteCount (Int!)

Number of upvotes that this subject has received.

url (URI!)

The URL for this discussion.

userContentEdits (UserContentEditConnection)

此内容的编辑列表。

userContentEdits 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

viewerCanClose (Boolean!)

Indicates if the object can be closed by the viewer.

viewerCanDelete (Boolean!)

检查当前查看者是否可以删除此对象。

viewerCanLabel (Boolean!)

Indicates if the viewer can edit labels for this object.

viewerCanReact (Boolean!)

用户是否可以对此主题做出反应。

viewerCanReopen (Boolean!)

Indicates if the object can be reopened by the viewer.

viewerCanSubscribe (Boolean!)

检查查看者是否能够更改他们对存储库的订阅状态。

viewerCanUpdate (Boolean!)

检查当前查看者是否可以更新此对象。

viewerCanUpvote (Boolean!)

Whether or not the current user can add or remove an upvote on this subject.

viewerDidAuthor (Boolean!)

查看者是否是此评论的作者。

viewerHasUpvoted (Boolean!)

Whether or not the current user has already upvoted this subject.

viewerSubscription (SubscriptionState)

标识查看者是在关注、未关注还是忽略可订阅实体。

DiscussionCategory

A category for discussions in a repository.

DiscussionCategory Implements

Fields for DiscussionCategory

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

description (String)

A description of this category.

emoji (String!)

An emoji representing this category.

emojiHTML (HTML!)

This category's emoji rendered as HTML.

id (ID!)

The Node ID of the DiscussionCategory object.

isAnswerable (Boolean!)

Whether or not discussions in this category support choosing an answer with the markDiscussionCommentAsAnswer mutation.

name (String!)

The name of this category.

repository (Repository!)

与此节点关联的仓库。

slug (String!)

The slug of this category.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

DiscussionCategoryConnection

The connection type for DiscussionCategory.

Fields for DiscussionCategoryConnection

名称描述

edges ([DiscussionCategoryEdge])

边的列表。

nodes ([DiscussionCategory])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

DiscussionCategoryEdge

连接中的一条边。

Fields for DiscussionCategoryEdge

名称描述

cursor (String!)

用于分页的光标。

node (DiscussionCategory)

边的末端节点。

DiscussionComment

A comment on a discussion.

DiscussionComment Implements

Fields for DiscussionComment

名称描述

author (Actor)

撰写评论的操作者。

authorAssociation (CommentAuthorAssociation!)

作者与评论主题的关联。

body (String!)

The body as Markdown.

bodyHTML (HTML!)

渲染为 HTML 的正文。

bodyText (String!)

渲染为文本的正文。

createdAt (DateTime!)

标识对象创建的日期和时间。

createdViaEmail (Boolean!)

检查此评论是否通过电子邮件回复创建。

databaseId (Int)

标识数据库中的主键。

deletedAt (DateTime)

The time when this replied-to comment was deleted.

discussion (Discussion)

The discussion this comment was created in.

editor (Actor)

编辑评论的操作者。

id (ID!)

The Node ID of the DiscussionComment object.

includesCreatedEdit (Boolean!)

检查此评论是否经过编辑并包含创建数据中的编辑。

isAnswer (Boolean!)

Has this comment been chosen as the answer of its discussion?.

isMinimized (Boolean!)

返回评论是否已最小化。

lastEditedAt (DateTime)

编辑者最后一次编辑的时间。

minimizedReason (String)

返回评论被最小化的原因。包括 abuse(滥用)、off-topic(离题)、outdated(过时)、resolved(已解决)、duplicate(重复)、spam(垃圾邮件)和 low-quality(低质量)。请注意,这些值的大小写和格式与 MinimizeComment mutation 的输入不同。

publishedAt (DateTime)

标识评论的发布时间。

reactionGroups ([ReactionGroup!])

按内容分组的对主题留下的反应列表。

reactions (ReactionConnection!)

对 Issue 留下的 Reactions 列表。

reactions 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

replies (DiscussionCommentConnection!)

The threaded replies to this comment.

Arguments for replies

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

replyTo (DiscussionComment)

The discussion comment this comment is a reply to.

resourcePath (URI!)

The path for this discussion comment.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

upvoteCount (Int!)

Number of upvotes that this subject has received.

url (URI!)

The URL for this discussion comment.

userContentEdits (UserContentEditConnection)

此内容的编辑列表。

userContentEdits 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

viewerCanDelete (Boolean!)

检查当前查看者是否可以删除此对象。

viewerCanMarkAsAnswer (Boolean!)

Can the current user mark this comment as an answer?.

viewerCanMinimize (Boolean!)

检查当前查看者是否可以最小化此对象。

viewerCanReact (Boolean!)

用户是否可以对此主题做出反应。

viewerCanUnmarkAsAnswer (Boolean!)

Can the current user unmark this comment as an answer?.

viewerCanUnminimize (Boolean!)

检查当前查看者是否可以取消最小化此对象。

viewerCanUpdate (Boolean!)

检查当前查看者是否可以更新此对象。

viewerCanUpvote (Boolean!)

Whether or not the current user can add or remove an upvote on this subject.

viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

当前查看者无法更新此评论的原因。

viewerDidAuthor (Boolean!)

查看者是否是此评论的作者。

viewerHasUpvoted (Boolean!)

Whether or not the current user has already upvoted this subject.

DiscussionCommentConnection

The connection type for DiscussionComment.

Fields for DiscussionCommentConnection

名称描述

edges ([DiscussionCommentEdge])

边的列表。

nodes ([DiscussionComment])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

DiscussionCommentEdge

连接中的一条边。

Fields for DiscussionCommentEdge

名称描述

cursor (String!)

用于分页的光标。

node (DiscussionComment)

边的末端节点。

DiscussionConnection

The connection type for Discussion.

Fields for DiscussionConnection

名称描述

edges ([DiscussionEdge])

边的列表。

nodes ([Discussion])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

DiscussionEdge

连接中的一条边。

Fields for DiscussionEdge

名称描述

cursor (String!)

用于分页的光标。

node (Discussion)

边的末端节点。

DiscussionPoll

A poll for a discussion.

DiscussionPoll Implements

Fields for DiscussionPoll

名称描述

discussion (Discussion)

The discussion that this poll belongs to.

id (ID!)

The Node ID of the DiscussionPoll object.

options (DiscussionPollOptionConnection)

The options for this poll.

Arguments for options

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

question (String!)

The question that is being asked by this poll.

totalVoteCount (Int!)

The total number of votes that have been cast for this poll.

viewerCanVote (Boolean!)

Indicates if the viewer has permission to vote in this poll.

viewerHasVoted (Boolean!)

Indicates if the viewer has voted for any option in this poll.

DiscussionPollOption

An option for a discussion poll.

DiscussionPollOption Implements

Fields for DiscussionPollOption

名称描述

id (ID!)

The Node ID of the DiscussionPollOption object.

option (String!)

The text for this option.

poll (DiscussionPoll)

The discussion poll that this option belongs to.

totalVoteCount (Int!)

The total number of votes that have been cast for this option.

viewerHasVoted (Boolean!)

Indicates if the viewer has voted for this option in the poll.

DiscussionPollOptionConnection

The connection type for DiscussionPollOption.

Fields for DiscussionPollOptionConnection

名称描述

edges ([DiscussionPollOptionEdge])

边的列表。

nodes ([DiscussionPollOption])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

DiscussionPollOptionEdge

连接中的一条边。

Fields for DiscussionPollOptionEdge

名称描述

cursor (String!)

用于分页的光标。

node (DiscussionPollOption)

边的末端节点。

DraftIssue

A draft issue within a project.

DraftIssue Implements

Fields for DraftIssue

名称描述

assignees (UserConnection!)

A list of users to assigned to this draft issue.

Arguments for assignees

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

body (String!)

The body of the draft issue.

bodyHTML (HTML!)

The body of the draft issue rendered to HTML.

bodyText (String!)

The body of the draft issue rendered to text.

createdAt (DateTime!)

标识对象创建的日期和时间。

creator (Actor)

The actor who created this draft issue.

id (ID!)

The Node ID of the DraftIssue object.

projectV2Items (ProjectV2ItemConnection!)

List of items linked with the draft issue (currently draft issue can be linked to only one item).

Arguments for projectV2Items

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

projectsV2 (ProjectV2Connection!)

Projects that link to this draft issue (currently draft issue can be linked to only one project).

Arguments for projectsV2

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

title (String!)

The title of the draft issue.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

EPSS

The Exploit Prediction Scoring System.

Fields for EPSS

名称描述

percentage (Float)

The EPSS percentage represents the likelihood of a CVE being exploited.

percentile (Float)

The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs.

Enterprise

An account to manage multiple organizations with consolidated policy and billing.

Enterprise Implements

Fields for Enterprise

名称描述

announcementBanner (AnnouncementBanner)

The announcement banner set on this enterprise, if any. Only visible to members of the enterprise.

avatarUrl (URI!)

A URL pointing to the enterprise's public avatar.

avatarUrl 的参数

  • size (Int)

    生成正方形图像的大小。

billingEmail (String)

The enterprise's billing email.

billingInfo (EnterpriseBillingInfo)

Enterprise billing information visible to enterprise billing managers.

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (Int)

标识数据库中的主键。

description (String)

The description of the enterprise.

descriptionHTML (HTML!)

The description of the enterprise as HTML.

id (ID!)

The Node ID of the Enterprise object.

location (String)

The location of the enterprise.

members (EnterpriseMemberConnection!)

A list of users who are members of this enterprise.

Arguments for members

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • hasTwoFactorEnabled (Boolean)

    Only return members with this two-factor authentication status. Does not include members who only have an account on a GitHub Enterprise Server instance.

    Upcoming Change on 2025-04-01 UTC Description: hasTwoFactorEnabled will be removed. Use two_factor_method_security instead. Reason: has_two_factor_enabled will be removed.

  • last (Int)

    返回列表中的后 *n* 个元素。

  • organizationLogins ([String!])

    Only return members within the organizations with these logins.

  • query (String)

    The search string to look for.

  • twoFactorMethodSecurity (TwoFactorCredentialSecurityType)

    Only return members with this type of two-factor authentication method. Does not include members who only have an account on a GitHub Enterprise Server instance.

name (String!)

The name of the enterprise.

organizations (OrganizationConnection!)

A list of organizations that belong to this enterprise.

Arguments for organizations

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (OrganizationOrder)

    Ordering options for organizations returned from the connection.

  • query (String)

    The search string to look for.

ownerInfo (EnterpriseOwnerInfo)

Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope.

readme (String)

The raw content of the enterprise README.

readmeHTML (HTML!)

The content of the enterprise README as HTML.

repositoryCustomProperties (RepositoryCustomPropertyConnection)

A list of repository custom properties for this enterprise.

Arguments for repositoryCustomProperties

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

repositoryCustomProperty (RepositoryCustomProperty)

Returns a single repository custom property for the current enterprise by name.

Arguments for repositoryCustomProperty

  • propertyName (String!)

    The name of the repository custom property to be returned.

resourcePath (URI!)

The HTTP path for this enterprise.

ruleset (RepositoryRuleset)

Returns a single ruleset from the current enterprise by ID.

Arguments for ruleset

  • databaseId (Int!)

    The ID of the ruleset to be returned.

rulesets (RepositoryRulesetConnection)

A list of rulesets for this enterprise.

Arguments for rulesets

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

securityContactEmail (String)

The enterprise's security contact email address.

slug (String!)

The URL-friendly identifier for the enterprise.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

url (URI!)

The HTTP URL for this enterprise.

userNamespaceRepositories (UserNamespaceRepositoryConnection!)

A list of repositories that belong to users. Only available for enterprises with Enterprise Managed Users.

Arguments for userNamespaceRepositories

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (RepositoryOrder)

    Ordering options for repositories returned from the connection.

  • query (String)

    The search string to look for.

viewerIsAdmin (Boolean!)

Is the current viewer an admin of this enterprise?.

websiteUrl (URI)

The URL of the enterprise website.

EnterpriseAdministratorConnection

The connection type for User.

Fields for EnterpriseAdministratorConnection

名称描述

edges ([EnterpriseAdministratorEdge])

边的列表。

nodes ([User])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

EnterpriseAdministratorEdge

A User who is an administrator of an enterprise.

Fields for EnterpriseAdministratorEdge

名称描述

cursor (String!)

用于分页的光标。

node (User)

边的末端节点。

role (EnterpriseAdministratorRole!)

The role of the administrator.

EnterpriseAdministratorInvitation

An invitation for a user to become an owner or billing manager of an enterprise.

EnterpriseAdministratorInvitation Implements

Fields for EnterpriseAdministratorInvitation

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

email (String)

The email of the person who was invited to the enterprise.

enterprise (Enterprise!)

The enterprise the invitation is for.

id (ID!)

The Node ID of the EnterpriseAdministratorInvitation object.

invitee (User)

The user who was invited to the enterprise.

inviter (User)

The user who created the invitation.

role (EnterpriseAdministratorRole!)

The invitee's pending role in the enterprise (owner or billing_manager).

EnterpriseAdministratorInvitationConnection

The connection type for EnterpriseAdministratorInvitation.

Fields for EnterpriseAdministratorInvitationConnection

名称描述

edges ([EnterpriseAdministratorInvitationEdge])

边的列表。

nodes ([EnterpriseAdministratorInvitation])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

EnterpriseAdministratorInvitationEdge

连接中的一条边。

Fields for EnterpriseAdministratorInvitationEdge

名称描述

cursor (String!)

用于分页的光标。

node (EnterpriseAdministratorInvitation)

边的末端节点。

EnterpriseBillingInfo

Enterprise billing information visible to enterprise billing managers and owners.

Fields for EnterpriseBillingInfo

名称描述

allLicensableUsersCount (Int!)

The number of licenseable users/emails across the enterprise.

assetPacks (Int!)

The number of data packs used by all organizations owned by the enterprise.

bandwidthQuota (Float!)

The bandwidth quota in GB for all organizations owned by the enterprise.

bandwidthUsage (Float!)

The bandwidth usage in GB for all organizations owned by the enterprise.

bandwidthUsagePercentage (Int!)

The bandwidth usage as a percentage of the bandwidth quota.

storageQuota (Float!)

The storage quota in GB for all organizations owned by the enterprise.

storageUsage (Float!)

The storage usage in GB for all organizations owned by the enterprise.

storageUsagePercentage (Int!)

The storage usage as a percentage of the storage quota.

totalAvailableLicenses (Int!)

The number of available licenses across all owned organizations based on the unique number of billable users.

totalLicenses (Int!)

The total number of licenses allocated.

EnterpriseConnection

The connection type for Enterprise.

Fields for EnterpriseConnection

名称描述

edges ([EnterpriseEdge])

边的列表。

nodes ([Enterprise])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

EnterpriseEdge

连接中的一条边。

Fields for EnterpriseEdge

名称描述

cursor (String!)

用于分页的光标。

node (Enterprise)

边的末端节点。

EnterpriseFailedInvitationConnection

The connection type for OrganizationInvitation.

Fields for EnterpriseFailedInvitationConnection

名称描述

edges ([EnterpriseFailedInvitationEdge])

边的列表。

nodes ([OrganizationInvitation])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

totalUniqueUserCount (Int!)

Identifies the total count of unique users in the connection.

EnterpriseFailedInvitationEdge

A failed invitation to be a member in an enterprise organization.

Fields for EnterpriseFailedInvitationEdge

名称描述

cursor (String!)

用于分页的光标。

node (OrganizationInvitation)

边的末端节点。

EnterpriseIdentityProvider

An identity provider configured to provision identities for an enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope.

EnterpriseIdentityProvider Implements

Fields for EnterpriseIdentityProvider

名称描述

digestMethod (SamlDigestAlgorithm)

The digest algorithm used to sign SAML requests for the identity provider.

enterprise (Enterprise)

The enterprise this identity provider belongs to.

externalIdentities (ExternalIdentityConnection!)

ExternalIdentities provisioned by this identity provider.

Arguments for externalIdentities

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • login (String)

    Filter to external identities with the users login.

  • membersOnly (Boolean)

    Filter to external identities with valid org membership only.

  • userName (String)

    Filter to external identities with the users userName/NameID attribute.

id (ID!)

The Node ID of the EnterpriseIdentityProvider object.

idpCertificate (X509Certificate)

The x509 certificate used by the identity provider to sign assertions and responses.

issuer (String)

The Issuer Entity ID for the SAML identity provider.

recoveryCodes ([String!])

Recovery codes that can be used by admins to access the enterprise if the identity provider is unavailable.

signatureMethod (SamlSignatureAlgorithm)

The signature algorithm used to sign SAML requests for the identity provider.

ssoUrl (URI)

The URL endpoint for the identity provider's SAML SSO.

EnterpriseMemberConnection

The connection type for EnterpriseMember.

Fields for EnterpriseMemberConnection

名称描述

edges ([EnterpriseMemberEdge])

边的列表。

nodes ([EnterpriseMember])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

EnterpriseMemberEdge

A User who is a member of an enterprise through one or more organizations.

Fields for EnterpriseMemberEdge

名称描述

cursor (String!)

用于分页的光标。

node (EnterpriseMember)

边的末端节点。

EnterpriseMemberInvitation

An invitation for a user to become an unaffiliated member of an enterprise.

EnterpriseMemberInvitation Implements

Fields for EnterpriseMemberInvitation

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

email (String)

The email of the person who was invited to the enterprise.

enterprise (Enterprise!)

The enterprise the invitation is for.

id (ID!)

The Node ID of the EnterpriseMemberInvitation object.

invitee (User)

The user who was invited to the enterprise.

inviter (User)

The user who created the invitation.

EnterpriseMemberInvitationConnection

The connection type for EnterpriseMemberInvitation.

Fields for EnterpriseMemberInvitationConnection

名称描述

edges ([EnterpriseMemberInvitationEdge])

边的列表。

nodes ([EnterpriseMemberInvitation])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

EnterpriseMemberInvitationEdge

连接中的一条边。

Fields for EnterpriseMemberInvitationEdge

名称描述

cursor (String!)

用于分页的光标。

node (EnterpriseMemberInvitation)

边的末端节点。

EnterpriseOrganizationMembershipConnection

The connection type for Organization.

Fields for EnterpriseOrganizationMembershipConnection

名称描述

edges ([EnterpriseOrganizationMembershipEdge])

边的列表。

nodes ([Organization])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

EnterpriseOrganizationMembershipEdge

An enterprise organization that a user is a member of.

Fields for EnterpriseOrganizationMembershipEdge

名称描述

cursor (String!)

用于分页的光标。

node (Organization)

边的末端节点。

role (EnterpriseUserAccountMembershipRole!)

The role of the user in the enterprise membership.

EnterpriseOutsideCollaboratorConnection

The connection type for User.

Fields for EnterpriseOutsideCollaboratorConnection

名称描述

edges ([EnterpriseOutsideCollaboratorEdge])

边的列表。

nodes ([User])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

EnterpriseOutsideCollaboratorEdge

A User who is an outside collaborator of an enterprise through one or more organizations.

Fields for EnterpriseOutsideCollaboratorEdge

名称描述

cursor (String!)

用于分页的光标。

node (User)

边的末端节点。

repositories (EnterpriseRepositoryInfoConnection!)

The enterprise organization repositories this user is a member of.

Arguments for repositories

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

EnterpriseOwnerInfo

Enterprise information visible to enterprise owners or enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope.

Fields for EnterpriseOwnerInfo

名称描述

admins (EnterpriseAdministratorConnection!)

A list of all of the administrators for this enterprise.

Arguments for admins

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • hasTwoFactorEnabled (Boolean)

    Only return administrators with this two-factor authentication status.

    Upcoming Change on 2025-04-01 UTC Description: hasTwoFactorEnabled will be removed. Use two_factor_method_security instead. Reason: has_two_factor_enabled will be removed.

  • last (Int)

    返回列表中的后 *n* 个元素。

  • organizationLogins ([String!])

    Only return members within the organizations with these logins.

  • query (String)

    The search string to look for.

affiliatedUsersWithTwoFactorDisabled (UserConnection!)

A list of users in the enterprise who currently have two-factor authentication disabled.

Arguments for affiliatedUsersWithTwoFactorDisabled

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

affiliatedUsersWithTwoFactorDisabledExist (Boolean!)

Whether or not affiliated users with two-factor authentication disabled exist in the enterprise.

allowPrivateRepositoryForkingSetting (EnterpriseEnabledDisabledSettingValue!)

The setting value for whether private repository forking is enabled for repositories in organizations in this enterprise.

allowPrivateRepositoryForkingSettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the provided private repository forking setting value.

Arguments for allowPrivateRepositoryForkingSettingOrganizations

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • value (Boolean!)

    The setting value to find organizations for.

allowPrivateRepositoryForkingSettingPolicyValue (EnterpriseAllowPrivateRepositoryForkingPolicyValue)

The value for the allow private repository forking policy on the enterprise.

defaultRepositoryPermissionSetting (EnterpriseDefaultRepositoryPermissionSettingValue!)

The setting value for base repository permissions for organizations in this enterprise.

defaultRepositoryPermissionSettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the provided base repository permission.

Arguments for defaultRepositoryPermissionSettingOrganizations

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

domains (VerifiableDomainConnection!)

A list of domains owned by the enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with admin:enterprise scope.

Arguments for domains

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • isApproved (Boolean)

    Filter whether or not the domain is approved.

  • isVerified (Boolean)

    Filter whether or not the domain is verified.

  • last (Int)

    返回列表中的后 *n* 个元素。

enterpriseServerInstallations (EnterpriseServerInstallationConnection!)

Enterprise Server installations owned by the enterprise.

Arguments for enterpriseServerInstallations

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • connectedOnly (Boolean)

    Whether or not to only return installations discovered via GitHub Connect.

    默认值为 false

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

failedInvitations (EnterpriseFailedInvitationConnection!)

A list of failed invitations in the enterprise.

Arguments for failedInvitations

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • query (String)

    The search string to look for.

ipAllowListEnabledSetting (IpAllowListEnabledSettingValue!)

The setting value for whether the enterprise has an IP allow list enabled.

ipAllowListEntries (IpAllowListEntryConnection!)

The IP addresses that are allowed to access resources owned by the enterprise. Visible to enterprise owners or enterprise owners' personal access tokens (classic) with admin:enterprise scope.

ipAllowListEntries 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

ipAllowListForInstalledAppsEnabledSetting (IpAllowListForInstalledAppsEnabledSettingValue!)

The setting value for whether the enterprise has IP allow list configuration for installed GitHub Apps enabled.

ipAllowListUserLevelEnforcementEnabledSetting (IpAllowListUserLevelEnforcementEnabledSettingValue!)

The setting value for whether the enterprise has IP allow list user-level enforcement enabled.

isUpdatingDefaultRepositoryPermission (Boolean!)

Whether or not the base repository permission is currently being updated.

isUpdatingTwoFactorRequirement (Boolean!)

Whether the two-factor authentication requirement is currently being enforced.

membersCanChangeRepositoryVisibilitySetting (EnterpriseEnabledDisabledSettingValue!)

The setting value for whether organization members with admin permissions on a repository can change repository visibility.

membersCanChangeRepositoryVisibilitySettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the provided can change repository visibility setting value.

Arguments for membersCanChangeRepositoryVisibilitySettingOrganizations

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • value (Boolean!)

    The setting value to find organizations for.

membersCanCreateInternalRepositoriesSetting (Boolean)

The setting value for whether members of organizations in the enterprise can create internal repositories.

membersCanCreatePrivateRepositoriesSetting (Boolean)

The setting value for whether members of organizations in the enterprise can create private repositories.

membersCanCreatePublicRepositoriesSetting (Boolean)

The setting value for whether members of organizations in the enterprise can create public repositories.

membersCanCreateRepositoriesSetting (EnterpriseMembersCanCreateRepositoriesSettingValue)

The setting value for whether members of organizations in the enterprise can create repositories.

membersCanCreateRepositoriesSettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the provided repository creation setting value.

Arguments for membersCanCreateRepositoriesSettingOrganizations

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

membersCanDeleteIssuesSetting (EnterpriseEnabledDisabledSettingValue!)

The setting value for whether members with admin permissions for repositories can delete issues.

membersCanDeleteIssuesSettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the provided members can delete issues setting value.

Arguments for membersCanDeleteIssuesSettingOrganizations

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • value (Boolean!)

    The setting value to find organizations for.

membersCanDeleteRepositoriesSetting (EnterpriseEnabledDisabledSettingValue!)

The setting value for whether members with admin permissions for repositories can delete or transfer repositories.

membersCanDeleteRepositoriesSettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the provided members can delete repositories setting value.

Arguments for membersCanDeleteRepositoriesSettingOrganizations

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • value (Boolean!)

    The setting value to find organizations for.

membersCanInviteCollaboratorsSetting (EnterpriseEnabledDisabledSettingValue!)

The setting value for whether members of organizations in the enterprise can invite outside collaborators.

membersCanInviteCollaboratorsSettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the provided members can invite collaborators setting value.

Arguments for membersCanInviteCollaboratorsSettingOrganizations

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • value (Boolean!)

    The setting value to find organizations for.

membersCanMakePurchasesSetting (EnterpriseMembersCanMakePurchasesSettingValue!)

Indicates whether members of this enterprise's organizations can purchase additional services for those organizations.

membersCanUpdateProtectedBranchesSetting (EnterpriseEnabledDisabledSettingValue!)

The setting value for whether members with admin permissions for repositories can update protected branches.

membersCanUpdateProtectedBranchesSettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the provided members can update protected branches setting value.

Arguments for membersCanUpdateProtectedBranchesSettingOrganizations

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • value (Boolean!)

    The setting value to find organizations for.

membersCanViewDependencyInsightsSetting (EnterpriseEnabledDisabledSettingValue!)

The setting value for whether members can view dependency insights.

membersCanViewDependencyInsightsSettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the provided members can view dependency insights setting value.

Arguments for membersCanViewDependencyInsightsSettingOrganizations

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • value (Boolean!)

    The setting value to find organizations for.

notificationDeliveryRestrictionEnabledSetting (NotificationRestrictionSettingValue!)

Indicates if email notification delivery for this enterprise is restricted to verified or approved domains.

oidcProvider (OIDCProvider)

The OIDC Identity Provider for the enterprise.

organizationProjectsSetting (EnterpriseEnabledDisabledSettingValue!)

The setting value for whether organization projects are enabled for organizations in this enterprise.

organizationProjectsSettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the provided organization projects setting value.

Arguments for organizationProjectsSettingOrganizations

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • value (Boolean!)

    The setting value to find organizations for.

outsideCollaborators (EnterpriseOutsideCollaboratorConnection!)

A list of outside collaborators across the repositories in the enterprise.

Arguments for outsideCollaborators

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • hasTwoFactorEnabled (Boolean)

    Only return outside collaborators with this two-factor authentication status.

    Upcoming Change on 2025-04-01 UTC Description: hasTwoFactorEnabled will be removed. Use two_factor_method_security instead. Reason: has_two_factor_enabled will be removed.

  • last (Int)

    返回列表中的后 *n* 个元素。

  • login (String)

    The login of one specific outside collaborator.

  • organizationLogins ([String!])

    Only return outside collaborators within the organizations with these logins.

  • query (String)

    The search string to look for.

  • visibility (RepositoryVisibility)

    Only return outside collaborators on repositories with this visibility.

pendingAdminInvitations (EnterpriseAdministratorInvitationConnection!)

A list of pending administrator invitations for the enterprise.

Arguments for pendingAdminInvitations

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • query (String)

    The search string to look for.

pendingCollaboratorInvitations (RepositoryInvitationConnection!)

A list of pending collaborator invitations across the repositories in the enterprise.

Arguments for pendingCollaboratorInvitations

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (RepositoryInvitationOrder)

    Ordering options for pending repository collaborator invitations returned from the connection.

  • query (String)

    The search string to look for.

pendingMemberInvitations (EnterprisePendingMemberInvitationConnection!)

A list of pending member invitations for organizations in the enterprise.

Arguments for pendingMemberInvitations

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • organizationLogins ([String!])

    Only return invitations within the organizations with these logins.

  • query (String)

    The search string to look for.

pendingUnaffiliatedMemberInvitations (EnterpriseMemberInvitationConnection!)

A list of pending unaffiliated member invitations for the enterprise.

Arguments for pendingUnaffiliatedMemberInvitations

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • query (String)

    The search string to look for.

repositoryDeployKeySetting (EnterpriseEnabledDisabledSettingValue!)

The setting value for whether deploy keys are enabled for repositories in organizations in this enterprise.

repositoryDeployKeySettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the provided deploy keys setting value.

Arguments for repositoryDeployKeySettingOrganizations

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • value (Boolean!)

    The setting value to find organizations for.

repositoryProjectsSetting (EnterpriseEnabledDisabledSettingValue!)

The setting value for whether repository projects are enabled in this enterprise.

repositoryProjectsSettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the provided repository projects setting value.

Arguments for repositoryProjectsSettingOrganizations

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • value (Boolean!)

    The setting value to find organizations for.

samlIdentityProvider (EnterpriseIdentityProvider)

The SAML Identity Provider for the enterprise.

samlIdentityProviderSettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the SAML single sign-on setting value.

Arguments for samlIdentityProviderSettingOrganizations

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

supportEntitlements (EnterpriseMemberConnection!)

A list of members with a support entitlement.

Arguments for supportEntitlements

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (EnterpriseMemberOrder)

    Ordering options for support entitlement users returned from the connection.

teamDiscussionsSetting (EnterpriseEnabledDisabledSettingValue!)

The setting value for whether team discussions are enabled for organizations in this enterprise.

警告

teamDiscussionsSetting is deprecated.

The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.

twoFactorDisallowedMethodsSetting (EnterpriseDisallowedMethodsSettingValue!)

The setting value for what methods of two-factor authentication the enterprise prevents its users from having.

twoFactorRequiredSetting (EnterpriseEnabledSettingValue!)

The setting value for whether the enterprise requires two-factor authentication for its organizations and users.

twoFactorRequiredSettingOrganizations (OrganizationConnection!)

A list of enterprise organizations configured with the two-factor authentication setting value.

Arguments for twoFactorRequiredSettingOrganizations

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • value (Boolean!)

    The setting value to find organizations for.

EnterprisePendingMemberInvitationConnection

The connection type for OrganizationInvitation.

Fields for EnterprisePendingMemberInvitationConnection

名称描述

edges ([EnterprisePendingMemberInvitationEdge])

边的列表。

nodes ([OrganizationInvitation])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

totalUniqueUserCount (Int!)

Identifies the total count of unique users in the connection.

EnterprisePendingMemberInvitationEdge

An invitation to be a member in an enterprise organization.

Fields for EnterprisePendingMemberInvitationEdge

名称描述

cursor (String!)

用于分页的光标。

node (OrganizationInvitation)

边的末端节点。

EnterpriseRepositoryInfo

A subset of repository information queryable from an enterprise.

EnterpriseRepositoryInfo Implements

Fields for EnterpriseRepositoryInfo

名称描述

id (ID!)

The Node ID of the EnterpriseRepositoryInfo object.

isPrivate (Boolean!)

Identifies if the repository is private or internal.

name (String!)

The repository's name.

nameWithOwner (String!)

The repository's name with owner.

EnterpriseRepositoryInfoConnection

The connection type for EnterpriseRepositoryInfo.

Fields for EnterpriseRepositoryInfoConnection

名称描述

edges ([EnterpriseRepositoryInfoEdge])

边的列表。

nodes ([EnterpriseRepositoryInfo])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

EnterpriseRepositoryInfoEdge

连接中的一条边。

Fields for EnterpriseRepositoryInfoEdge

名称描述

cursor (String!)

用于分页的光标。

node (EnterpriseRepositoryInfo)

边的末端节点。

EnterpriseServerInstallation

An Enterprise Server installation.

EnterpriseServerInstallation Implements

Fields for EnterpriseServerInstallation

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

customerName (String!)

The customer name to which the Enterprise Server installation belongs.

hostName (String!)

The host name of the Enterprise Server installation.

id (ID!)

The Node ID of the EnterpriseServerInstallation object.

isConnected (Boolean!)

Whether or not the installation is connected to an Enterprise Server installation via GitHub Connect.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

userAccounts (EnterpriseServerUserAccountConnection!)

User accounts on this Enterprise Server installation.

Arguments for userAccounts

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

userAccountsUploads (EnterpriseServerUserAccountsUploadConnection!)

User accounts uploads for the Enterprise Server installation.

Arguments for userAccountsUploads

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

EnterpriseServerInstallationConnection

The connection type for EnterpriseServerInstallation.

Fields for EnterpriseServerInstallationConnection

名称描述

edges ([EnterpriseServerInstallationEdge])

边的列表。

nodes ([EnterpriseServerInstallation])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

EnterpriseServerInstallationEdge

连接中的一条边。

Fields for EnterpriseServerInstallationEdge

名称描述

cursor (String!)

用于分页的光标。

node (EnterpriseServerInstallation)

边的末端节点。

EnterpriseServerInstallationMembershipConnection

The connection type for EnterpriseServerInstallation.

Fields for EnterpriseServerInstallationMembershipConnection

名称描述

edges ([EnterpriseServerInstallationMembershipEdge])

边的列表。

nodes ([EnterpriseServerInstallation])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

EnterpriseServerInstallationMembershipEdge

An Enterprise Server installation that a user is a member of.

Fields for EnterpriseServerInstallationMembershipEdge

名称描述

cursor (String!)

用于分页的光标。

node (EnterpriseServerInstallation)

边的末端节点。

role (EnterpriseUserAccountMembershipRole!)

The role of the user in the enterprise membership.

EnterpriseServerUserAccount

A user account on an Enterprise Server installation.

EnterpriseServerUserAccount Implements

Fields for EnterpriseServerUserAccount

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

emails (EnterpriseServerUserAccountEmailConnection!)

User emails belonging to this user account.

Arguments for emails

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

enterpriseServerInstallation (EnterpriseServerInstallation!)

The Enterprise Server installation on which this user account exists.

id (ID!)

The Node ID of the EnterpriseServerUserAccount object.

isSiteAdmin (Boolean!)

Whether the user account is a site administrator on the Enterprise Server installation.

login (String!)

The login of the user account on the Enterprise Server installation.

profileName (String)

The profile name of the user account on the Enterprise Server installation.

remoteCreatedAt (DateTime!)

The date and time when the user account was created on the Enterprise Server installation.

remoteUserId (Int!)

The ID of the user account on the Enterprise Server installation.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

EnterpriseServerUserAccountConnection

The connection type for EnterpriseServerUserAccount.

Fields for EnterpriseServerUserAccountConnection

名称描述

edges ([EnterpriseServerUserAccountEdge])

边的列表。

nodes ([EnterpriseServerUserAccount])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

EnterpriseServerUserAccountEdge

连接中的一条边。

Fields for EnterpriseServerUserAccountEdge

名称描述

cursor (String!)

用于分页的光标。

node (EnterpriseServerUserAccount)

边的末端节点。

EnterpriseServerUserAccountEmail

An email belonging to a user account on an Enterprise Server installation.

EnterpriseServerUserAccountEmail Implements

Fields for EnterpriseServerUserAccountEmail

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

email (String!)

The email address.

id (ID!)

The Node ID of the EnterpriseServerUserAccountEmail object.

isPrimary (Boolean!)

Indicates whether this is the primary email of the associated user account.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

userAccount (EnterpriseServerUserAccount!)

The user account to which the email belongs.

EnterpriseServerUserAccountEmailConnection

The connection type for EnterpriseServerUserAccountEmail.

Fields for EnterpriseServerUserAccountEmailConnection

名称描述

edges ([EnterpriseServerUserAccountEmailEdge])

边的列表。

nodes ([EnterpriseServerUserAccountEmail])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

EnterpriseServerUserAccountEmailEdge

连接中的一条边。

Fields for EnterpriseServerUserAccountEmailEdge

名称描述

cursor (String!)

用于分页的光标。

node (EnterpriseServerUserAccountEmail)

边的末端节点。

EnterpriseServerUserAccountsUpload

A user accounts upload from an Enterprise Server installation.

EnterpriseServerUserAccountsUpload Implements

Fields for EnterpriseServerUserAccountsUpload

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

enterprise (Enterprise!)

The enterprise to which this upload belongs.

enterpriseServerInstallation (EnterpriseServerInstallation!)

The Enterprise Server installation for which this upload was generated.

id (ID!)

The Node ID of the EnterpriseServerUserAccountsUpload object.

name (String!)

The name of the file uploaded.

syncState (EnterpriseServerUserAccountsUploadSyncState!)

The synchronization state of the upload.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

EnterpriseServerUserAccountsUploadConnection

The connection type for EnterpriseServerUserAccountsUpload.

Fields for EnterpriseServerUserAccountsUploadConnection

名称描述

edges ([EnterpriseServerUserAccountsUploadEdge])

边的列表。

nodes ([EnterpriseServerUserAccountsUpload])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

EnterpriseServerUserAccountsUploadEdge

连接中的一条边。

Fields for EnterpriseServerUserAccountsUploadEdge

名称描述

cursor (String!)

用于分页的光标。

node (EnterpriseServerUserAccountsUpload)

边的末端节点。

EnterpriseUserAccount

An account for a user who is an admin of an enterprise or a member of an enterprise through one or more organizations.

EnterpriseUserAccount Implements

Fields for EnterpriseUserAccount

名称描述

avatarUrl (URI!)

A URL pointing to the enterprise user account's public avatar.

avatarUrl 的参数

  • size (Int)

    生成正方形图像的大小。

createdAt (DateTime!)

标识对象创建的日期和时间。

enterprise (Enterprise!)

The enterprise in which this user account exists.

enterpriseInstallations (EnterpriseServerInstallationMembershipConnection!)

A list of Enterprise Server installations this user is a member of.

Arguments for enterpriseInstallations

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • query (String)

    The search string to look for.

id (ID!)

The Node ID of the EnterpriseUserAccount object.

login (String!)

An identifier for the enterprise user account, a login or email address.

name (String)

The name of the enterprise user account.

organizations (EnterpriseOrganizationMembershipConnection!)

A list of enterprise organizations this user is a member of.

Arguments for organizations

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (OrganizationOrder)

    Ordering options for organizations returned from the connection.

  • query (String)

    The search string to look for.

resourcePath (URI!)

The HTTP path for this user.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

url (URI!)

The HTTP URL for this user.

user (User)

The user within the enterprise.

Environment

An environment.

Environment Implements

Fields for Environment

名称描述

databaseId (Int)

标识数据库中的主键。

id (ID!)

The Node ID of the Environment object.

isPinned (Boolean)

Indicates whether or not this environment is currently pinned to the repository.

latestCompletedDeployment (Deployment)

The latest completed deployment with status success, failure, or error if it exists.

name (String!)

The name of the environment.

pinnedPosition (Int)

The position of the environment if it is pinned, null if it is not pinned.

protectionRules (DeploymentProtectionRuleConnection!)

The protection rules defined for this environment.

Arguments for protectionRules

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

EnvironmentConnection

The connection type for Environment.

Fields for EnvironmentConnection

名称描述

edges ([EnvironmentEdge])

边的列表。

nodes ([Environment])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

EnvironmentEdge

连接中的一条边。

Fields for EnvironmentEdge

名称描述

cursor (String!)

用于分页的光标。

node (Environment)

边的末端节点。

ExternalIdentity

An external identity provisioned by SAML SSO or SCIM. If SAML is configured on the organization, the external identity is visible to (1) organization owners, (2) organization owners' personal access tokens (classic) with read:org or admin:org scope, (3) GitHub App with an installation token with read or write access to members. If SAML is configured on the enterprise, the external identity is visible to (1) enterprise owners, (2) enterprise owners' personal access tokens (classic) with read:enterprise or admin:enterprise scope.

ExternalIdentity Implements

Fields for ExternalIdentity

名称描述

guid (String!)

The GUID for this identity.

id (ID!)

The Node ID of the ExternalIdentity object.

organizationInvitation (OrganizationInvitation)

Organization invitation for this SCIM-provisioned external identity.

samlIdentity (ExternalIdentitySamlAttributes)

SAML Identity attributes.

scimIdentity (ExternalIdentityScimAttributes)

SCIM Identity attributes.

user (User)

User linked to this external identity. Will be NULL if this identity has not been claimed by an organization member.

ExternalIdentityAttribute

An attribute for the External Identity attributes collection.

Fields for ExternalIdentityAttribute

名称描述

metadata (String)

The attribute metadata as JSON.

name (String!)

The attribute name.

value (String!)

The attribute value.

ExternalIdentityConnection

The connection type for ExternalIdentity.

Fields for ExternalIdentityConnection

名称描述

edges ([ExternalIdentityEdge])

边的列表。

nodes ([ExternalIdentity])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

ExternalIdentityEdge

连接中的一条边。

Fields for ExternalIdentityEdge

名称描述

cursor (String!)

用于分页的光标。

node (ExternalIdentity)

边的末端节点。

ExternalIdentitySamlAttributes

SAML attributes for the External Identity.

Fields for ExternalIdentitySamlAttributes

名称描述

attributes ([ExternalIdentityAttribute!]!)

SAML Identity attributes.

emails ([UserEmailMetadata!])

The emails associated with the SAML identity.

familyName (String)

Family name of the SAML identity.

givenName (String)

Given name of the SAML identity.

groups ([String!])

The groups linked to this identity in IDP.

nameId (String)

The NameID of the SAML identity.

username (String)

The userName of the SAML identity.

ExternalIdentityScimAttributes

SCIM attributes for the External Identity.

Fields for ExternalIdentityScimAttributes

名称描述

emails ([UserEmailMetadata!])

The emails associated with the SCIM identity.

familyName (String)

Family name of the SCIM identity.

givenName (String)

Given name of the SCIM identity.

groups ([String!])

The groups linked to this identity in IDP.

username (String)

The userName of the SCIM identity.

FileExtensionRestrictionParameters

防止包含具有指定扩展名的文件的提交被推送到提交图中。

Fields for FileExtensionRestrictionParameters

名称描述

restrictedFileExtensions ([String!]!)

禁止推送到提交图的文件扩展名。

FilePathRestrictionParameters

防止包含指定文件和文件夹路径更改的提交被推送到提交图中。这包括包含文件名的绝对路径。

Fields for FilePathRestrictionParameters

名称描述

restrictedFilePaths ([String!]!)

限制推送到提交图的文件路径。

FollowerConnection

The connection type for User.

Fields for FollowerConnection

名称描述

edges ([UserEdge])

边的列表。

nodes ([User])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

FollowingConnection

The connection type for User.

Fields for FollowingConnection

名称描述

edges ([UserEdge])

边的列表。

nodes ([User])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

A funding platform link for a repository.

Fields for FundingLink

名称描述

platform (FundingPlatform!)

The funding platform this link is for.

url (URI!)

The configured URL for this funding link.

GenericHovercardContext

A generic hovercard context with a message and icon.

GenericHovercardContext Implements

Fields for GenericHovercardContext

名称描述

message (String!)

A string describing this context.

octicon (String!)

An octicon to accompany this context.

Gist

A Gist.

Gist Implements

Fields for Gist

名称描述

comments (GistCommentConnection!)

A list of comments associated with the gist.

comments 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

createdAt (DateTime!)

标识对象创建的日期和时间。

description (String)

The gist description.

files ([GistFile])

The files in this gist.

Arguments for files

  • limit (Int)

    The maximum number of files to return.

    The default value is 10.

forks (GistConnection!)

A list of forks associated with the gist.

Arguments for forks

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (GistOrder)

    Ordering options for gists returned from the connection.

id (ID!)

The Node ID of the Gist object.

isFork (Boolean!)

Identifies if the gist is a fork.

isPublic (Boolean!)

Whether the gist is public or not.

name (String!)

The gist name.

owner (RepositoryOwner)

The gist owner.

pushedAt (DateTime)

Identifies when the gist was last pushed to.

resourcePath (URI!)

The HTML path to this resource.

stargazerCount (Int!)

Returns a count of how many stargazers there are on this object.

stargazers (StargazerConnection!)

A list of users who have starred this starrable.

Arguments for stargazers

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

url (URI!)

The HTTP URL for this Gist.

viewerHasStarred (Boolean!)

Returns a boolean indicating whether the viewing user has starred this starrable.

GistComment

Represents a comment on an Gist.

GistComment Implements

Fields for GistComment

名称描述

author (Actor)

撰写评论的操作者。

authorAssociation (CommentAuthorAssociation!)

Author's association with the gist.

body (String!)

标识评论正文。

bodyHTML (HTML!)

渲染为 HTML 的正文。

bodyText (String!)

渲染为文本的正文。

createdAt (DateTime!)

标识对象创建的日期和时间。

createdViaEmail (Boolean!)

检查此评论是否通过电子邮件回复创建。

databaseId (Int)

标识数据库中的主键。

editor (Actor)

编辑评论的操作者。

gist (Gist!)

The associated gist.

id (ID!)

The Node ID of the GistComment object.

includesCreatedEdit (Boolean!)

检查此评论是否经过编辑并包含创建数据中的编辑。

isMinimized (Boolean!)

返回评论是否已最小化。

lastEditedAt (DateTime)

编辑者最后一次编辑的时间。

minimizedReason (String)

返回评论被最小化的原因。包括 abuse(滥用)、off-topic(离题)、outdated(过时)、resolved(已解决)、duplicate(重复)、spam(垃圾邮件)和 low-quality(低质量)。请注意,这些值的大小写和格式与 MinimizeComment mutation 的输入不同。

publishedAt (DateTime)

标识评论的发布时间。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

userContentEdits (UserContentEditConnection)

此内容的编辑列表。

userContentEdits 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

viewerCanDelete (Boolean!)

检查当前查看者是否可以删除此对象。

viewerCanMinimize (Boolean!)

检查当前查看者是否可以最小化此对象。

viewerCanUnminimize (Boolean!)

检查当前查看者是否可以取消最小化此对象。

viewerCanUpdate (Boolean!)

检查当前查看者是否可以更新此对象。

viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

当前查看者无法更新此评论的原因。

viewerDidAuthor (Boolean!)

查看者是否是此评论的作者。

GistCommentConnection

The connection type for GistComment.

Fields for GistCommentConnection

名称描述

edges ([GistCommentEdge])

边的列表。

nodes ([GistComment])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

GistCommentEdge

连接中的一条边。

Fields for GistCommentEdge

名称描述

cursor (String!)

用于分页的光标。

node (GistComment)

边的末端节点。

GistConnection

The connection type for Gist.

Fields for GistConnection

名称描述

edges ([GistEdge])

边的列表。

nodes ([Gist])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

GistEdge

连接中的一条边。

Fields for GistEdge

名称描述

cursor (String!)

用于分页的光标。

node (Gist)

边的末端节点。

GistFile

A file in a gist.

Fields for GistFile

名称描述

encodedName (String)

The file name encoded to remove characters that are invalid in URL paths.

encoding (String)

The gist file encoding.

extension (String)

The file extension from the file name.

isImage (Boolean!)

Indicates if this file is an image.

isTruncated (Boolean!)

Whether the file's contents were truncated.

language (Language)

The programming language this file is written in.

name (String)

The gist file name.

size (Int)

The gist file size in bytes.

text (String)

UTF8 text data or null if the file is binary.

Arguments for text

  • truncate (Int)

    Optionally truncate the returned file to this length.

GitActor

Represents an actor in a Git commit (ie. an author or committer).

Fields for GitActor

名称描述

avatarUrl (URI!)

A URL pointing to the author's public avatar.

avatarUrl 的参数

  • size (Int)

    生成正方形图像的大小。

date (GitTimestamp)

The timestamp of the Git action (authoring or committing).

email (String)

The email in the Git commit.

name (String)

The name in the Git commit.

user (User)

The GitHub user corresponding to the email field. Null if no such user exists.

GitActorConnection

The connection type for GitActor.

Fields for GitActorConnection

名称描述

edges ([GitActorEdge])

边的列表。

nodes ([GitActor])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

GitActorEdge

连接中的一条边。

Fields for GitActorEdge

名称描述

cursor (String!)

用于分页的光标。

node (GitActor)

边的末端节点。

GitHubMetadata

Represents information about the GitHub instance.

Fields for GitHubMetadata

名称描述

gitHubServicesSha (GitObjectID!)

Returns a String that's a SHA of github-services.

gitIpAddresses ([String!])

IP addresses that users connect to for git operations.

githubEnterpriseImporterIpAddresses ([String!])

IP addresses that GitHub Enterprise Importer uses for outbound connections.

hookIpAddresses ([String!])

IP addresses that service hooks are sent from.

importerIpAddresses ([String!])

IP addresses that the importer connects from.

isPasswordAuthenticationVerifiable (Boolean!)

Whether or not users are verified.

pagesIpAddresses ([String!])

IP addresses for GitHub Pages' A records.

GpgSignature

Represents a GPG signature on a Commit or Tag.

GpgSignature Implements

Fields for GpgSignature

名称描述

email (String!)

Email used to sign this object.

isValid (Boolean!)

True if the signature is valid and verified by GitHub.

keyId (String)

Hex-encoded ID of the key that signed this object.

payload (String!)

Payload for GPG signing object. Raw ODB object without the signature header.

signature (String!)

ASCII-armored signature header from object.

signer (User)

GitHub user corresponding to the email signing this commit.

state (GitSignatureState!)

The state of this signature. VALID if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid.

verifiedAt (DateTime)

The date the signature was verified, if valid.

wasSignedByGitHub (Boolean!)

True if the signature was made with GitHub's signing key.

HeadRefDeletedEvent

Represents ahead_ref_deletedevent on a given pull request.

HeadRefDeletedEvent Implements

Fields for HeadRefDeletedEvent

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

headRef (Ref)

Identifies the Ref associated with the head_ref_deleted event.

headRefName (String!)

Identifies the name of the Ref associated with the head_ref_deleted event.

id (ID!)

The Node ID of the HeadRefDeletedEvent object.

pullRequest (PullRequest!)

事件引用的拉取请求。

HeadRefForcePushedEvent

Represents ahead_ref_force_pushedevent on a given pull request.

HeadRefForcePushedEvent Implements

Fields for HeadRefForcePushedEvent

名称描述

actor (Actor)

标识执行此事件的参与者。

afterCommit (Commit)

Identifies the after commit SHA for thehead_ref_force_pushedevent.

beforeCommit (Commit)

Identifies the before commit SHA for thehead_ref_force_pushedevent.

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

The Node ID of the HeadRefForcePushedEvent object.

pullRequest (PullRequest!)

事件引用的拉取请求。

ref (Ref)

Identifies the fully qualified ref name for thehead_ref_force_pushedevent.

HeadRefRestoredEvent

Represents ahead_ref_restoredevent on a given pull request.

HeadRefRestoredEvent Implements

Fields for HeadRefRestoredEvent

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

The Node ID of the HeadRefRestoredEvent object.

pullRequest (PullRequest!)

事件引用的拉取请求。

Hovercard

Detail needed to display a hovercard for a user.

Fields for Hovercard

名称描述

contexts ([HovercardContext!]!)

Each of the contexts for this hovercard.

IpAllowListEntry

An IP address or range of addresses that is allowed to access an owner's resources.

IpAllowListEntry Implements

Fields for IpAllowListEntry

名称描述

allowListValue (String!)

A single IP address or range of IP addresses in CIDR notation.

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

The Node ID of the IpAllowListEntry object.

isActive (Boolean!)

Whether the entry is currently active.

name (String)

The name of the IP allow list entry.

owner (IpAllowListOwner!)

The owner of the IP allow list entry.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

IpAllowListEntryConnection

The connection type for IpAllowListEntry.

Fields for IpAllowListEntryConnection

名称描述

edges ([IpAllowListEntryEdge])

边的列表。

nodes ([IpAllowListEntry])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

IpAllowListEntryEdge

连接中的一条边。

Fields for IpAllowListEntryEdge

名称描述

cursor (String!)

用于分页的光标。

node (IpAllowListEntry)

边的末端节点。

Issue

An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project.

Issue Implements

Fields for Issue

名称描述

activeLockReason (LockReason)

Reason that the conversation was locked.

assignedActors (AssigneeConnection!)

A list of actors assigned to this object.

Arguments for assignedActors

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

assignees (UserConnection!)

A list of Users assigned to this object.

Arguments for assignees

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

author (Actor)

撰写评论的操作者。

authorAssociation (CommentAuthorAssociation!)

作者与评论主题的关联。

blockedBy (IssueConnection!)

A list of issues that are blocking this issue.

Arguments for blockedBy

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

blocking (IssueConnection!)

A list of issues that this issue is blocking.

Arguments for blocking

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

body (String!)

Identifies the body of the issue.

bodyHTML (HTML!)

渲染为 HTML 的正文。

bodyResourcePath (URI!)

The http path for this issue body.

bodyText (String!)

Identifies the body of the issue rendered to text.

bodyUrl (URI!)

The http URL for this issue body.

closed (Boolean!)

Indicates if the object is closed (definition of closed may depend on type).

closedAt (DateTime)

Identifies the date and time when the object was closed.

closedByPullRequestsReferences (PullRequestConnection)

List of open pull requests referenced from this issue.

Arguments for closedByPullRequestsReferences

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • includeClosedPrs (Boolean)

    Include closed PRs in results.

    默认值为 false

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderByState (Boolean)

    Return results ordered by state.

    默认值为 false

  • userLinkedOnly (Boolean)

    Return only manually linked PRs.

    默认值为 false

comments (IssueCommentConnection!)

A list of comments associated with the Issue.

comments 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (IssueCommentOrder)

    Ordering options for issue comments returned from the connection.

createdAt (DateTime!)

标识对象创建的日期和时间。

createdViaEmail (Boolean!)

检查此评论是否通过电子邮件回复创建。

databaseId (Int)

标识数据库中的主键。

duplicateOf (Issue)

A reference to the original issue that this issue has been marked as a duplicate of.

editor (Actor)

编辑评论的操作者。

fullDatabaseId (BigInt)

将数据库中的主键标识为 BigInt。

hovercard (Hovercard!)

The hovercard information for this issue.

Arguments for hovercard

  • includeNotificationContexts (Boolean)

    Whether or not to include notification contexts.

    默认值为 true

id (ID!)

The Node ID of the Issue object.

includesCreatedEdit (Boolean!)

检查此评论是否经过编辑并包含创建数据中的编辑。

isPinned (Boolean)

Indicates whether or not this issue is currently pinned to the repository issues list.

isReadByViewer (Boolean)

Is this issue read by the viewer.

issueDependenciesSummary (IssueDependenciesSummary!)

Summary of the state of an issue's dependencies.

issueFieldValues (IssueFieldValueConnection)

Fields that are set on this issue.

Arguments for issueFieldValues

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

issueType (IssueType)

The issue type for this Issue.

labels (LabelConnection)

A list of labels associated with the object.

Arguments for labels

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (LabelOrder)

    Ordering options for labels returned from the connection.

lastEditedAt (DateTime)

编辑者最后一次编辑的时间。

linkedBranches (LinkedBranchConnection!)

Branches linked to this issue.

Arguments for linkedBranches

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

locked (Boolean!)

true if the object is locked.

milestone (Milestone)

Identifies the milestone associated with the issue.

number (Int!)

Identifies the issue number.

parent (Issue)

The parent entity of the issue.

participants (UserConnection!)

A list of Users that are participating in the Issue conversation.

Arguments for participants

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

pinnedIssueComment (PinnedIssueComment)

The pinned comment for this issue.

projectCards (ProjectCardConnection!)

List of project cards associated with this issue.

警告

projectCards is deprecated.

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

Arguments for projectCards

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

projectItems (ProjectV2ItemConnection)

List of project items associated with this issue.

Arguments for projectItems

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • includeArchived (Boolean)

    Include archived items.

    默认值为 true

  • last (Int)

    返回列表中的后 *n* 个元素。

projectV2 (ProjectV2)

Find a project by number.

Arguments for projectV2

  • number (Int!)

    The project number.

projectsV2 (ProjectV2Connection!)

A list of projects under the owner.

Arguments for projectsV2

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • query (String)

    A project to search for under the owner.

publishedAt (DateTime)

标识评论的发布时间。

reactionGroups ([ReactionGroup!])

按内容分组的对主题留下的反应列表。

reactions (ReactionConnection!)

对 Issue 留下的 Reactions 列表。

reactions 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

repository (Repository!)

与此节点关联的仓库。

resourcePath (URI!)

The HTTP path for this issue.

state (IssueState!)

Identifies the state of the issue.

stateReason (IssueStateReason)

Identifies the reason for the issue state.

Arguments for stateReason

  • enableDuplicate (Boolean)

    Whether or not to return state reason for duplicates

    Upcoming Change on 2025-10-01 UTC Description: enableDuplicate will be removed. Reason: The state reason for duplicate issue is now returned by default.

    默认值为 false

subIssues (IssueConnection!)

A list of sub-issues associated with the Issue.

Arguments for subIssues

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

subIssuesSummary (SubIssuesSummary!)

Summary of the state of an issue's sub-issues.

suggestedActors (AssigneeConnection!)

A list of suggested actors to assign to this object.

Arguments for suggestedActors

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • query (String)

    If provided, searches users by login or profile name.

timeline (IssueTimelineConnection!)

A list of events, comments, commits, etc. associated with the issue.

警告

timeline is deprecated.

timeline will be removed Use Issue.timelineItems instead. Removal on 2020-10-01 UTC.

Arguments for timeline

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • since (DateTime)

    Allows filtering timeline events by a since timestamp.

timelineItems (IssueTimelineItemsConnection!)

A list of events, comments, commits, etc. associated with the issue.

Arguments for timelineItems

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • since (DateTime)

    Filter timeline items by a since timestamp.

  • skip (Int)

    Skips the first n elements in the list.

title (String!)

Identifies the issue title.

titleHTML (String!)

Identifies the issue title rendered to HTML.

trackedInIssues (IssueConnection!)

A list of issues that track this issue.

Arguments for trackedInIssues

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

trackedIssues (IssueConnection!)

A list of issues tracked inside the current issue.

Arguments for trackedIssues

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

trackedIssuesCount (Int!)

The number of tracked issues for this issue.

Arguments for trackedIssuesCount

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

url (URI!)

The HTTP URL for this issue.

userContentEdits (UserContentEditConnection)

此内容的编辑列表。

userContentEdits 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

viewerCanClose (Boolean!)

Indicates if the object can be closed by the viewer.

viewerCanDelete (Boolean!)

检查当前查看者是否可以删除此对象。

viewerCanLabel (Boolean!)

Indicates if the viewer can edit labels for this object.

viewerCanReact (Boolean!)

用户是否可以对此主题做出反应。

viewerCanReopen (Boolean!)

Indicates if the object can be reopened by the viewer.

viewerCanSetFields (Boolean)

Check if the current viewer can set fields on the issue.

viewerCanSubscribe (Boolean!)

检查查看者是否能够更改他们对存储库的订阅状态。

viewerCanUpdate (Boolean!)

检查当前查看者是否可以更新此对象。

viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

当前查看者无法更新此评论的原因。

viewerDidAuthor (Boolean!)

查看者是否是此评论的作者。

viewerSubscription (SubscriptionState)

标识查看者是在关注、未关注还是忽略可订阅实体。

viewerThreadSubscriptionFormAction (ThreadSubscriptionFormAction)

Identifies the viewer's thread subscription form action.

viewerThreadSubscriptionStatus (ThreadSubscriptionState)

Identifies the viewer's thread subscription status.

IssueComment

Represents a comment on an Issue.

IssueComment Implements

Fields for IssueComment

名称描述

author (Actor)

撰写评论的操作者。

authorAssociation (CommentAuthorAssociation!)

作者与评论主题的关联。

body (String!)

The body as Markdown.

bodyHTML (HTML!)

渲染为 HTML 的正文。

bodyText (String!)

渲染为文本的正文。

createdAt (DateTime!)

标识对象创建的日期和时间。

createdViaEmail (Boolean!)

检查此评论是否通过电子邮件回复创建。

databaseId (Int)

标识数据库中的主键。

editor (Actor)

编辑评论的操作者。

fullDatabaseId (BigInt)

将数据库中的主键标识为 BigInt。

id (ID!)

The Node ID of the IssueComment object.

includesCreatedEdit (Boolean!)

检查此评论是否经过编辑并包含创建数据中的编辑。

isMinimized (Boolean!)

返回评论是否已最小化。

isPinned (Boolean)

Indicates whether or not this entity is currently pinned.

issue (Issue!)

Identifies the issue associated with the comment.

lastEditedAt (DateTime)

编辑者最后一次编辑的时间。

minimizedReason (String)

返回评论被最小化的原因。包括 abuse(滥用)、off-topic(离题)、outdated(过时)、resolved(已解决)、duplicate(重复)、spam(垃圾邮件)和 low-quality(低质量)。请注意,这些值的大小写和格式与 MinimizeComment mutation 的输入不同。

pinnedAt (DateTime)

Identifies the date and time when this entity was pinned.

pinnedBy (User)

The user who pinned this entity.

publishedAt (DateTime)

标识评论的发布时间。

pullRequest (PullRequest)

Returns the pull request associated with the comment, if this comment was made on a pull request.

reactionGroups ([ReactionGroup!])

按内容分组的对主题留下的反应列表。

reactions (ReactionConnection!)

对 Issue 留下的 Reactions 列表。

reactions 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

repository (Repository!)

与此节点关联的仓库。

resourcePath (URI!)

The HTTP path for this issue comment.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

url (URI!)

The HTTP URL for this issue comment.

userContentEdits (UserContentEditConnection)

此内容的编辑列表。

userContentEdits 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

viewerCanDelete (Boolean!)

检查当前查看者是否可以删除此对象。

viewerCanMinimize (Boolean!)

检查当前查看者是否可以最小化此对象。

viewerCanPin (Boolean!)

Check if the current viewer can pin this entity.

viewerCanReact (Boolean!)

用户是否可以对此主题做出反应。

viewerCanUnminimize (Boolean!)

检查当前查看者是否可以取消最小化此对象。

viewerCanUnpin (Boolean!)

Check if the current viewer can unpin this entity.

viewerCanUpdate (Boolean!)

检查当前查看者是否可以更新此对象。

viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

当前查看者无法更新此评论的原因。

viewerDidAuthor (Boolean!)

查看者是否是此评论的作者。

IssueCommentConnection

The connection type for IssueComment.

Fields for IssueCommentConnection

名称描述

edges ([IssueCommentEdge])

边的列表。

nodes ([IssueComment])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

IssueCommentEdge

连接中的一条边。

Fields for IssueCommentEdge

名称描述

cursor (String!)

用于分页的光标。

node (IssueComment)

边的末端节点。

IssueCommentPinnedEvent

Represents aissue_comment_pinnedevent on a given issue.

IssueCommentPinnedEvent Implements

Fields for IssueCommentPinnedEvent

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

The Node ID of the IssueCommentPinnedEvent object.

issueComment (IssueComment)

Identifies the issue comment associated with theissue_comment_pinnedevent.

IssueCommentUnpinnedEvent

Represents aissue_comment_unpinnedevent on a given issue.

IssueCommentUnpinnedEvent Implements

Fields for IssueCommentUnpinnedEvent

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

The Node ID of the IssueCommentUnpinnedEvent object.

issueComment (IssueComment)

Identifies the issue comment associated with theissue_comment_unpinnedevent.

IssueConnection

The connection type for Issue.

Fields for IssueConnection

名称描述

edges ([IssueEdge])

边的列表。

nodes ([Issue])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

IssueContributionsByRepository

This aggregates issues opened by a user within one repository.

Fields for IssueContributionsByRepository

名称描述

contributions (CreatedIssueContributionConnection!)

The issue contributions.

contributions 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

repository (Repository!)

The repository in which the issues were opened.

IssueDependenciesSummary

Summary of the state of an issue's dependencies.

Fields for IssueDependenciesSummary

名称描述

blockedBy (Int!)

Count of issues this issue is blocked by.

blocking (Int!)

Count of issues this issue is blocking.

totalBlockedBy (Int!)

Total count of issues this issue is blocked by (open and closed).

totalBlocking (Int!)

Total count of issues this issue is blocking (open and closed).

IssueEdge

连接中的一条边。

Fields for IssueEdge

名称描述

cursor (String!)

用于分页的光标。

node (Issue)

边的末端节点。

IssueFieldAddedEvent

Represents aissue_field_addedevent on a given issue.

IssueFieldAddedEvent Implements

Fields for IssueFieldAddedEvent

名称描述

actor (Actor)

标识执行此事件的参与者。

color (String)

The color if it is a single-select field.

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

The Node ID of the IssueFieldAddedEvent object.

issueField (IssueFields)

The issue field added.

value (String)

The value of the added field.

IssueFieldChangedEvent

Represents aissue_field_changedevent on a given issue.

IssueFieldChangedEvent Implements

Fields for IssueFieldChangedEvent

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

The Node ID of the IssueFieldChangedEvent object.

issueField (IssueFields)

The issue field changed.

newColor (String)

The new color if it is a single-select field.

newValue (String)

The new value of the field.

previousColor (String)

The previous color if it was a single-select field.

previousValue (String)

The previous value of the field.

IssueFieldDate

Represents a date issue field.

IssueFieldDate Implements

Fields for IssueFieldDate

名称描述

createdAt (DateTime!)

The issue field's creation timestamp.

dataType (IssueFieldDataType!)

The issue field's data type.

description (String)

The issue field's description.

id (ID!)

The Node ID of the IssueFieldDate object.

name (String!)

The issue field's name.

visibility (IssueFieldVisibility!)

The issue field's visibility.

IssueFieldDateValue

The value of a date field in an Issue item.

IssueFieldDateValue Implements

Fields for IssueFieldDateValue

名称描述

field (IssueFields)

The issue field that contains this value.

id (ID!)

The Node ID of the IssueFieldDateValue object.

value (String!)

Value of the field.

IssueFieldNumber

Represents a number issue field.

IssueFieldNumber Implements

Fields for IssueFieldNumber

名称描述

createdAt (DateTime!)

The issue field's creation timestamp.

dataType (IssueFieldDataType!)

The issue field's data type.

description (String)

The issue field's description.

id (ID!)

The Node ID of the IssueFieldNumber object.

name (String!)

The issue field's name.

visibility (IssueFieldVisibility!)

The issue field's visibility.

IssueFieldNumberValue

The value of a number field in an Issue item.

IssueFieldNumberValue Implements

Fields for IssueFieldNumberValue

名称描述

field (IssueFields)

The issue field that contains this value.

id (ID!)

The Node ID of the IssueFieldNumberValue object.

value (Float!)

Value of the field.

IssueFieldRemovedEvent

Represents aissue_field_removedevent on a given issue.

IssueFieldRemovedEvent Implements

Fields for IssueFieldRemovedEvent

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

The Node ID of the IssueFieldRemovedEvent object.

issueField (IssueFields)

The issue field removed.

IssueFieldSingleSelect

Represents a single select issue field.

IssueFieldSingleSelect Implements

Fields for IssueFieldSingleSelect

名称描述

createdAt (DateTime!)

The issue field's creation timestamp.

dataType (IssueFieldDataType!)

The issue field's data type.

description (String)

The issue field's description.

id (ID!)

The Node ID of the IssueFieldSingleSelect object.

name (String!)

The issue field's name.

options ([IssueFieldSingleSelectOption!]!)

Options for the single select field.

visibility (IssueFieldVisibility!)

The issue field's visibility.

IssueFieldSingleSelectOption

Represents an option in a single-select issue field.

IssueFieldSingleSelectOption Implements

Fields for IssueFieldSingleSelectOption

名称描述

color (IssueFieldSingleSelectOptionColor!)

The option's display color.

description (String)

The option's plain-text description.

id (ID!)

The Node ID of the IssueFieldSingleSelectOption object.

name (String!)

The option's name.

priority (Int)

The option's priority order.

IssueFieldSingleSelectValue

The value of a single select field in an Issue item.

IssueFieldSingleSelectValue Implements

Fields for IssueFieldSingleSelectValue

名称描述

color (IssueFieldSingleSelectOptionColor!)

The option's display color.

description (String)

The option's plain-text description.

field (IssueFields)

The issue field that contains this value.

id (ID!)

The Node ID of the IssueFieldSingleSelectValue object.

name (String!)

The option's name.

optionId (String)

The selected option's global relay ID.

value (String!)

选项的名称文本(name 的别名,与其他字段值类型保持一致)。

IssueFieldText

表示文本问题字段。

IssueFieldText 实现

IssueFieldText 的字段

名称描述

createdAt (DateTime!)

The issue field's creation timestamp.

dataType (IssueFieldDataType!)

The issue field's data type.

description (String)

The issue field's description.

id (ID!)

IssueFieldText 对象的节点 ID。

name (String!)

The issue field's name.

visibility (IssueFieldVisibility!)

The issue field's visibility.

IssueFieldTextValue

Issue 项中文本字段的值。

IssueFieldTextValue 实现

IssueFieldTextValue 的字段

名称描述

field (IssueFields)

The issue field that contains this value.

id (ID!)

IssueFieldTextValue 对象的节点 ID。

value (String!)

Value of the field.

IssueFieldValueConnection

IssueFieldValue 的连接类型。

IssueFieldValueConnection 的字段

名称描述

edges ([IssueFieldValueEdge])

边的列表。

nodes ([IssueFieldValue])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

IssueFieldValueEdge

连接中的一条边。

IssueFieldValueEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (IssueFieldValue)

边的末端节点。

IssueFieldsConnection

IssueFields 的连接类型。

IssueFieldsConnection 的字段

名称描述

edges ([IssueFieldsEdge])

边的列表。

nodes ([IssueFields])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

IssueFieldsEdge

连接中的一条边。

IssueFieldsEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (IssueFields)

边的末端节点。

IssueTemplate

存储库问题模板。

IssueTemplate 的字段

名称描述

about (String)

模板目的。

assignees (UserConnection!)

建议的受让人。

Arguments for assignees

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

body (String)

建议的问题正文。

filename (String!)

模板文件名。

labels (LabelConnection)

建议的问题标签。

Arguments for labels

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (LabelOrder)

    Ordering options for labels returned from the connection.

name (String!)

模板名称。

title (String)

建议的问题标题。

type (IssueType)

建议的问题类型。

IssueTimelineConnection

IssueTimelineItem 的连接类型。

IssueTimelineConnection 的字段

名称描述

edges ([IssueTimelineItemEdge])

边的列表。

nodes ([IssueTimelineItem])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

IssueTimelineItemEdge

连接中的一条边。

IssueTimelineItemEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (IssueTimelineItem)

边的末端节点。

IssueTimelineItemsConnection

IssueTimelineItems 的连接类型。

IssueTimelineItemsConnection 的字段

名称描述

edges ([IssueTimelineItemsEdge])

边的列表。

filteredCount (Int!)

标识应用 beforeafter 过滤器后的项数。

nodes ([IssueTimelineItems])

节点的列表。

pageCount (Int!)

标识应用 before/after 过滤器和 first/last/skip 切片后的项数。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

updatedAt (DateTime!)

标识时间线最后更新的日期和时间。

IssueTimelineItemsEdge

连接中的一条边。

IssueTimelineItemsEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (IssueTimelineItems)

边的末端节点。

IssueType

表示 Issue 的类型。

IssueType 实现

IssueType 的字段

名称描述

color (IssueTypeColor!)

问题类型的颜色。

description (String)

问题类型的描述。

id (ID!)

IssueType 对象的节点 ID。

isEnabled (Boolean!)

问题类型的启用状态。

isPrivate (Boolean!)

问题类型是否公开可见。

警告

isPrivate 已弃用。

私有问题类型正在被弃用,不能再创建。将于 UTC 时间 2025 年 4 月 1 日移除。

issues (IssueConnection!)

给定存储库中具有此问题类型的问题。

issues 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • filterBy (IssueFilters)

    从连接返回的问题的过滤选项。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • labels ([String!])

    用于筛选拉取请求的标签名称列表。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (IssueOrder)

    从连接返回的问题的排序选项。

  • repositoryId (ID!)

    从中加载问题的目标存储库。

name (String!)

问题类型的名称。

pinnedFields ([IssueFields!])

固定到此类型的有序问题字段列表。

IssueTypeAddedEvent

表示给定问题上的issue_type_added事件。

IssueTypeAddedEvent 实现

IssueTypeAddedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

IssueTypeAddedEvent 对象的节点 ID。

issueType (IssueType)

添加的问题类型。

IssueTypeChangedEvent

表示给定问题上的issue_type_changed事件。

IssueTypeChangedEvent 实现

IssueTypeChangedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

IssueTypeChangedEvent 对象的节点 ID。

issueType (IssueType)

添加的问题类型。

prevIssueType (IssueType)

移除的问题类型。

IssueTypeConnection

IssueType 的连接类型。

IssueTypeConnection 的字段

名称描述

edges ([IssueTypeEdge])

边的列表。

nodes ([IssueType])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

IssueTypeEdge

连接中的一条边。

IssueTypeEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (IssueType)

边的末端节点。

IssueTypeRemovedEvent

表示给定问题上的issue_type_removed事件。

IssueTypeRemovedEvent 实现

IssueTypeRemovedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

IssueTypeRemovedEvent 对象的节点 ID。

issueType (IssueType)

移除的问题类型。

JoinedGitHubContribution

表示用户注册 GitHub 帐户。

JoinedGitHubContribution 实现

JoinedGitHubContribution 的字段

名称描述

isRestricted (Boolean!)

此贡献是否与您无权访问的记录相关联。例如,您自己的“第一个 issue”贡献可能是在您无法再访问的仓库上进行的。

occurredAt (DateTime!)

做出此贡献的时间。

resourcePath (URI!)

此贡献的 HTTP 路径。

url (URI!)

此贡献的 HTTP URL。

user (User!)

做出此贡献的用户。

Label

用于对给定存储库中的问题、拉取请求、里程碑或讨论进行分类的标签。

Label 实现

Label 的字段

名称描述

color (String!)

标识标签颜色。

createdAt (DateTime)

标识标签创建的日期和时间。

description (String)

此标签的简短描述。

id (ID!)

Label 对象的节点 ID。

isDefault (Boolean!)

指示这是否为默认标签。

issues (IssueConnection!)

与此标签关联的问题列表。

issues 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • filterBy (IssueFilters)

    从连接返回的问题的过滤选项。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • labels ([String!])

    用于筛选拉取请求的标签名称列表。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (IssueOrder)

    从连接返回的问题的排序选项。

name (String!)

标识标签名称。

pullRequests (PullRequestConnection!)

与此标签关联的拉取请求列表。

pullRequests 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • baseRefName (String)

    用于筛选拉取请求的基础 ref 名称。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • headRefName (String)

    用于筛选拉取请求的头部 ref 名称。

  • labels ([String!])

    用于筛选拉取请求的标签名称列表。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (IssueOrder)

    连接返回的拉取请求的排序选项。

repository (Repository!)

与此标签关联的存储库。

resourcePath (URI!)

此标签的 HTTP 路径。

updatedAt (DateTime)

标识标签最后更新的日期和时间。

url (URI!)

此标签的 HTTP URL。

LabelConnection

Label 的连接类型。

LabelConnection 的字段

名称描述

edges ([LabelEdge])

边的列表。

nodes ([Label])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

LabelEdge

连接中的一条边。

LabelEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (Label)

边的末端节点。

LabeledEvent

表示给定问题或拉取请求上的labeled事件。

LabeledEvent 实现

LabeledEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

LabeledEvent 对象的节点 ID。

label (Label!)

标识与labeled事件关联的标签。

labelable (Labelable!)

标识与事件关联的 Labelable

Language

表示在存储库中找到的给定语言。

Language 实现

Language 的字段

名称描述

color (String)

为当前语言定义的颜色。

id (ID!)

Language 对象的节点 ID。

name (String!)

当前语言的名称。

LanguageConnection

与父项关联的语言列表。

LanguageConnection 的字段

名称描述

edges ([LanguageEdge])

边的列表。

nodes ([Language])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

totalSize (Int!)

用该语言编写的文件总大小(以字节为单位)。

LanguageEdge

表示存储库的语言。

LanguageEdge 的字段

名称描述

cursor (String!)

N/A

node (Language!)

N/A

size (Int!)

用该语言编写的代码字节数。

License

存储库的开源许可证。

License 实现

License 的字段

名称描述

body (String!)

许可证的全文。

conditions ([LicenseRule]!)

许可证设置的条件。

description (String)

许可证的人类可读描述。

featured (Boolean!)

许可证是否应被推荐。

hidden (Boolean!)

许可证是否应显示在许可证选择器中。

id (ID!)

License 对象的节点 ID。

implementation (String)

如何实施许可证的说明。

key (String!)

许可证的小写 SPDX ID。

limitations ([LicenseRule]!)

许可证设置的限制。

name (String!)

许可证的完整名称,由 https://spdx.org/licenses 指定。

nickname (String)

适用的惯用短名称(例如,GPLv3)。

permissions ([LicenseRule]!)

许可证设置的权限。

pseudoLicense (Boolean!)

许可证是否为伪许可证占位符(例如,other, no-license)。

spdxId (String)

https://spdx.org/licenses 指定的短标识符。

url (URI)

许可证在 https://choosealicense.com 上的 URL。

LicenseRule

描述许可证的条件、权限和限制。

LicenseRule 的字段

名称描述

description (String!)

规则的描述。

key (String!)

机器可读的规则键。

label (String!)

人类可读的规则标签。

LinkedBranch

链接到问题上的分支。

LinkedBranch 实现

LinkedBranch 的字段

名称描述

id (ID!)

LinkedBranch 对象的节点 ID。

ref (Ref)

分支的 ref。

LinkedBranchConnection

链接到问题上的分支列表。

LinkedBranchConnection 的字段

名称描述

edges ([LinkedBranchEdge])

边的列表。

nodes ([LinkedBranch])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

LinkedBranchEdge

连接中的一条边。

LinkedBranchEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (LinkedBranch)

边的末端节点。

LockedEvent

表示给定问题或拉取请求上的locked事件。

LockedEvent 实现

LockedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

LockedEvent 对象的节点 ID。

lockReason (LockReason)

对话被锁定的原因(可选)。

lockable (Lockable!)

被锁定的对象。

Mannequin

用于归属 GitHub 上导入数据的占位符用户。

Mannequin 实现

Mannequin 的字段

名称描述

avatarUrl (URI!)

指向 GitHub App 公共头像的 URL。

avatarUrl 的参数

  • size (Int)

    生成正方形图像的大小。

claimant (User)

认领此假人所归属数据的用户。

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (Int)

标识数据库中的主键。

email (String)

假人在源实例上的电子邮件。

id (ID!)

Mannequin 对象的节点 ID。

login (String!)

参与者的用户名。

name (String)

导入假人的显示名称。

resourcePath (URI!)

The HTML path to this resource.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

url (URI!)

此资源的 URL。

MannequinConnection

假人列表。

MannequinConnection 的字段

名称描述

edges ([MannequinEdge])

边的列表。

nodes ([Mannequin])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

MannequinEdge

表示一个假人。

MannequinEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (Mannequin)

边的末端节点。

MarkedAsDuplicateEvent

表示给定问题或拉取请求上的marked_as_duplicate事件。

MarkedAsDuplicateEvent 实现

MarkedAsDuplicateEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

canonical (IssueOrPullRequest)

被另一个问题或拉取请求复制的权威问题或拉取请求。

createdAt (DateTime!)

标识对象创建的日期和时间。

duplicate (IssueOrPullRequest)

被标记为另一个问题或拉取请求的副本的问题或拉取请求。

id (ID!)

MarkedAsDuplicateEvent 对象的节点 ID。

isCrossRepository (Boolean!)

权威和副本属于不同的存储库。

MarketplaceCategory

Marketplace 类别的公开描述。

MarketplaceCategory 实现

MarketplaceCategory 的字段

名称描述

description (String)

类别的描述。

howItWorks (String)

此类别中列出的应用如何与 GitHub 配合使用的技术描述。

id (ID!)

MarketplaceCategory 对象的节点 ID。

name (String!)

类别的名称。

primaryListingCount (Int!)

有多少 Marketplace 列表以此为主要类别。

resourcePath (URI!)

此 Marketplace 类别的 HTTP 路径。

secondaryListingCount (Int!)

有多少 Marketplace 列表以此为次要类别。

slug (String!)

类别在其 URL 中使用的短名称。

url (URI!)

此 Marketplace 类别的 HTTP URL。

MarketplaceListing

GitHub 集成市场中的列表。

MarketplaceListing 实现

MarketplaceListing 的字段

名称描述

app (App)

此列表代表的 GitHub App。

companyUrl (URI)

列表所有者公司网站的 URL。

configurationResourcePath (URI!)

用于配置对列表集成或 OAuth 应用访问的 HTTP 路径。

configurationUrl (URI!)

用于配置对列表集成或 OAuth 应用访问的 HTTP URL。

documentationUrl (URI)

列表文档的 URL。

extendedDescription (String)

列表的详细描述。

extendedDescriptionHTML (HTML!)

使用 GitHub Flavored Markdown 渲染的列表详细描述 HTML。

fullDescription (String!)

列表的介绍性描述。

fullDescriptionHTML (HTML!)

使用 GitHub Flavored Markdown 渲染的列表介绍性描述 HTML。

hasPublishedFreeTrialPlans (Boolean!)

此列表是否有任何带有免费试用期的计划?

hasTermsOfService (Boolean!)

此列表是否有服务条款链接?

hasVerifiedOwner (Boolean!)

应用的创建者是否为经过验证的组织。

howItWorks (String)

此应用如何与 GitHub 配合使用的技术描述。

howItWorksHTML (HTML!)

使用 GitHub Flavored Markdown 渲染的列表技术描述 HTML。

id (ID!)

MarketplaceListing 对象的节点 ID。

installationUrl (URI)

用于将产品安装到查看者帐户或组织的 URL。

installedForViewer (Boolean!)

此列表的应用是否已为当前查看者安装。

isArchived (Boolean!)

此列表是否已从 Marketplace 中移除。

isDraft (Boolean!)

此列表是否仍是可编辑的草稿,尚未提交审核且在 Marketplace 中不可公开见。

isPaid (Boolean!)

此列表代表的产品是否作为付费计划的一部分提供。

isPublic (Boolean!)

此列表是否已获批在 Marketplace 中显示。

isRejected (Boolean!)

此列表是否已被 GitHub 拒绝在 Marketplace 中显示。

isUnverified (Boolean!)

此列表是否已获批在 Marketplace 中进行未经验证的显示。

isUnverifiedPending (Boolean!)

此草稿列表是否已提交审核,以获批准在 Marketplace 中进行未经验证的显示。

isVerificationPendingFromDraft (Boolean!)

此草稿列表是否已提交审核,以获 GitHub 批准在 Marketplace 中进行验证的显示。

isVerificationPendingFromUnverified (Boolean!)

此未经验证的列表是否已提交审核,以获 GitHub 批准在 Marketplace 中进行验证的显示。

isVerified (Boolean!)

此列表是否已获批在 Marketplace 中进行验证的显示。

logoBackgroundColor (String!)

徽标背景的十六进制颜色代码(不含开头的“#”)。

logoUrl (URI)

列表徽标图像的 URL。

logoUrl 的参数

  • size (Int)

    生成的正方形图像的大小(以像素为单位)。

    默认值为 400

name (String!)

列表的全名。

normalizedShortDescription (String!)

列表的极短描述,末尾没有句点或与号。

pricingUrl (URI)

列表详细定价的 URL。

primaryCategory (MarketplaceCategory!)

最能描述列表的类别。

privacyPolicyUrl (URI!)

列表隐私政策的 URL,对于不需要隐私政策 URL 的列表,可能会返回空字符串。

resourcePath (URI!)

Marketplace 列表的 HTTP 路径。

screenshotUrls ([String]!)

列表屏幕截图的 URL。

secondaryCategory (MarketplaceCategory)

描述列表的备用类别。

shortDescription (String!)

列表的极短描述。

slug (String!)

列表在其 URL 中使用的短名称。

statusUrl (URI)

列表状态页面的 URL。

supportEmail (String)

此列表应用的电子邮件支持地址。

supportUrl (URI!)

此列表应用的 URL 或电子邮件支持地址,对于不需要支持 URL 的列表,可能会返回空字符串。

termsOfServiceUrl (URI)

列表服务条款的 URL。

url (URI!)

Marketplace 列表的 HTTP URL。

viewerCanAddPlans (Boolean!)

当前查看者是否可以为此 Marketplace 列表添加计划。

viewerCanApprove (Boolean!)

当前查看者是否可以批准此 Marketplace 列表。

viewerCanDelist (Boolean!)

当前查看者是否可以从此 Marketplace 列表下架。

viewerCanEdit (Boolean!)

当前查看者是否可以编辑此 Marketplace 列表。

viewerCanEditCategories (Boolean!)

当前查看者是否可以编辑此 Marketplace 列表的主要和次要类别。

viewerCanEditPlans (Boolean!)

当前查看者是否可以编辑此 Marketplace 列表的计划。

viewerCanRedraft (Boolean!)

当前查看者是否可以将此 Marketplace 列表返回到草稿状态,以便再次编辑。

viewerCanReject (Boolean!)

当前查看者是否可以通过将其返回到可编辑草稿状态或完全拒绝来拒绝此 Marketplace 列表。

viewerCanRequestApproval (Boolean!)

当前查看者是否可以请求审核此列表以在 Marketplace 中显示为已验证。

viewerHasPurchased (Boolean!)

指示当前用户是否为此 Marketplace 列表拥有有效的订阅。

viewerHasPurchasedForAllOrganizations (Boolean!)

指示当前用户是否为此 Marketplace 列表为其拥有的所有组织购买了订阅。

viewerIsListingAdmin (Boolean!)

当前查看者角色是否允许他们管理此 Marketplace 列表。

MarketplaceListingConnection

查找 Marketplace 列表。

MarketplaceListingConnection 的字段

名称描述

edges ([MarketplaceListingEdge])

边的列表。

nodes ([MarketplaceListing])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

MarketplaceListingEdge

连接中的一条边。

MarketplaceListingEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (MarketplaceListing)

边的末端节点。

MaxFilePathLengthParameters

防止包含超过指定字符限制的文件路径的提交被推送到提交图。

MaxFilePathLengthParameters 的字段

名称描述

maxFilePathLength (Int!)

文件路径中允许的最大字符数。

MaxFileSizeParameters

防止包含超过指定限制的单个文件的提交被推送到提交图。

MaxFileSizeParameters 的字段

名称描述

maxFileSize (Int!)

允许的最大文件大小(以 MB 为单位)。此限制不适用于 Git 大文件存储 (Git LFS)。

MemberFeatureRequestNotification

表示成员功能请求通知。

MemberFeatureRequestNotification 实现

MemberFeatureRequestNotification 的字段

名称描述

body (String!)

表示包含实体名称和功能请求数量的成员功能请求正文。

id (ID!)

MemberFeatureRequestNotification 对象的节点 ID。

title (String!)

表示成员功能请求通知标题。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

MembersCanDeleteReposClearAuditEntry

members_can_delete_repos.clear 事件的审核日志条目。

MembersCanDeleteReposClearAuditEntry 实现

MembersCanDeleteReposClearAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

enterpriseResourcePath (URI)

The HTTP path for this enterprise.

enterpriseSlug (String)

企业的 slug。

enterpriseUrl (URI)

The HTTP URL for this enterprise.

id (ID!)

MembersCanDeleteReposClearAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

MembersCanDeleteReposDisableAuditEntry

members_can_delete_repos.disable 事件的审核日志条目。

MembersCanDeleteReposDisableAuditEntry 实现

MembersCanDeleteReposDisableAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

enterpriseResourcePath (URI)

The HTTP path for this enterprise.

enterpriseSlug (String)

企业的 slug。

enterpriseUrl (URI)

The HTTP URL for this enterprise.

id (ID!)

MembersCanDeleteReposDisableAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

MembersCanDeleteReposEnableAuditEntry

members_can_delete_repos.enable 事件的审核日志条目。

MembersCanDeleteReposEnableAuditEntry 实现

MembersCanDeleteReposEnableAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

enterpriseResourcePath (URI)

The HTTP path for this enterprise.

enterpriseSlug (String)

企业的 slug。

enterpriseUrl (URI)

The HTTP URL for this enterprise.

id (ID!)

MembersCanDeleteReposEnableAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

MentionedEvent

表示给定问题或拉取请求上的mentioned事件。

MentionedEvent 实现

MentionedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (Int)

标识数据库中的主键。

id (ID!)

MentionedEvent 对象的节点 ID。

MergeQueue

要合并到存储库中受保护分支的拉取请求条目队列。

MergeQueue 实现

MergeQueue 的字段

名称描述

configuration (MergeQueueConfiguration)

此合并队列的配置。

entries (MergeQueueEntryConnection)

队列中的条目。

entries 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

id (ID!)

MergeQueue 对象的节点 ID。

nextEntryEstimatedTimeToMerge (Int)

新添加条目预计合并时间(以秒为单位)。

repository (Repository)

此合并队列所属的存储库。

resourcePath (URI!)

此合并队列的 HTTP 路径。

url (URI!)

此合并队列的 HTTP URL。

MergeQueueConfiguration

MergeQueue 的配置。

MergeQueueConfiguration 的字段

名称描述

checkResponseTimeout (Int)

等待检查响应的时间(以分钟为单位),超过此时间后视为失败。

maximumEntriesToBuild (Int)

一次构建的最大条目数。

maximumEntriesToMerge (Int)

一次合并的最大条目数。

mergeMethod (PullRequestMergeMethod)

用于此队列的合并方法。

mergingStrategy (MergeQueueMergingStrategy)

合并条目时使用的策略。

minimumEntriesToMerge (Int)

一次合并所需的最小条目数。

minimumEntriesToMergeWaitTime (Int)

忽略队列中最小条目数要求并合并条目集合之前等待的时间(以分钟为单位)。

MergeQueueEntry

MergeQueue 中的条目。

MergeQueueEntry 实现

MergeQueueEntry 的字段

名称描述

baseCommit (Commit)

此条目的基础提交。

enqueuedAt (DateTime!)

此条目添加到合并队列的日期和时间。

enqueuer (Actor!)

将此条目入队的操作者。

estimatedTimeToMerge (Int)

此条目预计合并时间(以秒为单位)。

headCommit (Commit)

此条目的头部提交。

id (ID!)

MergeQueueEntry 对象的节点 ID。

jump (Boolean!)

此拉取请求是否应跳过队列。

mergeQueue (MergeQueue)

此条目所属的合并队列。

position (Int!)

此条目在队列中的位置。

pullRequest (PullRequest)

将添加到合并组的拉取请求。

solo (Boolean!)

此拉取请求是否需要单独部署。

state (MergeQueueEntryState!)

此条目在队列中的状态。

MergeQueueEntryConnection

MergeQueueEntry 的连接类型。

MergeQueueEntryConnection 的字段

名称描述

edges ([MergeQueueEntryEdge])

边的列表。

nodes ([MergeQueueEntry])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

MergeQueueEntryEdge

连接中的一条边。

MergeQueueEntryEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (MergeQueueEntry)

边的末端节点。

MergeQueueParameters

合并必须通过合并队列执行。

MergeQueueParameters 的字段

名称描述

checkResponseTimeoutMinutes (Int!)

必需状态检查报告结论的最长时间。经过此时间后,未报告结论的检查将被假定为失败。

groupingStrategy (MergeQueueGroupingStrategy!)

设置为 ALLGREEN 时,合并队列为组中每个 PR 创建的合并提交必须通过所有必需检查才能合并。设置为 HEADGREEN 时,只有合并组头部的提交(即包含组中所有 PR 更改的提交)必须通过其必需检查才能合并。

maxEntriesToBuild (Int!)

限制同时请求检查和工作流运行的排队拉取请求数量。

maxEntriesToMerge (Int!)

将在一个组中合并的最大 PR 数量。

mergeMethod (MergeQueueMergeMethod!)

合并来自排队拉取请求的更改时使用的方法。

minEntriesToMerge (Int!)

将在一个组中合并的最小 PR 数量。

minEntriesToMergeWaitMinutes (Int!)

第一个 PR 添加到队列后,合并队列应等待多长时间以达到最小组大小。此时间过后,将忽略最小组大小,并合并一个较小的组。

MergedEvent

表示给定拉取请求上的merged事件。

MergedEvent 实现

MergedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

commit (Commit)

标识与 merge 事件关联的提交。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

MergedEvent 对象的节点 ID。

mergeRef (Ref)

标识与 merge 事件关联的 Ref。

mergeRefName (String!)

标识与 merge 事件关联的 Ref 名称。

pullRequest (PullRequest!)

事件引用的拉取请求。

resourcePath (URI!)

此合并事件的 HTTP 路径。

url (URI!)

此合并事件的 HTTP URL。

MigrationSource

GitHub Enterprise Importer (GEI) 迁移源。

MigrationSource 实现

MigrationSource 的字段

名称描述

id (ID!)

MigrationSource 对象的节点 ID。

name (String!)

迁移源名称。

type (MigrationSourceType!)

迁移源类型。

url (URI!)

迁移源 URL,例如 https://github.comhttps://monalisa.ghe.com

Milestone

表示给定存储库上的里程碑对象。

Milestone 实现

Milestone 的字段

名称描述

closed (Boolean!)

Indicates if the object is closed (definition of closed may depend on type).

closedAt (DateTime)

Identifies the date and time when the object was closed.

closedIssueCount (Int!)

标识与里程碑关联的已关闭问题数。

createdAt (DateTime!)

标识对象创建的日期和时间。

creator (Actor)

标识创建里程碑的操作者。

description (String)

标识里程碑的描述。

descriptionHTML (String)

使用 GitHub Flavored Markdown 渲染的里程碑描述 HTML。

dueOn (DateTime)

标识里程碑的截止日期。

id (ID!)

Milestone 对象的节点 ID。

issues (IssueConnection!)

与里程碑关联的问题列表。

issues 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • filterBy (IssueFilters)

    从连接返回的问题的过滤选项。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • labels ([String!])

    用于筛选拉取请求的标签名称列表。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (IssueOrder)

    从连接返回的问题的排序选项。

number (Int!)

标识里程碑的编号。

openIssueCount (Int!)

标识与里程碑关联的开放问题数。

progressPercentage (Float!)

标识里程碑的完成百分比。

pullRequests (PullRequestConnection!)

与里程碑关联的拉取请求列表。

pullRequests 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • baseRefName (String)

    用于筛选拉取请求的基础 ref 名称。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • headRefName (String)

    用于筛选拉取请求的头部 ref 名称。

  • labels ([String!])

    用于筛选拉取请求的标签名称列表。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (IssueOrder)

    连接返回的拉取请求的排序选项。

repository (Repository!)

与此里程碑关联的存储库。

resourcePath (URI!)

此里程碑的 HTTP 路径。

state (MilestoneState!)

标识里程碑的状态。

title (String!)

标识里程碑的标题。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

url (URI!)

此里程碑的 HTTP URL。

viewerCanClose (Boolean!)

Indicates if the object can be closed by the viewer.

viewerCanReopen (Boolean!)

Indicates if the object can be reopened by the viewer.

MilestoneConnection

Milestone 的连接类型。

MilestoneConnection 的字段

名称描述

edges ([MilestoneEdge])

边的列表。

nodes ([Milestone])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

MilestoneEdge

连接中的一条边。

MilestoneEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (Milestone)

边的末端节点。

MilestonedEvent

表示给定问题或拉取请求上的milestoned事件。

MilestonedEvent 实现

MilestonedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

MilestonedEvent 对象的节点 ID。

milestoneTitle (String!)

标识与milestoned事件关联的里程碑标题。

subject (MilestoneItem!)

事件引用的对象。

MovedColumnsInProjectEvent

表示给定问题或拉取请求上的moved_columns_in_project事件。

MovedColumnsInProjectEvent 实现

MovedColumnsInProjectEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (Int)

标识数据库中的主键。

警告

databaseId 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

id (ID!)

MovedColumnsInProjectEvent 对象的节点 ID。

previousProjectColumnName (String!)

问题或拉取请求从中移出的列名称。

警告

previousProjectColumnName 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

project (Project)

事件引用的项目。

警告

project 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

projectCard (ProjectCard)

此项目事件引用的项目卡片。

警告

projectCard 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

projectColumnName (String!)

问题或拉取请求移入的列名称。

警告

projectColumnName 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

OIDCProvider

配置为为企业配置身份的 OIDC 身份提供者。对企业所有者或具有 read:enterprise 或 admin:enterprise 范围的企业所有者的个人访问令牌(经典)可见。

OIDCProvider 实现

OIDCProvider 的字段

名称描述

enterprise (Enterprise)

The enterprise this identity provider belongs to.

externalIdentities (ExternalIdentityConnection!)

ExternalIdentities provisioned by this identity provider.

Arguments for externalIdentities

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • login (String)

    Filter to external identities with the users login.

  • membersOnly (Boolean)

    Filter to external identities with valid org membership only.

  • userName (String)

    Filter to external identities with the users userName/NameID attribute.

id (ID!)

OIDCProvider 对象的节点 ID。

providerType (OIDCProviderType!)

OIDC 身份提供者类型。

tenantId (String!)

此提供者所附带的租户 ID。

OauthApplicationCreateAuditEntry

oauth_application.create 事件的审核日志条目。

OauthApplicationCreateAuditEntry 实现

OauthApplicationCreateAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

applicationUrl (URI)

OAuth 应用的应用 URL。

警告

applicationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

callbackUrl (URI)

OAuth 应用的回调 URL。

警告

callbackUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OauthApplicationCreateAuditEntry 对象的节点 ID。

oauthApplicationName (String)

OAuth 应用的名称。

oauthApplicationResourcePath (URI)

OAuth 应用的 HTTP 路径。

oauthApplicationUrl (URI)

OAuth 应用的 HTTP URL。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

rateLimit (Int)

OAuth 应用的速率限制。

警告

rateLimit 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

state (OauthApplicationCreateAuditEntryState)

OAuth 应用的状态。

警告

state 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgAddBillingManagerAuditEntry

org.add_billing_manager 事件的审核日志条目。

OrgAddBillingManagerAuditEntry 实现

OrgAddBillingManagerAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgAddBillingManagerAuditEntry 对象的节点 ID。

invitationEmail (String)

用于邀请组织计费管理者的电子邮件地址。

警告

invitationEmail 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgAddMemberAuditEntry

org.add_member 事件的审核日志条目。

OrgAddMemberAuditEntry 实现

OrgAddMemberAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgAddMemberAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

permission (OrgAddMemberAuditEntryPermission)

添加到组织的成员的权限级别。

警告

permission 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgBlockUserAuditEntry

org.block_user 事件的审核日志条目。

OrgBlockUserAuditEntry 实现

OrgBlockUserAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

blockedUser (User)

被阻止的用户。

警告

blockedUser 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

blockedUserName (String)

被阻止用户的用户名。

警告

blockedUserName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

blockedUserResourcePath (URI)

被阻止用户的 HTTP 路径。

警告

blockedUserResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

blockedUserUrl (URI)

被阻止用户的 HTTP URL。

警告

blockedUserUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgBlockUserAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgConfigDisableCollaboratorsOnlyAuditEntry

org.config.disable_collaborators_only 事件的审核日志条目。

OrgConfigDisableCollaboratorsOnlyAuditEntry 实现

OrgConfigDisableCollaboratorsOnlyAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgConfigDisableCollaboratorsOnlyAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgConfigEnableCollaboratorsOnlyAuditEntry

org.config.enable_collaborators_only 事件的审核日志条目。

OrgConfigEnableCollaboratorsOnlyAuditEntry 实现

OrgConfigEnableCollaboratorsOnlyAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgConfigEnableCollaboratorsOnlyAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgCreateAuditEntry

org.create 事件的审核日志条目。

OrgCreateAuditEntry 实现

OrgCreateAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

billingPlan (OrgCreateAuditEntryBillingPlan)

组织的计费计划。

警告

billingPlan 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgCreateAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgDisableOauthAppRestrictionsAuditEntry

org.disable_oauth_app_restrictions 事件的审核日志条目。

OrgDisableOauthAppRestrictionsAuditEntry 实现

OrgDisableOauthAppRestrictionsAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgDisableOauthAppRestrictionsAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgDisableSamlAuditEntry

org.disable_saml 事件的审核日志条目。

OrgDisableSamlAuditEntry 实现

OrgDisableSamlAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

digestMethodUrl (URI)

SAML 提供者的摘要算法 URL。

警告

digestMethodUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgDisableSamlAuditEntry 对象的节点 ID。

issuerUrl (URI)

SAML 提供者的颁发者 URL。

警告

issuerUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

signatureMethodUrl (URI)

SAML 提供者的签名算法 URL。

警告

signatureMethodUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

singleSignOnUrl (URI)

SAML 提供者的单点登录 URL。

警告

singleSignOnUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgDisableTwoFactorRequirementAuditEntry

org.disable_two_factor_requirement 事件的审核日志条目。

OrgDisableTwoFactorRequirementAuditEntry 实现

OrgDisableTwoFactorRequirementAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgDisableTwoFactorRequirementAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgEnableOauthAppRestrictionsAuditEntry

org.enable_oauth_app_restrictions 事件的审核日志条目。

OrgEnableOauthAppRestrictionsAuditEntry 实现

OrgEnableOauthAppRestrictionsAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgEnableOauthAppRestrictionsAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgEnableSamlAuditEntry

org.enable_saml 事件的审核日志条目。

OrgEnableSamlAuditEntry 实现

OrgEnableSamlAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

digestMethodUrl (URI)

SAML 提供者的摘要算法 URL。

警告

digestMethodUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgEnableSamlAuditEntry 对象的节点 ID。

issuerUrl (URI)

SAML 提供者的颁发者 URL。

警告

issuerUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

signatureMethodUrl (URI)

SAML 提供者的签名算法 URL。

警告

signatureMethodUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

singleSignOnUrl (URI)

SAML 提供者的单点登录 URL。

警告

singleSignOnUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgEnableTwoFactorRequirementAuditEntry

org.enable_two_factor_requirement 事件的审核日志条目。

OrgEnableTwoFactorRequirementAuditEntry 实现

OrgEnableTwoFactorRequirementAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgEnableTwoFactorRequirementAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgInviteMemberAuditEntry

org.invite_member 事件的审核日志条目。

OrgInviteMemberAuditEntry 实现

OrgInviteMemberAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

email (String)

组织邀请的电子邮件地址。

警告

email 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgInviteMemberAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationInvitation (OrganizationInvitation)

组织邀请。

警告

organizationInvitation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgInviteToBusinessAuditEntry

org.invite_to_business 事件的审核日志条目。

OrgInviteToBusinessAuditEntry 实现

OrgInviteToBusinessAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

enterpriseResourcePath (URI)

The HTTP path for this enterprise.

enterpriseSlug (String)

企业的 slug。

enterpriseUrl (URI)

The HTTP URL for this enterprise.

id (ID!)

OrgInviteToBusinessAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgOauthAppAccessApprovedAuditEntry

org.oauth_app_access_approved 事件的审核日志条目。

OrgOauthAppAccessApprovedAuditEntry 实现

OrgOauthAppAccessApprovedAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgOauthAppAccessApprovedAuditEntry 对象的节点 ID。

oauthApplicationName (String)

OAuth 应用的名称。

oauthApplicationResourcePath (URI)

OAuth 应用的 HTTP 路径。

oauthApplicationUrl (URI)

OAuth 应用的 HTTP URL。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgOauthAppAccessBlockedAuditEntry

org.oauth_app_access_blocked 事件的审核日志条目。

OrgOauthAppAccessBlockedAuditEntry 实现

OrgOauthAppAccessBlockedAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgOauthAppAccessBlockedAuditEntry 对象的节点 ID。

oauthApplicationName (String)

OAuth 应用的名称。

oauthApplicationResourcePath (URI)

OAuth 应用的 HTTP 路径。

oauthApplicationUrl (URI)

OAuth 应用的 HTTP URL。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgOauthAppAccessDeniedAuditEntry

org.oauth_app_access_denied 事件的审核日志条目。

OrgOauthAppAccessDeniedAuditEntry 实现

OrgOauthAppAccessDeniedAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgOauthAppAccessDeniedAuditEntry 对象的节点 ID。

oauthApplicationName (String)

OAuth 应用的名称。

oauthApplicationResourcePath (URI)

OAuth 应用的 HTTP 路径。

oauthApplicationUrl (URI)

OAuth 应用的 HTTP URL。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgOauthAppAccessRequestedAuditEntry

org.oauth_app_access_requested 事件的审核日志条目。

OrgOauthAppAccessRequestedAuditEntry 实现

OrgOauthAppAccessRequestedAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgOauthAppAccessRequestedAuditEntry 对象的节点 ID。

oauthApplicationName (String)

OAuth 应用的名称。

oauthApplicationResourcePath (URI)

OAuth 应用的 HTTP 路径。

oauthApplicationUrl (URI)

OAuth 应用的 HTTP URL。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgOauthAppAccessUnblockedAuditEntry

org.oauth_app_access_unblocked 事件的审核日志条目。

OrgOauthAppAccessUnblockedAuditEntry 实现

OrgOauthAppAccessUnblockedAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgOauthAppAccessUnblockedAuditEntry 对象的节点 ID。

oauthApplicationName (String)

OAuth 应用的名称。

oauthApplicationResourcePath (URI)

OAuth 应用的 HTTP 路径。

oauthApplicationUrl (URI)

OAuth 应用的 HTTP URL。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgRemoveBillingManagerAuditEntry

org.remove_billing_manager 事件的审核日志条目。

OrgRemoveBillingManagerAuditEntry 实现

OrgRemoveBillingManagerAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgRemoveBillingManagerAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

reason (OrgRemoveBillingManagerAuditEntryReason)

移除计费管理者的原因。

警告

reason 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgRemoveMemberAuditEntry

org.remove_member 事件的审核日志条目。

OrgRemoveMemberAuditEntry 实现

OrgRemoveMemberAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgRemoveMemberAuditEntry 对象的节点 ID。

membershipTypes ([OrgRemoveMemberAuditEntryMembershipType!])

成员与组织的成员资格类型。

警告

membershipTypes 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

reason (OrgRemoveMemberAuditEntryReason)

移除成员的原因。

警告

reason 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgRemoveOutsideCollaboratorAuditEntry

org.remove_outside_collaborator 事件的审核日志条目。

OrgRemoveOutsideCollaboratorAuditEntry 实现

OrgRemoveOutsideCollaboratorAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgRemoveOutsideCollaboratorAuditEntry 对象的节点 ID。

membershipTypes ([OrgRemoveOutsideCollaboratorAuditEntryMembershipType!])

外部协作者与组织的成员资格类型。

警告

membershipTypes 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

reason (OrgRemoveOutsideCollaboratorAuditEntryReason)

外部协作者被移除出组织的原因。

警告

reason 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgRestoreMemberAuditEntry

org.restore_member 事件的审核日志条目。

OrgRestoreMemberAuditEntry 实现

OrgRestoreMemberAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgRestoreMemberAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

restoredCustomEmailRoutingsCount (Int)

恢复成员的自定义电子邮件路由数量。

警告

restoredCustomEmailRoutingsCount 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

restoredIssueAssignmentsCount (Int)

恢复成员的问题分配数量。

警告

restoredIssueAssignmentsCount 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

restoredMemberships ([OrgRestoreMemberAuditEntryMembership!])

已恢复的组织成员资格对象。

警告

restoredMemberships 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

restoredMembershipsCount (Int)

已恢复的成员资格数量。

警告

restoredMembershipsCount 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

restoredRepositoriesCount (Int)

已恢复成员的仓库数量。

警告

restoredRepositoriesCount 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

restoredRepositoryStarsCount (Int)

已恢复成员加星标的仓库数量。

警告

restoredRepositoryStarsCount 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

restoredRepositoryWatchesCount (Int)

已恢复成员关注的仓库数量。

警告

restoredRepositoryWatchesCount 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgRestoreMemberMembershipOrganizationAuditEntryData

用于 org.restore_member 操作的组织成员资格元数据。

OrgRestoreMemberMembershipOrganizationAuditEntryData 实现

OrgRestoreMemberMembershipOrganizationAuditEntryData 的字段

名称描述

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgRestoreMemberMembershipRepositoryAuditEntryData

用于 org.restore_member 操作的仓库成员资格元数据。

OrgRestoreMemberMembershipRepositoryAuditEntryData 实现

OrgRestoreMemberMembershipRepositoryAuditEntryData 的字段

名称描述

repository (Repository)

与操作关联的仓库。

repositoryName (String)

仓库名称。

repositoryResourcePath (URI)

仓库的 HTTP 路径。

repositoryUrl (URI)

仓库的 HTTP URL。

OrgRestoreMemberMembershipTeamAuditEntryData

用于 org.restore_member 操作的团队成员资格元数据。

OrgRestoreMemberMembershipTeamAuditEntryData 实现

OrgRestoreMemberMembershipTeamAuditEntryData 的字段

名称描述

team (Team)

与操作关联的团队。

teamName (String)

团队名称。

teamResourcePath (URI)

此团队的 HTTP 路径。

teamUrl (URI)

此团队的 HTTP URL。

OrgUnblockUserAuditEntry

org.unblock_user 的审计日志条目。

OrgUnblockUserAuditEntry 实现

OrgUnblockUserAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

blockedUser (User)

被组织解除阻止的用户。

警告

blockedUser 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

blockedUserName (String)

被阻止用户的用户名。

警告

blockedUserName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

blockedUserResourcePath (URI)

被阻止用户的 HTTP 路径。

警告

blockedUserResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

blockedUserUrl (URI)

被阻止用户的 HTTP URL。

警告

blockedUserUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgUnblockUserAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgUpdateDefaultRepositoryPermissionAuditEntry

org.update_default_repository_permission 的审计日志条目。

OrgUpdateDefaultRepositoryPermissionAuditEntry 实现

OrgUpdateDefaultRepositoryPermissionAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgUpdateDefaultRepositoryPermissionAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

permission (OrgUpdateDefaultRepositoryPermissionAuditEntryPermission)

组织的新基本仓库权限级别。

警告

permission 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

permissionWas (OrgUpdateDefaultRepositoryPermissionAuditEntryPermission)

组织的先前基本仓库权限级别。

警告

permissionWas 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgUpdateMemberAuditEntry

org.update_member 事件的审计日志条目。

OrgUpdateMemberAuditEntry 实现

OrgUpdateMemberAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgUpdateMemberAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

permission (OrgUpdateMemberAuditEntryPermission)

组织的新成员权限级别。

警告

permission 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

permissionWas (OrgUpdateMemberAuditEntryPermission)

组织的先前成员权限级别。

警告

permissionWas 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgUpdateMemberRepositoryCreationPermissionAuditEntry

org.update_member_repository_creation_permission 事件的审计日志条目。

OrgUpdateMemberRepositoryCreationPermissionAuditEntry 实现

OrgUpdateMemberRepositoryCreationPermissionAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

canCreateRepositories (Boolean)

成员是否可以在组织中创建仓库。

警告

canCreateRepositories 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgUpdateMemberRepositoryCreationPermissionAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

visibility (OrgUpdateMemberRepositoryCreationPermissionAuditEntryVisibility)

此组织的仓库可见性级别权限。

警告

visibility 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

OrgUpdateMemberRepositoryInvitationPermissionAuditEntry

org.update_member_repository_invitation_permission 事件的审计日志条目。

OrgUpdateMemberRepositoryInvitationPermissionAuditEntry 实现

OrgUpdateMemberRepositoryInvitationPermissionAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

canInviteOutsideCollaboratorsToRepositories (Boolean)

是否可以邀请外部协作者加入组织中的仓库。

警告

canInviteOutsideCollaboratorsToRepositories 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

OrgUpdateMemberRepositoryInvitationPermissionAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

Organization

GitHub 上的一个帐户,拥有一个或多个所有者,包含仓库、成员和团队。

Organization 实现

Organization 的字段

名称描述

announcementBanner (AnnouncementBanner)

此组织设置的公告横幅(如果有)。仅对组织企业成员可见。

anyPinnableItems (Boolean!)

确定此仓库所有者是否有任何可固定到其个人资料的项目。

anyPinnableItems 的参数

archivedAt (DateTime)

标识组织被存档的日期和时间。

auditLog (OrganizationAuditEntryConnection!)

组织的审计日志条目。

警告

auditLog 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

auditLog 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (AuditLogOrder)

    返回的审计日志条目的排序选项。

  • query (String)

    用于筛选审计条目的查询字符串。

avatarUrl (URI!)

指向组织公共头像的 URL。

avatarUrl 的参数

  • size (Int)

    生成正方形图像的大小。

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (Int)

标识数据库中的主键。

description (String)

组织的公共个人资料描述。

descriptionHTML (String)

组织的公共个人资料描述渲染为 HTML。

domains (VerifiableDomainConnection)

组织拥有的域列表。

Arguments for domains

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • isApproved (Boolean)

    按域是否已批准进行筛选。

  • isVerified (Boolean)

    按域是否已验证进行筛选。

  • last (Int)

    返回列表中的后 *n* 个元素。

email (String)

组织的公共电子邮件。

enterpriseOwners (OrganizationEnterpriseOwnerConnection!)

组织企业帐户所有者的列表。

enterpriseOwners 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • query (String)

    The search string to look for.

estimatedNextSponsorsPayoutInCents (Int!)

此用户/组织的下一次 GitHub Sponsors 预计付款金额(以美分计)。

hasSponsorsListing (Boolean!)

如果此用户/组织有 GitHub Sponsors 列表,则为 true。

id (ID!)

Organization 对象的节点 ID。

interactionAbility (RepositoryInteractionAbility)

此组织的交互能力设置。

ipAllowListEnabledSetting (IpAllowListEnabledSettingValue!)

组织是否启用了 IP 允许列表的设置值。

ipAllowListEntries (IpAllowListEntryConnection!)

允许访问组织拥有的资源的 IP 地址。

ipAllowListEntries 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

ipAllowListForInstalledAppsEnabledSetting (IpAllowListForInstalledAppsEnabledSettingValue!)

组织是否为已安装的 GitHub Apps 启用了 IP 允许列表配置的设置值。

isSponsoredBy (Boolean!)

给定帐户是否正在赞助此用户/组织。

isSponsoredBy 的参数

  • accountLogin (String!)

    目标帐户的登录名。

isSponsoringViewer (Boolean!)

如果查看者被此用户/组织赞助,则为 true。

isVerified (Boolean!)

组织是否已验证其个人资料电子邮件和网站。

issueFields (IssueFieldsConnection)

组织的议题字段列表。

issueFields 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

issueTypes (IssueTypeConnection)

组织的议题类型列表。

issueTypes 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

itemShowcase (ProfileItemShowcase!)

展示个人资料所有者精选或根据受欢迎程度自动选择的仓库和 Gist。

lifetimeReceivedSponsorshipValues (SponsorAndLifetimeValueConnection!)

计算每个赞助者通过 GitHub Sponsors 向此维护者支付的总金额。不包括通过 Patreon 支付的赞助。

lifetimeReceivedSponsorshipValues 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

location (String)

组织的公共个人资料位置。

login (String!)

组织的登录名。

mannequins (MannequinConnection!)

此组织的所有假人列表。

mannequins 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • login (String)

    按登录名筛选假人。

memberStatuses (UserStatusConnection!)

获取此实体成员设置的状态消息,这些消息要么是公共的,要么仅对组织可见。

memberStatuses 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

membersCanForkPrivateRepositories (Boolean!)

成员可以在此组织中派生私有仓库。

membersWithRole (OrganizationMemberConnection!)

此组织的成员用户列表。

membersWithRole 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

monthlyEstimatedSponsorsIncomeInCents (Int!)

此用户/组织的每月 GitHub Sponsors 预计收入(以美分计)。

name (String)

组织的公共个人资料名称。

newTeamResourcePath (URI!)

创建新团队的 HTTP 路径。

newTeamUrl (URI!)

创建新团队的 HTTP URL。

notificationDeliveryRestrictionEnabledSetting (NotificationRestrictionSettingValue!)

指示此组织的电子邮件通知是否受限于已验证或已批准的域。

organizationBillingEmail (String)

组织的账单电子邮件。

packages (PackageConnection!)

所有者下的包列表。

packages 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • packageType (PackageType)

    按类型筛选注册表包。

  • repositoryId (ID)

    按 ID 查找仓库中的包。

pendingMembers (UserConnection!)

已受邀加入此组织的用户列表。

pendingMembers 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

pinnableItems (PinnableItemConnection!)

此个人资料所有者可以固定到其个人资料的仓库和 Gist 列表。

pinnableItems 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

pinnedItems (PinnableItemConnection!)

此个人资料所有者已固定到其个人资料的仓库和 Gist 列表。

pinnedItems 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

pinnedItemsRemaining (Int!)

返回此个人资料所有者还可以固定到其个人资料的项目数量。

project (Project)

按编号查找项目。

警告

project 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

project 的参数

  • number (Int!)

    要查找的项目编号。

projectV2 (ProjectV2)

Find a project by number.

Arguments for projectV2

  • number (Int!)

    The project number.

projects (ProjectConnection!)

A list of projects under the owner.

警告

projects 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

projects 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (ProjectOrder)

    连接返回的项目的排序选项。

  • search (String)

    用于搜索项目的查询,目前仅按名称搜索。

projectsResourcePath (URI!)

列出组织项目的 HTTP 路径。

projectsUrl (URI!)

列出组织项目的 HTTP URL。

projectsV2 (ProjectV2Connection!)

A list of projects under the owner.

Arguments for projectsV2

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • query (String)

    A project to search for under the owner.

recentProjects (ProjectV2Connection!)

此用户在此所有者上下文中最近修改的项目。

recentProjects 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

repositories (RepositoryConnection!)

用户拥有的仓库列表。

Arguments for repositories

  • affiliations ([RepositoryAffiliation])

    连接返回的仓库的查看者关联选项数组。例如,OWNER 将仅包括当前查看者拥有的仓库。

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • hasIssuesEnabled (Boolean)

    如果不为空,则根据仓库是否启用了议题进行筛选。

  • isArchived (Boolean)

    如果不为空,则根据仓库是否已存档且未维护进行筛选。

  • isFork (Boolean)

    如果不为空,则根据仓库是否是另一个仓库的派生进行筛选。

  • isLocked (Boolean)

    如果不为空,则根据仓库是否被锁定进行筛选。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (RepositoryOrder)

    Ordering options for repositories returned from the connection.

  • ownerAffiliations ([RepositoryAffiliation])

    连接返回的仓库的所有者关联选项数组。例如,OWNER 将仅包括正在查看的组织或用户拥有的仓库。

  • privacy (RepositoryPrivacy)

    如果不为空,则根据隐私筛选仓库。内部仓库被视为私有;如果只需要内部仓库,请考虑使用 visibility 参数。不能与 visibility 参数结合使用。

  • visibility (RepositoryVisibility)

    如果不为空,则根据可见性筛选仓库。不能与 privacy 参数结合使用。

repository (Repository)

查找仓库。

repository 的参数

  • followRenames (Boolean)

    跟随仓库重命名。如果禁用,则使用旧名称引用的仓库将返回错误。

    默认值为 true

  • name (String!)

    要查找的仓库名称。

repositoryCustomProperties (RepositoryCustomPropertyConnection)

此组织的自定义属性列表。

Arguments for repositoryCustomProperties

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

repositoryCustomProperty (RepositoryCustomProperty)

按名称返回当前组织的单个自定义属性。

Arguments for repositoryCustomProperty

  • propertyName (String!)

    要返回的自定义属性的名称。

repositoryDiscussionComments (DiscussionCommentConnection!)

此用户撰写的讨论评论。

repositoryDiscussionComments 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • onlyAnswers (Boolean)

    筛选讨论评论,仅包括被标记为答案的评论。

    默认值为 false

  • repositoryId (ID)

    筛选讨论评论,仅包括特定仓库中的评论。

repositoryDiscussions (DiscussionConnection!)

此用户发起的讨论。

repositoryDiscussions 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • answered (Boolean)

    筛选讨论,仅包括已回答或未回答的讨论。默认为同时包括已回答和未回答的讨论。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • repositoryId (ID)

    筛选讨论,仅包括特定仓库中的讨论。

repositoryMigrations (RepositoryMigrationConnection!)

此组织的所有仓库迁移列表。

repositoryMigrations 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • repositoryName (String)

    按仓库名称筛选仓库迁移。

requiresTwoFactorAuthentication (Boolean)

当为 true 时,组织要求所有成员、账单管理员和外部协作者启用双重身份验证。

resourcePath (URI!)

此组织的 HTTP 路径。

ruleset (RepositoryRuleset)

按 ID 返回当前组织的单个规则集。

Arguments for ruleset

  • databaseId (Int!)

    The ID of the ruleset to be returned.

  • includeParents (Boolean)

    包括适用于此组织的更高级别配置的规则集。

    默认值为 true

rulesets (RepositoryRulesetConnection)

此组织的规则集列表。

Arguments for rulesets

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • includeParents (Boolean)

    返回适用于此组织的更高级别配置的规则集。

    默认值为 true

  • last (Int)

    返回列表中的后 *n* 个元素。

samlIdentityProvider (OrganizationIdentityProvider)

组织的 SAML 身份提供商。对 (1) 组织所有者、(2) 具有 read:org 或 admin:org 范围的组织所有者的个人访问令牌(经典)、(3) 具有读写成员访问权限的 GitHub App 可见。

sponsoring (SponsorConnection!)

此实体正在赞助的用户和组织列表。

sponsoring 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (SponsorOrder)

    连接返回的用户和组织的排序选项。

sponsors (SponsorConnection!)

此用户或组织的赞助者列表。

sponsors 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (SponsorOrder)

    连接返回的赞助者的排序选项。

  • tierId (ID)

    如果给定,将按给定层级筛选赞助者。只会返回查看者允许看到的层级的赞助者。

sponsorsActivities (SponsorsActivityConnection!)

涉及此赞助able的事件,例如新的赞助。

sponsorsActivities 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • includeAsSponsor (Boolean)

    是否包含此 sponsorable 作为赞助者的事件。默认为仅包含此 sponsorable 作为赞助接受者的事件。

    默认值为 false

  • includePrivate (Boolean)

    是否在结果集中包含私人活动。默认为同时包含公共和私人活动。

    默认值为 true

  • last (Int)

    返回列表中的后 *n* 个元素。

  • period (SponsorsActivityPeriod)

    筛选活动,仅包括在最近指定时间段内发生的活动。设置为 ALL 可避免按活动发生时间进行筛选。如果给定了 sinceuntil,则忽略此参数。

    默认值为 MONTH

  • since (DateTime)

    筛选活动,仅包括在此时间或之后发生的活动。

  • until (DateTime)

    筛选活动,仅包括在此时间之前发生的活动。

sponsorsListing (SponsorsListing)

此用户或组织的 GitHub Sponsors 列表。

sponsorshipForViewerAsSponsor (Sponsorship)

查看者对此用户/组织的赞助;即您作为赞助者的赞助。

sponsorshipForViewerAsSponsor 的参数

  • activeOnly (Boolean)

    是否仅在赞助仍然有效时返回赞助。传入 false 以便即使赞助已被取消也返回查看者的赞助。

    默认值为 true

sponsorshipForViewerAsSponsorable (Sponsorship)

此用户/组织对查看者的赞助;即您正在接受的赞助。

sponsorshipForViewerAsSponsorable 的参数

  • activeOnly (Boolean)

    是否仅在赞助仍然有效时返回赞助。传入 false 以便即使赞助已被取消也返回赞助。

    默认值为 true

sponsorshipNewsletters (SponsorshipNewsletterConnection!)

此 sponsorable 发送给赞助者的赞助更新列表。

sponsorshipNewsletters 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

sponsorshipsAsMaintainer (SponsorshipConnection!)

此用户或组织作为接收资金的维护者的赞助。

sponsorshipsAsMaintainer 的参数

  • activeOnly (Boolean)

    是否仅包括当前活动的赞助,还是包括此维护者收到的所有赞助。

    默认值为 true

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • includePrivate (Boolean)

    是否在结果集中包含私人赞助。

    默认值为 false

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (SponsorshipOrder)

    连接返回的赞助的排序选项。如果留空,赞助将根据与查看者的相关性进行排序。

sponsorshipsAsSponsor (SponsorshipConnection!)

此用户或组织作为资助者的赞助。

sponsorshipsAsSponsor 的参数

  • activeOnly (Boolean)

    是否仅包括当前活动的赞助,还是包括此赞助者进行过的所有赞助。

    默认值为 true

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • maintainerLogins ([String!])

    筛选返回的赞助,仅包括针对具有指定登录名的用户或组织的赞助。即赞助的接收者是具有给定登录名之一的用户或组织。

  • orderBy (SponsorshipOrder)

    连接返回的赞助的排序选项。如果留空,赞助将根据与查看者的相关性进行排序。

team (Team)

按 slug 查找组织的团队。

team 的参数

  • slug (String!)

    要查找的团队的名称或 slug。

teams (TeamConnection!)

此组织中的团队列表。

teams 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • ldapMapped (Boolean)

    如果为 true,则筛选映射到 LDAP 组的团队(仅限企业)。

  • orderBy (TeamOrder)

    连接返回的团队的排序选项。

  • privacy (TeamPrivacy)

    如果不为空,则根据隐私筛选团队。

  • query (String)

    如果不为空,则使用团队名称和团队 slug 上的查询筛选团队。

  • role (TeamRole)

    如果不为空,则根据查看者是否是团队管理员或成员筛选团队。

  • rootTeamsOnly (Boolean)

    如果为 true,则仅限制为根团队。

    默认值为 false

  • userLogins ([String!])

    用于筛选的用户登录名。

teamsResourcePath (URI!)

列出组织团队的 HTTP 路径。

teamsUrl (URI!)

列出组织团队的 HTTP URL。

totalSponsorshipAmountAsSponsorInCents (Int)

此实体在 GitHub 上用于资助赞助的总金额(以美分计,例如 500 = 5.00 美元)。仅当由用户自己或可以管理所请求组织的赞助的用户查看时才返回值。

totalSponsorshipAmountAsSponsorInCents 的参数

  • since (DateTime)

    筛选在此时间或之后发生的付款。

  • sponsorableLogins ([String!])

    筛选付款,仅包括支付给具有指定用户名的用户或组织的付款。

  • until (DateTime)

    筛选在此时间之前发生的付款。

twitterUsername (String)

组织的 Twitter 用户名。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

url (URI!)

此组织的 HTTP URL。

viewerCanAdminister (Boolean!)

查看者可以管理组织。

viewerCanChangePinnedItems (Boolean!)

查看者是否可以将仓库和 Gist 固定到个人资料?

viewerCanCreateProjects (Boolean!)

当前查看者是否可以在此所有者上创建新项目。

警告

viewerCanCreateProjects 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

viewerCanCreateRepositories (Boolean!)

查看者可以在此组织上创建仓库。

viewerCanCreateTeams (Boolean!)

查看者可以在此组织上创建团队。

viewerCanSponsor (Boolean!)

查看者是否能够赞助此用户/组织。

viewerIsAMember (Boolean!)

查看者是此组织的活跃成员。

viewerIsFollowing (Boolean!)

此组织是否被查看者关注。

viewerIsSponsoring (Boolean!)

如果查看者正在赞助此用户/组织,则为 true。

webCommitSignoffRequired (Boolean!)

此组织中的仓库是否要求贡献者签署基于 Web 的提交。

websiteUrl (URI)

组织的公共个人资料 URL。

OrganizationAuditEntryConnection

OrganizationAuditEntry 的连接类型。

OrganizationAuditEntryConnection 的字段

名称描述

edges ([OrganizationAuditEntryEdge])

边的列表。

nodes ([OrganizationAuditEntry])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

OrganizationAuditEntryEdge

连接中的一条边。

OrganizationAuditEntryEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (OrganizationAuditEntry)

边的末端节点。

OrganizationConnection

由企业管理的组织列表。

OrganizationConnection 的字段

名称描述

edges ([OrganizationEdge])

边的列表。

nodes ([Organization])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

OrganizationEdge

连接中的一条边。

OrganizationEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (Organization)

边的末端节点。

OrganizationEnterpriseOwnerConnection

The connection type for User.

OrganizationEnterpriseOwnerConnection 的字段

名称描述

edges ([OrganizationEnterpriseOwnerEdge])

边的列表。

nodes ([User])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

OrganizationEnterpriseOwnerEdge

作为企业一部分的组织上下文中的企业所有者。

OrganizationEnterpriseOwnerEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (User)

边的末端节点。

organizationRole (RoleInOrganization!)

所有者相对于组织的角色。

OrganizationIdentityProvider

配置为为组织预置 SAML 和 SCIM 身份的身份提供商。对 (1) 组织所有者、(2) 具有 read:org 或 admin:org 范围的组织所有者的个人访问令牌(经典)、(3) 具有读写成员访问权限的 GitHub App 可见。

OrganizationIdentityProvider 实现

OrganizationIdentityProvider 的字段

名称描述

digestMethod (URI)

用于签署身份提供商的 SAML 请求的摘要算法。

externalIdentities (ExternalIdentityConnection!)

此身份提供商预置的外部身份。

Arguments for externalIdentities

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • login (String)

    Filter to external identities with the users login.

  • membersOnly (Boolean)

    Filter to external identities with valid org membership only.

  • userName (String)

    Filter to external identities with the users userName/NameID attribute.

id (ID!)

OrganizationIdentityProvider 对象的节点 ID。

idpCertificate (X509Certificate)

身份提供商用于签署断言和响应的 x509 证书。

issuer (String)

SAML 身份提供商的颁发者实体 ID。

organization (Organization)

此身份提供商所属的组织。

signatureMethod (URI)

用于签署身份提供商的 SAML 请求的签名算法。

ssoUrl (URI)

身份提供商的 SAML SSO 的 URL 端点。

OrganizationInvitation

邀请用户加入组织的邀请。

OrganizationInvitation 实现

OrganizationInvitation 的字段

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

email (String)

受邀加入组织的用户电子邮件地址。

id (ID!)

OrganizationInvitation 对象的节点 ID。

invitationSource (OrganizationInvitationSource!)

邀请的来源。

invitationType (OrganizationInvitationType!)

发送的邀请类型(例如 email、user)。

invitee (User)

受邀加入组织的用户。

inviter (User!)

The user who created the invitation.

警告

inviter 已弃用。

inviter 将被移除。inviter 将被 inviterActor 替换。将于 2024-07-01 UTC 移除。

inviterActor (User)

The user who created the invitation.

organization (Organization!)

邀请所属的组织。

role (OrganizationInvitationRole!)

用户在组织中的待定角色(例如 member、owner)。

OrganizationInvitationConnection

The connection type for OrganizationInvitation.

OrganizationInvitationConnection 的字段

名称描述

edges ([OrganizationInvitationEdge])

边的列表。

nodes ([OrganizationInvitation])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

OrganizationInvitationEdge

连接中的一条边。

OrganizationInvitationEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (OrganizationInvitation)

边的末端节点。

OrganizationMemberConnection

属于组织的用户的列表。

OrganizationMemberConnection 的字段

名称描述

edges ([OrganizationMemberEdge])

边的列表。

nodes ([User])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

OrganizationMemberEdge

表示组织中的用户。

OrganizationMemberEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

hasTwoFactorEnabled (Boolean)

组织成员是否启用了双重身份验证。如果查看者无法获取信息,则返回 null。

node (User)

边的末端节点。

role (OrganizationMemberRole)

此用户在组织中的角色。

OrganizationMigration

GitHub Enterprise Importer (GEI) 组织迁移。

OrganizationMigration 实现

OrganizationMigration 的字段

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (String)

标识数据库中的主键。

failureReason (String)

组织迁移失败的原因。

id (ID!)

OrganizationMigration 对象的节点 ID。

remainingRepositoriesCount (Int)

剩余要迁移的仓库数量。

sourceOrgName (String!)

要迁移的源组织的名称。

sourceOrgUrl (URI!)

要迁移的源组织的 URL。

state (OrganizationMigrationState!)

迁移状态。

targetOrgName (String!)

目标组织的名称。

totalRepositoriesCount (Int)

要迁移的仓库总数量。

OrganizationPropertyConditionTarget

用于 organization_property 条件的参数。

OrganizationPropertyConditionTarget 的字段

名称描述

exclude ([OrganizationPropertyTargetDefinition!]!)

必须不匹配的组织属性数组。

include ([OrganizationPropertyTargetDefinition!]!)

必须匹配的组织属性数组。

OrganizationPropertyTargetDefinition

必须匹配的属性。

OrganizationPropertyTargetDefinition 的字段

名称描述

name (String!)

属性的名称。

propertyValues ([String!]!)

要匹配的值。

OrganizationTeamsHovercardContext

组织团队悬停卡上下文。

OrganizationTeamsHovercardContext 实现

OrganizationTeamsHovercardContext 的字段

名称描述

message (String!)

A string describing this context.

octicon (String!)

An octicon to accompany this context.

relevantTeams (TeamConnection!)

用户在此组织中相关的团队成员。

relevantTeams 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

teamsResourcePath (URI!)

此用户的完整团队列表的路径。

teamsUrl (URI!)

此用户的完整团队列表的 URL。

totalTeamCount (Int!)

用户在组织中拥有的团队总数。

OrganizationsHovercardContext

组织列表悬停卡上下文。

OrganizationsHovercardContext 实现

OrganizationsHovercardContext 的字段

名称描述

message (String!)

A string describing this context.

octicon (String!)

An octicon to accompany this context.

relevantOrganizations (OrganizationConnection!)

此用户作为成员的相关组织。

relevantOrganizations 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

totalOrganizationCount (Int!)

此用户所在的组织总数。

Package

有关已上传包的信息。

Package 实现

Package 的字段

名称描述

id (ID!)

Package 对象的节点 ID。

latestVersion (PackageVersion)

查找包的最新版本。

name (String!)

标识包的名称。

packageType (PackageType!)

标识包的类型。

repository (Repository)

此包所属的仓库。

statistics (PackageStatistics)

有关包活动的统计信息。

version (PackageVersion)

按版本字符串查找包版本。

version 的参数

versions (PackageVersionConnection!)

此包的版本列表。

versions 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

PackageConnection

Package 的连接类型。

PackageConnection 的字段

名称描述

edges ([PackageEdge])

边的列表。

nodes ([Package])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

PackageEdge

连接中的一条边。

PackageEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (Package)

边的末端节点。

PackageFile

包版本中的文件。

PackageFile 实现

PackageFile 的字段

名称描述

id (ID!)

PackageFile 对象的节点 ID。

md5 (String)

文件的 MD5 哈希。

name (String!)

文件名称。

packageVersion (PackageVersion)

此文件所属的包版本。

sha1 (String)

文件的 SHA1 哈希。

sha256 (String)

文件的 SHA256 哈希。

size (Int)

文件大小(字节)。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

url (URI)

下载资源的 URL。

PackageFileConnection

PackageFile 的连接类型。

PackageFileConnection 的字段

名称描述

edges ([PackageFileEdge])

边的列表。

nodes ([PackageFile])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

PackageFileEdge

连接中的一条边。

PackageFileEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (PackageFile)

边的末端节点。

PackageStatistics

表示包含包活动统计信息(例如下载量)的对象。

PackageStatistics 的字段

名称描述

downloadsTotalCount (Int!)

自创建以来包的下载次数。

PackageTag

版本标签包含标签名称和版本之间的映射。

PackageTag 实现

PackageTag 的字段

名称描述

id (ID!)

PackageTag 对象的节点 ID。

name (String!)

标识版本的标签名称。

version (PackageVersion)

标签关联的版本。

PackageVersion

有关特定包版本的信息。

PackageVersion 实现

PackageVersion 的字段

名称描述

files (PackageFileConnection!)

与此包版本关联的文件列表。

Arguments for files

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

id (ID!)

PackageVersion 对象的节点 ID。

package (Package)

与此版本关联的包。

platform (String)

此版本构建的平台。

preRelease (Boolean!)

此版本是否为预发布版本。

readme (String)

此包版本的 README。

release (Release)

与此包版本关联的版本。

statistics (PackageVersionStatistics)

有关包活动的统计信息。

summary (String)

包版本摘要。

version (String!)

版本字符串。

PackageVersionConnection

PackageVersion 的连接类型。

PackageVersionConnection 的字段

名称描述

edges ([PackageVersionEdge])

边的列表。

nodes ([PackageVersion])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

PackageVersionEdge

连接中的一条边。

PackageVersionEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (PackageVersion)

边的末端节点。

PackageVersionStatistics

表示包含包版本活动统计信息(例如下载量)的对象。

PackageVersionStatistics 的字段

名称描述

downloadsTotalCount (Int!)

自创建以来包的下载次数。

PageInfo

有关连接中的分页信息。

PageInfo 的字段

名称描述

endCursor (String)

向前分页时,用于继续的游标。

hasNextPage (Boolean!)

向前分页时,是否还有更多项目?

hasPreviousPage (Boolean!)

向后分页时,是否还有更多项目?

startCursor (String)

向后分页时,用于继续的游标。

ParentIssueAddedEvent

表示给定议题上的 parent_issue_added 事件。

ParentIssueAddedEvent 实现

ParentIssueAddedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

ParentIssueAddedEvent 对象的节点 ID。

parent (Issue)

添加的父议题。

ParentIssueRemovedEvent

表示给定议题上的 parent_issue_removed 事件。

ParentIssueRemovedEvent 实现

ParentIssueRemovedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

ParentIssueRemovedEvent 对象的节点 ID。

parent (Issue)

移除的父议题。

PermissionSource

用户对仓库访问权限的权限级别和来源。

PermissionSource 的字段

名称描述

organization (Organization!)

仓库所属的组织。

permission (DefaultRepositoryPermissionField!)

此来源授予用户的访问级别。

roleName (String)

此来源授予用户的角色名称。

source (PermissionGranter!)

此权限的来源。

PinnableItemConnection

PinnableItem 的连接类型。

PinnableItemConnection 的字段

名称描述

edges ([PinnableItemEdge])

边的列表。

nodes ([PinnableItem])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

PinnableItemEdge

连接中的一条边。

PinnableItemEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (PinnableItem)

边的末端节点。

PinnedDiscussion

固定讨论是固定到仓库索引页面的讨论。

PinnedDiscussion 实现

PinnedDiscussion 的字段

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (Int)

标识数据库中的主键。

discussion (Discussion!)

已固定的讨论。

gradientStopColors ([String!]!)

所选渐变色的色标。

id (ID!)

PinnedDiscussion 对象的节点 ID。

pattern (PinnedDiscussionPattern!)

背景纹理图案。

pinnedBy (Actor!)

固定此讨论的操作者。

preconfiguredGradient (PinnedDiscussionGradient)

预配置的背景渐变选项。

repository (Repository!)

与此节点关联的仓库。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

PinnedDiscussionConnection

PinnedDiscussion 的连接类型。

PinnedDiscussionConnection 的字段

名称描述

edges ([PinnedDiscussionEdge])

边的列表。

nodes ([PinnedDiscussion])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

PinnedDiscussionEdge

连接中的一条边。

PinnedDiscussionEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (PinnedDiscussion)

边的末端节点。

PinnedEnvironment

表示给定仓库上固定的环境。

PinnedEnvironment 实现

PinnedEnvironment 的字段

名称描述

createdAt (DateTime!)

标识固定环境的创建日期和时间。

databaseId (Int)

标识数据库中的主键。

environment (Environment!)

标识关联的环境。

id (ID!)

PinnedEnvironment 对象的节点 ID。

position (Int!)

标识固定环境的位置。

repository (Repository!)

此环境固定到的仓库。

PinnedEnvironmentConnection

PinnedEnvironment 的连接类型。

PinnedEnvironmentConnection 的字段

名称描述

edges ([PinnedEnvironmentEdge])

边的列表。

nodes ([PinnedEnvironment])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

PinnedEnvironmentEdge

连接中的一条边。

PinnedEnvironmentEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (PinnedEnvironment)

边的末端节点。

PinnedEvent

表示给定议题或拉取请求上的 pinned 事件。

PinnedEvent 实现

PinnedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

PinnedEvent 对象的节点 ID。

issue (Issue!)

标识与事件关联的议题。

PinnedIssue

固定议题是固定到仓库索引页面的议题。

PinnedIssue 实现

PinnedIssue 的字段

名称描述

databaseId (Int)

标识数据库中的主键。

fullDatabaseId (BigInt)

将数据库中的主键标识为 BigInt。

id (ID!)

PinnedIssue 对象的节点 ID。

issue (Issue!)

已固定的议题。

pinnedBy (Actor!)

固定此议题的操作者。

repository (Repository!)

此议题固定到的仓库。

PinnedIssueComment

固定到议题的评论。

PinnedIssueComment 实现

PinnedIssueComment 的字段

名称描述

databaseId (Int)

标识数据库中的主键。

fullDatabaseId (BigInt)

将数据库中的主键标识为 BigInt。

id (ID!)

PinnedIssueComment 对象的节点 ID。

issue (Issue!)

此评论所属的议题。

issueComment (IssueComment!)

已固定的评论。

pinnedAt (DateTime!)

标识评论被固定的时间。

pinnedBy (Actor!)

固定此评论的操作者。

PinnedIssueConnection

PinnedIssue 的连接类型。

PinnedIssueConnection 的字段

名称描述

edges ([PinnedIssueEdge])

边的列表。

nodes ([PinnedIssue])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

PinnedIssueEdge

连接中的一条边。

PinnedIssueEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (PinnedIssue)

边的末端节点。

PrivateRepositoryForkingDisableAuditEntry

private_repository_forking.disable 事件的审计日志条目。

PrivateRepositoryForkingDisableAuditEntry 实现

PrivateRepositoryForkingDisableAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

enterpriseResourcePath (URI)

The HTTP path for this enterprise.

enterpriseSlug (String)

企业的 slug。

enterpriseUrl (URI)

The HTTP URL for this enterprise.

id (ID!)

PrivateRepositoryForkingDisableAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

repository (Repository)

与操作关联的仓库。

repositoryName (String)

仓库名称。

repositoryResourcePath (URI)

仓库的 HTTP 路径。

repositoryUrl (URI)

仓库的 HTTP URL。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

PrivateRepositoryForkingEnableAuditEntry

private_repository_forking.enable 事件的审计日志条目。

PrivateRepositoryForkingEnableAuditEntry 实现

PrivateRepositoryForkingEnableAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

enterpriseResourcePath (URI)

The HTTP path for this enterprise.

enterpriseSlug (String)

企业的 slug。

enterpriseUrl (URI)

The HTTP URL for this enterprise.

id (ID!)

PrivateRepositoryForkingEnableAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

repository (Repository)

与操作关联的仓库。

repositoryName (String)

仓库名称。

repositoryResourcePath (URI)

仓库的 HTTP 路径。

repositoryUrl (URI)

仓库的 HTTP URL。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

ProfileItemShowcase

与仓库所有者相关的可策划仓库列表,默认为显示他们拥有的最受欢迎的仓库。

ProfileItemShowcase 的字段

名称描述

hasPinnedItems (Boolean!)

所有者是否固定了任何仓库或 Gist。

items (PinnableItemConnection!)

展示中的仓库和 Gist。如果个人资料所有者有任何固定的项目,将返回这些项目。否则,将返回个人资料所有者最受欢迎的仓库。

items 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

Project

项目用于管理项目所有者内部的议题、拉取请求和备注。

Project 实现

Project 的字段

名称描述

body (String)

项目的描述正文。

警告

body 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

bodyHTML (HTML!)

项目的描述正文渲染为 HTML。

警告

bodyHTML 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

closed (Boolean!)

Indicates if the object is closed (definition of closed may depend on type).

closedAt (DateTime)

Identifies the date and time when the object was closed.

columns (ProjectColumnConnection!)

项目中的列列表。

警告

columns 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

columns 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

createdAt (DateTime!)

标识对象创建的日期和时间。

警告

createdAt 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

creator (Actor)

最初创建项目的操作者。

警告

creator 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

databaseId (Int)

标识数据库中的主键。

警告

databaseId 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

id (ID!)

Project 对象的节点 ID。

警告

id 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

name (String!)

项目的名称。

警告

name 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

number (Int!)

项目的编号。

警告

number 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

owner (ProjectOwner!)

项目的拥有者。目前仅限于仓库、组织和用户。

警告

owner 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

pendingCards (ProjectCardConnection!)

此项目中的待定卡片列表。

警告

pendingCards 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

pendingCards 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

progress (ProjectProgress!)

项目进度详情。

警告

progress 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

resourcePath (URI!)

此项目的 HTTP 路径。

警告

resourcePath 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

state (ProjectState!)

项目是开放还是关闭。

警告

state 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

警告

updatedAt 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

url (URI!)

此项目的 HTTP URL。

警告

url 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

viewerCanClose (Boolean!)

Indicates if the object can be closed by the viewer.

viewerCanReopen (Boolean!)

Indicates if the object can be reopened by the viewer.

viewerCanUpdate (Boolean!)

检查当前查看者是否可以更新此对象。

ProjectCard

项目中的卡片。

ProjectCard 实现

ProjectCard 的字段

名称描述

column (ProjectColumn)

此卡片关联的项目列。卡片一次只能属于一个项目列。如果卡片是在待定状态下创建且尚未与列关联,则 column 字段将为 null。一旦卡片与列关联,将来就不会变为待定状态。

警告

column 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

content (ProjectCardItem)

卡片内容项。

警告

content 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

createdAt (DateTime!)

标识对象创建的日期和时间。

警告

createdAt 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

creator (Actor)

创建此卡片的操作者。

警告

creator 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

databaseId (Int)

标识数据库中的主键。

警告

databaseId 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

id (ID!)

ProjectCard 对象的节点 ID。

警告

id 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

isArchived (Boolean!)

卡片是否已存档。

警告

isArchived 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

note (String)

卡片备注。

警告

note 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

project (Project!)

包含此卡片的项目。

警告

project 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

resourcePath (URI!)

此卡片的 HTTP 路径。

警告

resourcePath 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

state (ProjectCardState)

ProjectCard 的状态。

警告

state 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

警告

updatedAt 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

url (URI!)

此卡片的 HTTP URL。

警告

url 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

ProjectCardConnection

The connection type for ProjectCard.

Fields for ProjectCardConnection

名称描述

edges ([ProjectCardEdge])

边的列表。

nodes ([ProjectCard])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

ProjectCardEdge

连接中的一条边。

Fields for ProjectCardEdge

名称描述

cursor (String!)

用于分页的光标。

node (ProjectCard)

边的末端节点。

ProjectColumn

A column inside a project.

ProjectColumn Implements

Fields for ProjectColumn

名称描述

cards (ProjectCardConnection!)

List of cards in the column.

警告

cards is deprecated.

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

Arguments for cards

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

createdAt (DateTime!)

标识对象创建的日期和时间。

警告

createdAt 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

databaseId (Int)

标识数据库中的主键。

警告

databaseId 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

id (ID!)

The Node ID of the ProjectColumn object.

警告

id 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

name (String!)

The project column's name.

警告

name 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

project (Project!)

The project that contains this column.

警告

project 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

purpose (ProjectColumnPurpose)

The semantic purpose of the column.

警告

purpose is deprecated.

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

resourcePath (URI!)

The HTTP path for this project column.

警告

resourcePath 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

警告

updatedAt 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

url (URI!)

The HTTP URL for this project column.

警告

url 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

ProjectColumnConnection

The connection type for ProjectColumn.

Fields for ProjectColumnConnection

名称描述

edges ([ProjectColumnEdge])

边的列表。

nodes ([ProjectColumn])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

ProjectColumnEdge

连接中的一条边。

Fields for ProjectColumnEdge

名称描述

cursor (String!)

用于分页的光标。

node (ProjectColumn)

边的末端节点。

ProjectConnection

A list of projects associated with the owner.

Fields for ProjectConnection

名称描述

edges ([ProjectEdge])

边的列表。

nodes ([Project])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

ProjectEdge

连接中的一条边。

Fields for ProjectEdge

名称描述

cursor (String!)

用于分页的光标。

node (Project)

边的末端节点。

ProjectProgress

Project progress stats.

Fields for ProjectProgress

名称描述

doneCount (Int!)

The number of done cards.

警告

doneCount is deprecated.

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

donePercentage (Float!)

The percentage of done cards.

警告

donePercentage is deprecated.

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

enabled (Boolean!)

Whether progress tracking is enabled and cards with purpose exist for this project.

警告

enabled is deprecated.

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

inProgressCount (Int!)

The number of in-progress cards.

警告

inProgressCount is deprecated.

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

inProgressPercentage (Float!)

The percentage of in-progress cards.

警告

inProgressPercentage is deprecated.

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

todoCount (Int!)

The number of to do cards.

警告

todoCount is deprecated.

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

todoPercentage (Float!)

The percentage of to do cards.

警告

todoPercentage is deprecated.

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

ProjectV2

New projects that manage issues, pull requests and drafts using tables and boards.

ProjectV2 Implements

Fields for ProjectV2

名称描述

closed (Boolean!)

Returns true if the project is closed.

closedAt (DateTime)

Identifies the date and time when the object was closed.

createdAt (DateTime!)

标识对象创建的日期和时间。

creator (Actor)

最初创建项目的操作者。

databaseId (Int)

标识数据库中的主键。

警告

databaseId 已弃用。

databaseId will be removed because it does not support 64-bit signed integer identifiers. Use fullDatabaseId instead. Removal on 2025-04-01 UTC.

field (ProjectV2FieldConfiguration)

A field of the project.

Arguments for field

fields (ProjectV2FieldConfigurationConnection!)

List of fields and their constraints in the project.

Arguments for fields

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (ProjectV2FieldOrder)

    Ordering options for project v2 fields returned from the connection.

fullDatabaseId (BigInt)

将数据库中的主键标识为 BigInt。

id (ID!)

The Node ID of the ProjectV2 object.

items (ProjectV2ItemConnection!)

List of items in the project.

items 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (ProjectV2ItemOrder)

    Ordering options for project v2 items returned from the connection.

  • query (String)

    Search query for filtering items.

    The default value is .

number (Int!)

项目的编号。

owner (ProjectV2Owner!)

The project's owner. Currently limited to organizations and users.

public (Boolean!)

Returns true if the project is public.

readme (String)

The project's readme.

repositories (RepositoryConnection!)

The repositories the project is linked to.

Arguments for repositories

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (RepositoryOrder)

    Ordering options for repositories returned from the connection.

resourcePath (URI!)

此项目的 HTTP 路径。

shortDescription (String)

The project's short description.

statusUpdates (ProjectV2StatusUpdateConnection!)

List of the status updates in the project.

Arguments for statusUpdates

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

teams (TeamConnection!)

The teams the project is linked to.

teams 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (TeamOrder)

    Ordering options for teams returned from this connection.

template (Boolean!)

Returns true if this project is a template.

title (String!)

项目的名称。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

url (URI!)

此项目的 HTTP URL。

view (ProjectV2View)

A view of the project.

Arguments for view

  • number (Int!)

    The number of a view belonging to the project.

viewerCanClose (Boolean!)

Indicates if the object can be closed by the viewer.

viewerCanReopen (Boolean!)

Indicates if the object can be reopened by the viewer.

viewerCanUpdate (Boolean!)

检查当前查看者是否可以更新此对象。

views (ProjectV2ViewConnection!)

List of views in the project.

Arguments for views

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (ProjectV2ViewOrder)

    Ordering options for project v2 views returned from the connection.

workflow (ProjectV2Workflow)

A workflow of the project.

Arguments for workflow

  • number (Int!)

    The number of a workflow belonging to the project.

workflows (ProjectV2WorkflowConnection!)

List of the workflows in the project.

Arguments for workflows

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

ProjectV2ActorConnection

The connection type for ProjectV2Actor.

Fields for ProjectV2ActorConnection

名称描述

edges ([ProjectV2ActorEdge])

边的列表。

nodes ([ProjectV2Actor])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

ProjectV2ActorEdge

连接中的一条边。

Fields for ProjectV2ActorEdge

名称描述

cursor (String!)

用于分页的光标。

node (ProjectV2Actor)

边的末端节点。

ProjectV2Connection

The connection type for ProjectV2.

Fields for ProjectV2Connection

名称描述

edges ([ProjectV2Edge])

边的列表。

nodes ([ProjectV2])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

ProjectV2Edge

连接中的一条边。

Fields for ProjectV2Edge

名称描述

cursor (String!)

用于分页的光标。

node (ProjectV2)

边的末端节点。

ProjectV2Field

A field inside a project.

ProjectV2Field Implements

Fields for ProjectV2Field

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

dataType (ProjectV2FieldType!)

The field's type.

databaseId (Int)

标识数据库中的主键。

id (ID!)

The Node ID of the ProjectV2Field object.

name (String!)

The project field's name.

project (ProjectV2!)

The project that contains this field.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

ProjectV2FieldConfigurationConnection

The connection type for ProjectV2FieldConfiguration.

Fields for ProjectV2FieldConfigurationConnection

名称描述

edges ([ProjectV2FieldConfigurationEdge])

边的列表。

nodes ([ProjectV2FieldConfiguration])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

ProjectV2FieldConfigurationEdge

连接中的一条边。

Fields for ProjectV2FieldConfigurationEdge

名称描述

cursor (String!)

用于分页的光标。

node (ProjectV2FieldConfiguration)

边的末端节点。

ProjectV2FieldConnection

The connection type for ProjectV2Field.

Fields for ProjectV2FieldConnection

名称描述

edges ([ProjectV2FieldEdge])

边的列表。

nodes ([ProjectV2Field])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

ProjectV2FieldEdge

连接中的一条边。

Fields for ProjectV2FieldEdge

名称描述

cursor (String!)

用于分页的光标。

node (ProjectV2Field)

边的末端节点。

ProjectV2Item

An item within a Project.

ProjectV2Item Implements

Fields for ProjectV2Item

名称描述

content (ProjectV2ItemContent)

The content of the referenced draft issue, issue, pull request.

createdAt (DateTime!)

标识对象创建的日期和时间。

creator (Actor)

The actor who created the item.

databaseId (Int)

标识数据库中的主键。

警告

databaseId 已弃用。

databaseId will be removed because it does not support 64-bit signed integer identifiers. Use fullDatabaseId instead. Removal on 2025-04-01 UTC.

fieldValueByName (ProjectV2ItemFieldValue)

The field value of the first project field which matches thenameargument that is set on the item.

Arguments for fieldValueByName

  • name (String!)

    The name of the field to return the field value of.

fieldValues (ProjectV2ItemFieldValueConnection!)

The field values that are set on the item.

Arguments for fieldValues

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

fullDatabaseId (BigInt)

将数据库中的主键标识为 BigInt。

id (ID!)

The Node ID of the ProjectV2Item object.

isArchived (Boolean!)

Whether the item is archived.

project (ProjectV2!)

The project that contains this item.

type (ProjectV2ItemType!)

The type of the item.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

ProjectV2ItemConnection

The connection type for ProjectV2Item.

Fields for ProjectV2ItemConnection

名称描述

edges ([ProjectV2ItemEdge])

边的列表。

nodes ([ProjectV2Item])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

ProjectV2ItemEdge

连接中的一条边。

Fields for ProjectV2ItemEdge

名称描述

cursor (String!)

用于分页的光标。

node (ProjectV2Item)

边的末端节点。

ProjectV2ItemFieldDateValue

The value of a date field in a Project item.

ProjectV2ItemFieldDateValue Implements

Fields for ProjectV2ItemFieldDateValue

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

creator (Actor)

The actor who created the item.

databaseId (Int)

标识数据库中的主键。

date (Date)

Date value for the field.

field (ProjectV2FieldConfiguration!)

The project field that contains this value.

id (ID!)

The Node ID of the ProjectV2ItemFieldDateValue object.

item (ProjectV2Item!)

The project item that contains this value.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

ProjectV2ItemFieldIterationValue

The value of an iteration field in a Project item.

ProjectV2ItemFieldIterationValue Implements

Fields for ProjectV2ItemFieldIterationValue

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

creator (Actor)

The actor who created the item.

databaseId (Int)

标识数据库中的主键。

duration (Int!)

The duration of the iteration in days.

field (ProjectV2FieldConfiguration!)

The project field that contains this value.

id (ID!)

The Node ID of the ProjectV2ItemFieldIterationValue object.

item (ProjectV2Item!)

The project item that contains this value.

iterationId (String!)

The ID of the iteration.

startDate (Date!)

The start date of the iteration.

title (String!)

The title of the iteration.

titleHTML (String!)

The title of the iteration, with HTML.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

ProjectV2ItemFieldLabelValue

The value of the labels field in a Project item.

Fields for ProjectV2ItemFieldLabelValue

名称描述

field (ProjectV2FieldConfiguration!)

The field that contains this value.

labels (LabelConnection)

Labels value of a field.

Arguments for labels

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

ProjectV2ItemFieldMilestoneValue

The value of a milestone field in a Project item.

Fields for ProjectV2ItemFieldMilestoneValue

名称描述

field (ProjectV2FieldConfiguration!)

The field that contains this value.

milestone (Milestone)

Milestone value of a field.

ProjectV2ItemFieldNumberValue

The value of a number field in a Project item.

ProjectV2ItemFieldNumberValue Implements

Fields for ProjectV2ItemFieldNumberValue

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

creator (Actor)

The actor who created the item.

databaseId (Int)

标识数据库中的主键。

field (ProjectV2FieldConfiguration!)

The project field that contains this value.

id (ID!)

The Node ID of the ProjectV2ItemFieldNumberValue object.

item (ProjectV2Item!)

The project item that contains this value.

number (Float)

Number as a float(8).

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

ProjectV2ItemFieldPullRequestValue

The value of a pull request field in a Project item.

Fields for ProjectV2ItemFieldPullRequestValue

名称描述

field (ProjectV2FieldConfiguration!)

The field that contains this value.

pullRequests (PullRequestConnection)

The pull requests for this field.

pullRequests 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

ProjectV2ItemFieldRepositoryValue

The value of a repository field in a Project item.

Fields for ProjectV2ItemFieldRepositoryValue

名称描述

field (ProjectV2FieldConfiguration!)

The field that contains this value.

repository (Repository)

The repository for this field.

ProjectV2ItemFieldReviewerValue

The value of a reviewers field in a Project item.

Fields for ProjectV2ItemFieldReviewerValue

名称描述

field (ProjectV2FieldConfiguration!)

The field that contains this value.

reviewers (RequestedReviewerConnection)

The reviewers for this field.

reviewers 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

ProjectV2ItemFieldSingleSelectValue

The value of a single select field in a Project item.

ProjectV2ItemFieldSingleSelectValue Implements

Fields for ProjectV2ItemFieldSingleSelectValue

名称描述

color (ProjectV2SingleSelectFieldOptionColor!)

The color applied to the selected single-select option.

createdAt (DateTime!)

标识对象创建的日期和时间。

creator (Actor)

The actor who created the item.

databaseId (Int)

标识数据库中的主键。

description (String)

A plain-text description of the selected single-select option, such as what the option means.

descriptionHTML (String)

The description of the selected single-select option, including HTML tags.

field (ProjectV2FieldConfiguration!)

The project field that contains this value.

id (ID!)

The Node ID of the ProjectV2ItemFieldSingleSelectValue object.

item (ProjectV2Item!)

The project item that contains this value.

name (String)

The name of the selected single select option.

nameHTML (String)

The html name of the selected single select option.

optionId (String)

The id of the selected single select option.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

ProjectV2ItemFieldTextValue

The value of a text field in a Project item.

ProjectV2ItemFieldTextValue Implements

Fields for ProjectV2ItemFieldTextValue

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

creator (Actor)

The actor who created the item.

databaseId (Int)

标识数据库中的主键。

field (ProjectV2FieldConfiguration!)

The project field that contains this value.

id (ID!)

The Node ID of the ProjectV2ItemFieldTextValue object.

item (ProjectV2Item!)

The project item that contains this value.

text (String)

Text value of a field.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

ProjectV2ItemFieldUserValue

The value of a user field in a Project item.

Fields for ProjectV2ItemFieldUserValue

名称描述

field (ProjectV2FieldConfiguration!)

The field that contains this value.

users (UserConnection)

The users for this field.

Arguments for users

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

ProjectV2ItemFieldValueConnection

The connection type for ProjectV2ItemFieldValue.

Fields for ProjectV2ItemFieldValueConnection

名称描述

edges ([ProjectV2ItemFieldValueEdge])

边的列表。

nodes ([ProjectV2ItemFieldValue])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

ProjectV2ItemFieldValueEdge

连接中的一条边。

Fields for ProjectV2ItemFieldValueEdge

名称描述

cursor (String!)

用于分页的光标。

node (ProjectV2ItemFieldValue)

边的末端节点。

ProjectV2ItemIssueFieldValue

The value of an issue field in a Project item.

Fields for ProjectV2ItemIssueFieldValue

名称描述

field (ProjectV2FieldConfiguration!)

Field that contains this value.

issueFieldValue (ProjectV2IssueFieldValues)

Value of the Issue Field.

ProjectV2ItemStatusChangedEvent

Represents aproject_v2_item_status_changedevent on a given issue or pull request.

ProjectV2ItemStatusChangedEvent Implements

Fields for ProjectV2ItemStatusChangedEvent

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

The Node ID of the ProjectV2ItemStatusChangedEvent object.

previousStatus (String!)

The previous status of the project item.

project (ProjectV2)

事件引用的项目。

status (String!)

The new status of the project item.

wasAutomated (Boolean!)

此事件是否源于工作流自动化?

ProjectV2IterationField

An iteration field inside a project.

ProjectV2IterationField Implements

Fields for ProjectV2IterationField

名称描述

configuration (ProjectV2IterationFieldConfiguration!)

Iteration configuration settings.

createdAt (DateTime!)

标识对象创建的日期和时间。

dataType (ProjectV2FieldType!)

The field's type.

databaseId (Int)

标识数据库中的主键。

id (ID!)

The Node ID of the ProjectV2IterationField object.

name (String!)

The project field's name.

project (ProjectV2!)

The project that contains this field.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

ProjectV2IterationFieldConfiguration

Iteration field configuration for a project.

Fields for ProjectV2IterationFieldConfiguration

名称描述

completedIterations ([ProjectV2IterationFieldIteration!]!)

The iteration's completed iterations.

duration (Int!)

The iteration's duration in days.

iterations ([ProjectV2IterationFieldIteration!]!)

The iteration's iterations.

startDay (Int!)

The iteration's start day of the week.

ProjectV2IterationFieldIteration

Iteration field iteration settings for a project.

Fields for ProjectV2IterationFieldIteration

名称描述

duration (Int!)

The iteration's duration in days.

id (String!)

The iteration's ID.

startDate (Date!)

The iteration's start date.

title (String!)

The iteration's title.

titleHTML (String!)

The iteration's html title.

ProjectV2SingleSelectField

A single select field inside a project.

ProjectV2SingleSelectField Implements

Fields for ProjectV2SingleSelectField

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

dataType (ProjectV2FieldType!)

The field's type.

databaseId (Int)

标识数据库中的主键。

id (ID!)

The Node ID of the ProjectV2SingleSelectField object.

name (String!)

The project field's name.

options ([ProjectV2SingleSelectFieldOption!]!)

Options for the single select field.

Arguments for options

  • names ([String!])

    Filter returned options to only those matching these names, case insensitive.

project (ProjectV2!)

The project that contains this field.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

ProjectV2SingleSelectFieldOption

Single select field option for a configuration for a project.

Fields for ProjectV2SingleSelectFieldOption

名称描述

color (ProjectV2SingleSelectFieldOptionColor!)

The option's display color.

description (String!)

The option's plain-text description.

descriptionHTML (String!)

The option's description, possibly containing HTML.

id (String!)

The option's ID.

name (String!)

The option's name.

nameHTML (String!)

The option's html name.

ProjectV2SortBy

Represents a sort by field and direction.

Fields for ProjectV2SortBy

名称描述

direction (OrderDirection!)

The direction of the sorting. Possible values are ASC and DESC.

field (ProjectV2Field!)

The field by which items are sorted.

ProjectV2SortByConnection

The connection type for ProjectV2SortBy.

Fields for ProjectV2SortByConnection

名称描述

edges ([ProjectV2SortByEdge])

边的列表。

nodes ([ProjectV2SortBy])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

ProjectV2SortByEdge

连接中的一条边。

Fields for ProjectV2SortByEdge

名称描述

cursor (String!)

用于分页的光标。

node (ProjectV2SortBy)

边的末端节点。

ProjectV2SortByField

Represents a sort by field and direction.

Fields for ProjectV2SortByField

名称描述

direction (OrderDirection!)

The direction of the sorting. Possible values are ASC and DESC.

field (ProjectV2FieldConfiguration!)

The field by which items are sorted.

ProjectV2SortByFieldConnection

The connection type for ProjectV2SortByField.

Fields for ProjectV2SortByFieldConnection

名称描述

edges ([ProjectV2SortByFieldEdge])

边的列表。

nodes ([ProjectV2SortByField])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

ProjectV2SortByFieldEdge

连接中的一条边。

Fields for ProjectV2SortByFieldEdge

名称描述

cursor (String!)

用于分页的光标。

node (ProjectV2SortByField)

边的末端节点。

ProjectV2StatusUpdate

A status update within a project.

ProjectV2StatusUpdate Implements

Fields for ProjectV2StatusUpdate

名称描述

body (String)

The body of the status update.

bodyHTML (HTML)

The body of the status update rendered to HTML.

createdAt (DateTime!)

标识对象创建的日期和时间。

creator (Actor)

The actor who created the status update.

databaseId (Int)

标识数据库中的主键。

警告

databaseId 已弃用。

databaseId will be removed because it does not support 64-bit signed integer identifiers. Use fullDatabaseId instead. Removal on 2025-04-01 UTC.

fullDatabaseId (BigInt)

将数据库中的主键标识为 BigInt。

id (ID!)

The Node ID of the ProjectV2StatusUpdate object.

project (ProjectV2!)

The project that contains this status update.

startDate (Date)

The start date of the status update.

status (ProjectV2StatusUpdateStatus)

The status of the status update.

targetDate (Date)

The target date of the status update.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

ProjectV2StatusUpdateConnection

The connection type for ProjectV2StatusUpdate.

Fields for ProjectV2StatusUpdateConnection

名称描述

edges ([ProjectV2StatusUpdateEdge])

边的列表。

nodes ([ProjectV2StatusUpdate])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

ProjectV2StatusUpdateEdge

连接中的一条边。

Fields for ProjectV2StatusUpdateEdge

名称描述

cursor (String!)

用于分页的光标。

node (ProjectV2StatusUpdate)

边的末端节点。

ProjectV2View

A view within a ProjectV2.

ProjectV2View Implements

Fields for ProjectV2View

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (Int)

标识数据库中的主键。

警告

databaseId 已弃用。

databaseId will be removed because it does not support 64-bit signed integer identifiers. Use fullDatabaseId instead. Removal on 2025-04-01 UTC.

fields (ProjectV2FieldConfigurationConnection)

The view's visible fields.

Arguments for fields

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (ProjectV2FieldOrder)

    Ordering options for the project v2 fields returned from the connection.

filter (String)

The project view's filter.

fullDatabaseId (BigInt)

将数据库中的主键标识为 BigInt。

groupBy (ProjectV2FieldConnection)

The view's group-by field.

警告

groupBy is deprecated.

The ProjectV2View#order_by API is deprecated in favour of the more capable ProjectV2View#group_by_field API. Check out the ProjectV2View#group_by_fields API as an example for the more capable alternative. Removal on 2023-04-01 UTC.

Arguments for groupBy

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (ProjectV2FieldOrder)

    Ordering options for the project v2 fields returned from the connection.

groupByFields (ProjectV2FieldConfigurationConnection)

The view's group-by field.

Arguments for groupByFields

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (ProjectV2FieldOrder)

    Ordering options for the project v2 fields returned from the connection.

id (ID!)

The Node ID of the ProjectV2View object.

layout (ProjectV2ViewLayout!)

The project view's layout.

name (String!)

The project view's name.

number (Int!)

The project view's number.

project (ProjectV2!)

The project that contains this view.

sortBy (ProjectV2SortByConnection)

The view's sort-by config.

警告

sortBy is deprecated.

The ProjectV2View#sort_by API is deprecated in favour of the more capable ProjectV2View#sort_by_fields API. Check out the ProjectV2View#sort_by_fields API as an example for the more capable alternative. Removal on 2023-04-01 UTC.

Arguments for sortBy

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

sortByFields (ProjectV2SortByFieldConnection)

The view's sort-by config.

Arguments for sortByFields

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

verticalGroupBy (ProjectV2FieldConnection)

The view's vertical-group-by field.

警告

verticalGroupBy is deprecated.

The ProjectV2View#vertical_group_by API is deprecated in favour of the more capable ProjectV2View#vertical_group_by_fields API. Check out the ProjectV2View#vertical_group_by_fields API as an example for the more capable alternative. Removal on 2023-04-01 UTC.

Arguments for verticalGroupBy

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (ProjectV2FieldOrder)

    Ordering options for the project v2 fields returned from the connection.

verticalGroupByFields (ProjectV2FieldConfigurationConnection)

The view's vertical-group-by field.

Arguments for verticalGroupByFields

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (ProjectV2FieldOrder)

    Ordering options for the project v2 fields returned from the connection.

visibleFields (ProjectV2FieldConnection)

The view's visible fields.

警告

visibleFields is deprecated.

The ProjectV2View#visibleFields API is deprecated in favour of the more capable ProjectV2View#fields API. Check out the ProjectV2View#fields API as an example for the more capable alternative. Removal on 2023-01-01 UTC.

Arguments for visibleFields

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (ProjectV2FieldOrder)

    Ordering options for the project v2 fields returned from the connection.

ProjectV2ViewConnection

The connection type for ProjectV2View.

Fields for ProjectV2ViewConnection

名称描述

edges ([ProjectV2ViewEdge])

边的列表。

nodes ([ProjectV2View])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

ProjectV2ViewEdge

连接中的一条边。

Fields for ProjectV2ViewEdge

名称描述

cursor (String!)

用于分页的光标。

node (ProjectV2View)

边的末端节点。

ProjectV2Workflow

A workflow inside a project.

ProjectV2Workflow Implements

Fields for ProjectV2Workflow

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (Int)

标识数据库中的主键。

警告

databaseId 已弃用。

databaseId will be removed because it does not support 64-bit signed integer identifiers. Use fullDatabaseId instead. Removal on 2025-04-01 UTC.

enabled (Boolean!)

Whether the workflow is enabled.

fullDatabaseId (BigInt)

将数据库中的主键标识为 BigInt。

id (ID!)

The Node ID of the ProjectV2Workflow object.

name (String!)

工作流的名称。

number (Int!)

The number of the workflow.

project (ProjectV2!)

The project that contains this workflow.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

ProjectV2WorkflowConnection

The connection type for ProjectV2Workflow.

Fields for ProjectV2WorkflowConnection

名称描述

edges ([ProjectV2WorkflowEdge])

边的列表。

nodes ([ProjectV2Workflow])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

ProjectV2WorkflowEdge

连接中的一条边。

Fields for ProjectV2WorkflowEdge

名称描述

cursor (String!)

用于分页的光标。

node (ProjectV2Workflow)

边的末端节点。

PropertyTargetDefinition

必须匹配的属性。

Fields for PropertyTargetDefinition

名称描述

name (String!)

属性的名称。

propertyValues ([String!]!)

要匹配的值。

source (String)

The source of the property. Choosecustomor 'system'. Defaults to 'custom' if not specified.

PublicKey

A user's public key.

PublicKey Implements

Fields for PublicKey

名称描述

accessedAt (DateTime)

The last time this authorization was used to perform an action. Values will be null for keys not owned by the user.

createdAt (DateTime)

Identifies the date and time when the key was created. Keys created before March 5th, 2014 have inaccurate values. Values will be null for keys not owned by the user.

fingerprint (String!)

The fingerprint for this PublicKey.

id (ID!)

The Node ID of the PublicKey object.

isReadOnly (Boolean)

Whether this PublicKey is read-only or not. Values will be null for keys not owned by the user.

key (String!)

The public key string.

updatedAt (DateTime)

Identifies the date and time when the key was updated. Keys created before March 5th, 2014 may have inaccurate values. Values will be null for keys not owned by the user.

PublicKeyConnection

The connection type for PublicKey.

Fields for PublicKeyConnection

名称描述

edges ([PublicKeyEdge])

边的列表。

nodes ([PublicKey])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

PublicKeyEdge

连接中的一条边。

Fields for PublicKeyEdge

名称描述

cursor (String!)

用于分页的光标。

node (PublicKey)

边的末端节点。

PullRequest

A repository pull request.

PullRequest Implements

Fields for PullRequest

名称描述

activeLockReason (LockReason)

Reason that the conversation was locked.

additions (Int!)

The number of additions in this pull request.

assignedActors (AssigneeConnection!)

A list of actors assigned to this object.

Arguments for assignedActors

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

assignees (UserConnection!)

A list of Users assigned to this object.

Arguments for assignees

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

author (Actor)

撰写评论的操作者。

authorAssociation (CommentAuthorAssociation!)

作者与评论主题的关联。

autoMergeRequest (AutoMergeRequest)

Returns the auto-merge request object if one exists for this pull request.

baseRef (Ref)

Identifies the base Ref associated with the pull request.

baseRefName (String!)

Identifies the name of the base Ref associated with the pull request, even if the ref has been deleted.

baseRefOid (GitObjectID!)

Identifies the oid of the base ref associated with the pull request, even if the ref has been deleted.

baseRepository (Repository)

The repository associated with this pull request's base Ref.

body (String!)

The body as Markdown.

bodyHTML (HTML!)

渲染为 HTML 的正文。

bodyText (String!)

渲染为文本的正文。

canBeRebased (Boolean!)

Whether or not the pull request is rebaseable.

changedFiles (Int!)

The number of changed files in this pull request.

checksResourcePath (URI!)

The HTTP path for the checks of this pull request.

checksUrl (URI!)

The HTTP URL for the checks of this pull request.

closed (Boolean!)

true if the pull request is closed.

closedAt (DateTime)

Identifies the date and time when the object was closed.

closingIssuesReferences (IssueConnection)

List of issues that may be closed by this pull request.

Arguments for closingIssuesReferences

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (IssueOrder)

    从连接返回的问题的排序选项。

  • userLinkedOnly (Boolean)

    Return only manually linked Issues.

    默认值为 false

comments (IssueCommentConnection!)

A list of comments associated with the pull request.

comments 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (IssueCommentOrder)

    Ordering options for issue comments returned from the connection.

commits (PullRequestCommitConnection!)

A list of commits present in this pull request's head branch not present in the base branch.

commits 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

createdAt (DateTime!)

标识对象创建的日期和时间。

createdViaEmail (Boolean!)

检查此评论是否通过电子邮件回复创建。

databaseId (Int)

标识数据库中的主键。

警告

databaseId 已弃用。

databaseId will be removed because it does not support 64-bit signed integer identifiers. Use fullDatabaseId instead. Removal on 2024-07-01 UTC.

deletions (Int!)

The number of deletions in this pull request.

editor (Actor)

The actor who edited this pull request's body.

files (PullRequestChangedFileConnection)

Lists the files changed within this pull request.

Arguments for files

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

fullDatabaseId (BigInt)

将数据库中的主键标识为 BigInt。

headRef (Ref)

Identifies the head Ref associated with the pull request.

headRefName (String!)

Identifies the name of the head Ref associated with the pull request, even if the ref has been deleted.

headRefOid (GitObjectID!)

Identifies the oid of the head ref associated with the pull request, even if the ref has been deleted.

headRepository (Repository)

The repository associated with this pull request's head Ref.

headRepositoryOwner (RepositoryOwner)

The owner of the repository associated with this pull request's head Ref.

hovercard (Hovercard!)

The hovercard information for this issue.

Arguments for hovercard

  • includeNotificationContexts (Boolean)

    Whether or not to include notification contexts.

    默认值为 true

id (ID!)

The Node ID of the PullRequest object.

includesCreatedEdit (Boolean!)

检查此评论是否经过编辑并包含创建数据中的编辑。

isCrossRepository (Boolean!)

The head and base repositories are different.

isDraft (Boolean!)

Identifies if the pull request is a draft.

isInMergeQueue (Boolean!)

Indicates whether the pull request is in a merge queue.

isMergeQueueEnabled (Boolean!)

Indicates whether the pull request's base ref has a merge queue enabled.

isReadByViewer (Boolean)

Is this pull request read by the viewer.

labels (LabelConnection)

A list of labels associated with the object.

Arguments for labels

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (LabelOrder)

    Ordering options for labels returned from the connection.

lastEditedAt (DateTime)

编辑者最后一次编辑的时间。

latestOpinionatedReviews (PullRequestReviewConnection)

A list of latest reviews per user associated with the pull request.

Arguments for latestOpinionatedReviews

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • writersOnly (Boolean)

    Only return reviews from user who have write access to the repository.

    默认值为 false

latestReviews (PullRequestReviewConnection)

A list of latest reviews per user associated with the pull request that are not also pending review.

Arguments for latestReviews

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

locked (Boolean!)

true if the pull request is locked.

maintainerCanModify (Boolean!)

Indicates whether maintainers can modify the pull request.

mergeCommit (Commit)

The commit that was created when this pull request was merged.

mergeQueue (MergeQueue)

The merge queue for the pull request's base branch.

mergeQueueEntry (MergeQueueEntry)

The merge queue entry of the pull request in the base branch's merge queue.

mergeStateStatus (MergeStateStatus!)

Detailed information about the current pull request merge state status.

mergeable (MergeableState!)

Whether or not the pull request can be merged based on the existence of merge conflicts.

merged (Boolean!)

Whether or not the pull request was merged.

mergedAt (DateTime)

The date and time that the pull request was merged.

mergedBy (Actor)

The actor who merged the pull request.

milestone (Milestone)

Identifies the milestone associated with the pull request.

number (Int!)

Identifies the pull request number.

participants (UserConnection!)

A list of Users that are participating in the Pull Request conversation.

Arguments for participants

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

permalink (URI!)

The permalink to the pull request.

potentialMergeCommit (Commit)

The commit that GitHub automatically generated to test if this pull request could be merged. This field will not return a value if the pull request is merged, or if the test merge commit is still being generated. See the mergeable field for more details on the mergeability of the pull request.

projectCards (ProjectCardConnection!)

List of project cards associated with this pull request.

警告

projectCards is deprecated.

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

Arguments for projectCards

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

projectItems (ProjectV2ItemConnection)

List of project items associated with this pull request.

Arguments for projectItems

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • includeArchived (Boolean)

    Include archived items.

    默认值为 true

  • last (Int)

    返回列表中的后 *n* 个元素。

projectV2 (ProjectV2)

Find a project by number.

Arguments for projectV2

  • number (Int!)

    The project number.

projectsV2 (ProjectV2Connection!)

A list of projects under the owner.

Arguments for projectsV2

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • query (String)

    A project to search for under the owner.

publishedAt (DateTime)

标识评论的发布时间。

reactionGroups ([ReactionGroup!])

按内容分组的对主题留下的反应列表。

reactions (ReactionConnection!)

对 Issue 留下的 Reactions 列表。

reactions 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

repository (Repository!)

与此节点关联的仓库。

resourcePath (URI!)

此 pull request 的 HTTP 路径。

revertResourcePath (URI!)

The HTTP path for reverting this pull request.

revertUrl (URI!)

The HTTP URL for reverting this pull request.

reviewDecision (PullRequestReviewDecision)

The current status of this pull request with respect to code review.

reviewRequests (ReviewRequestConnection)

A list of review requests associated with the pull request.

Arguments for reviewRequests

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

reviewThreads (PullRequestReviewThreadConnection!)

The list of all review threads for this pull request.

Arguments for reviewThreads

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

reviews (PullRequestReviewConnection)

A list of reviews associated with the pull request.

Arguments for reviews

  • after (String)

    返回列表中位于指定光标之后的元素。

  • author (String)

    Filter by author of the review.

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

state (PullRequestState!)

Identifies the state of the pull request.

statusCheckRollup (StatusCheckRollup)

Check and Status rollup information for the PR's head ref.

suggestedActors (AssigneeConnection!)

A list of suggested actors to assign to this object.

Arguments for suggestedActors

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • query (String)

    If provided, searches users by login or profile name.

suggestedReviewerActors (SuggestedReviewerActorConnection!)

Reviewer actor suggestions based on commit history, past review comments, and integrations.

Arguments for suggestedReviewerActors

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • query (String)

    Search actors with query on user name and login.

suggestedReviewers ([SuggestedReviewer]!)

A list of reviewer suggestions based on commit history and past review comments.

timeline (PullRequestTimelineConnection!)

A list of events, comments, commits, etc. associated with the pull request.

警告

timeline is deprecated.

timeline will be removed Use PullRequest.timelineItems instead. Removal on 2020-10-01 UTC.

Arguments for timeline

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • since (DateTime)

    Allows filtering timeline events by a since timestamp.

timelineItems (PullRequestTimelineItemsConnection!)

A list of events, comments, commits, etc. associated with the pull request.

Arguments for timelineItems

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • since (DateTime)

    Filter timeline items by a since timestamp.

  • skip (Int)

    Skips the first n elements in the list.

title (String!)

Identifies the pull request title.

titleHTML (HTML!)

Identifies the pull request title rendered to HTML.

totalCommentsCount (Int)

Returns a count of how many comments this pull request has received.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

url (URI!)

此 pull request 的 HTTP URL。

userContentEdits (UserContentEditConnection)

此内容的编辑列表。

userContentEdits 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

viewerCanApplySuggestion (Boolean!)

Whether or not the viewer can apply suggestion.

viewerCanClose (Boolean!)

Indicates if the object can be closed by the viewer.

viewerCanDeleteHeadRef (Boolean!)

Check if the viewer can restore the deleted head ref.

viewerCanDisableAutoMerge (Boolean!)

Whether or not the viewer can disable auto-merge.

viewerCanEditFiles (Boolean!)

Can the viewer edit files within this pull request.

viewerCanEnableAutoMerge (Boolean!)

Whether or not the viewer can enable auto-merge.

viewerCanLabel (Boolean!)

Indicates if the viewer can edit labels for this object.

viewerCanMergeAsAdmin (Boolean!)

Indicates whether the viewer can bypass branch protections and merge the pull request immediately.

viewerCanReact (Boolean!)

用户是否可以对此主题做出反应。

viewerCanReopen (Boolean!)

Indicates if the object can be reopened by the viewer.

viewerCanSubscribe (Boolean!)

检查查看者是否能够更改他们对存储库的订阅状态。

viewerCanUpdate (Boolean!)

检查当前查看者是否可以更新此对象。

viewerCanUpdateBranch (Boolean!)

Whether or not the viewer can update the head ref of this PR, by merging or rebasing the base ref. If the head ref is up to date or unable to be updated by this user, this will return false.

viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

当前查看者无法更新此评论的原因。

viewerDidAuthor (Boolean!)

查看者是否是此评论的作者。

viewerLatestReview (PullRequestReview)

The latest review given from the viewer.

viewerLatestReviewRequest (ReviewRequest)

The person who has requested the viewer for review on this pull request.

viewerMergeBodyText (String!)

The merge body text for the viewer and method.

Arguments for viewerMergeBodyText

viewerMergeHeadlineText (String!)

The merge headline text for the viewer and method.

Arguments for viewerMergeHeadlineText

viewerSubscription (SubscriptionState)

标识查看者是在关注、未关注还是忽略可订阅实体。

PullRequestChangedFile

A file changed in a pull request.

Fields for PullRequestChangedFile

名称描述

additions (Int!)

The number of additions to the file.

changeType (PatchStatus!)

How the file was changed in this PullRequest.

deletions (Int!)

The number of deletions to the file.

path (String!)

The path of the file.

viewerViewedState (FileViewedState!)

The state of the file for the viewer.

PullRequestChangedFileConnection

The connection type for PullRequestChangedFile.

Fields for PullRequestChangedFileConnection

名称描述

edges ([PullRequestChangedFileEdge])

边的列表。

nodes ([PullRequestChangedFile])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

PullRequestChangedFileEdge

连接中的一条边。

Fields for PullRequestChangedFileEdge

名称描述

cursor (String!)

用于分页的光标。

node (PullRequestChangedFile)

边的末端节点。

PullRequestCommit

Represents a Git commit part of a pull request.

PullRequestCommit Implements

Fields for PullRequestCommit

名称描述

commit (Commit!)

The Git commit object.

id (ID!)

The Node ID of the PullRequestCommit object.

pullRequest (PullRequest!)

The pull request this commit belongs to.

resourcePath (URI!)

The HTTP path for this pull request commit.

url (URI!)

The HTTP URL for this pull request commit.

PullRequestCommitCommentThread

Represents a commit comment thread part of a pull request.

PullRequestCommitCommentThread Implements

Fields for PullRequestCommitCommentThread

名称描述

comments (CommitCommentConnection!)

此线程中存在的评论。

comments 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

commit (Commit!)

评论所在的提交。

id (ID!)

The Node ID of the PullRequestCommitCommentThread object.

path (String)

评论所在的文件。

position (Int)

评论所在提交的差异位置。

pullRequest (PullRequest!)

The pull request this commit comment thread belongs to.

repository (Repository!)

与此节点关联的仓库。

PullRequestCommitConnection

The connection type for PullRequestCommit.

Fields for PullRequestCommitConnection

名称描述

edges ([PullRequestCommitEdge])

边的列表。

nodes ([PullRequestCommit])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

PullRequestCommitEdge

连接中的一条边。

Fields for PullRequestCommitEdge

名称描述

cursor (String!)

用于分页的光标。

node (PullRequestCommit)

边的末端节点。

PullRequestConnection

The connection type for PullRequest.

Fields for PullRequestConnection

名称描述

edges ([PullRequestEdge])

边的列表。

nodes ([PullRequest])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

PullRequestContributionsByRepository

This aggregates pull requests opened by a user within one repository.

Fields for PullRequestContributionsByRepository

名称描述

contributions (CreatedPullRequestContributionConnection!)

The pull request contributions.

contributions 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

repository (Repository!)

The repository in which the pull requests were opened.

PullRequestEdge

连接中的一条边。

Fields for PullRequestEdge

名称描述

cursor (String!)

用于分页的光标。

node (PullRequest)

边的末端节点。

PullRequestParameters

要求所有提交在合并前必须先提交到非目标分支,并随后通过拉取请求提交。

Fields for PullRequestParameters

名称描述

allowedMergeMethods ([PullRequestAllowedMergeMethods!])

允许的合并方法数组。允许的值包括 mergesquashrebase。必须至少启用一个选项。

dismissStaleReviewsOnPush (Boolean!)

推送新的可评审提交将取消之前的拉取请求评审批准。

requireCodeOwnerReview (Boolean!)

在修改具有指定代码所有者的文件的拉取请求中,需要获得批准的评审。

requireLastPushApproval (Boolean!)

最近的可评审推送是否必须由推送者以外的人批准。

requiredApprovingReviewCount (Int!)

拉取请求在合并前所需的批准评审数量。

requiredReviewThreadResolution (Boolean!)

在合并拉取请求之前,代码上的所有对话都必须已解决。

requiredReviewers ([RequiredReviewerConfiguration!])

This field is in beta and subject to change. A collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.

PullRequestReview

A review object for a given pull request.

PullRequestReview Implements

Fields for PullRequestReview

名称描述

author (Actor)

撰写评论的操作者。

authorAssociation (CommentAuthorAssociation!)

作者与评论主题的关联。

authorCanPushToRepository (Boolean!)

Indicates whether the author of this review has push access to the repository.

body (String!)

Identifies the pull request review body.

bodyHTML (HTML!)

渲染为 HTML 的正文。

bodyText (String!)

The body of this review rendered as plain text.

comments (PullRequestReviewCommentConnection!)

A list of review comments for the current pull request review.

comments 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

commit (Commit)

Identifies the commit associated with this pull request review.

createdAt (DateTime!)

标识对象创建的日期和时间。

createdViaEmail (Boolean!)

检查此评论是否通过电子邮件回复创建。

databaseId (Int)

标识数据库中的主键。

警告

databaseId 已弃用。

databaseId will be removed because it does not support 64-bit signed integer identifiers. Use fullDatabaseId instead. Removal on 2024-07-01 UTC.

editor (Actor)

编辑评论的操作者。

fullDatabaseId (BigInt)

将数据库中的主键标识为 BigInt。

id (ID!)

The Node ID of the PullRequestReview object.

includesCreatedEdit (Boolean!)

检查此评论是否经过编辑并包含创建数据中的编辑。

isMinimized (Boolean!)

返回评论是否已最小化。

lastEditedAt (DateTime)

编辑者最后一次编辑的时间。

minimizedReason (String)

返回评论被最小化的原因。包括 abuse(滥用)、off-topic(离题)、outdated(过时)、resolved(已解决)、duplicate(重复)、spam(垃圾邮件)和 low-quality(低质量)。请注意,这些值的大小写和格式与 MinimizeComment mutation 的输入不同。

onBehalfOf (TeamConnection!)

A list of teams that this review was made on behalf of.

Arguments for onBehalfOf

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

publishedAt (DateTime)

标识评论的发布时间。

pullRequest (PullRequest!)

Identifies the pull request associated with this pull request review.

reactionGroups ([ReactionGroup!])

按内容分组的对主题留下的反应列表。

reactions (ReactionConnection!)

对 Issue 留下的 Reactions 列表。

reactions 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

repository (Repository!)

与此节点关联的仓库。

resourcePath (URI!)

The HTTP path permalink for this PullRequestReview.

state (PullRequestReviewState!)

Identifies the current state of the pull request review.

submittedAt (DateTime)

Identifies when the Pull Request Review was submitted.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

url (URI!)

The HTTP URL permalink for this PullRequestReview.

userContentEdits (UserContentEditConnection)

此内容的编辑列表。

userContentEdits 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

viewerCanDelete (Boolean!)

检查当前查看者是否可以删除此对象。

viewerCanMinimize (Boolean!)

检查当前查看者是否可以最小化此对象。

viewerCanReact (Boolean!)

用户是否可以对此主题做出反应。

viewerCanUnminimize (Boolean!)

检查当前查看者是否可以取消最小化此对象。

viewerCanUpdate (Boolean!)

检查当前查看者是否可以更新此对象。

viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

当前查看者无法更新此评论的原因。

viewerDidAuthor (Boolean!)

查看者是否是此评论的作者。

PullRequestReviewComment

A review comment associated with a given repository pull request.

PullRequestReviewComment Implements

Fields for PullRequestReviewComment

名称描述

author (Actor)

撰写评论的操作者。

authorAssociation (CommentAuthorAssociation!)

作者与评论主题的关联。

body (String!)

The comment body of this review comment.

bodyHTML (HTML!)

渲染为 HTML 的正文。

bodyText (String!)

The comment body of this review comment rendered as plain text.

commit (Commit)

Identifies the commit associated with the comment.

createdAt (DateTime!)

Identifies when the comment was created.

createdViaEmail (Boolean!)

检查此评论是否通过电子邮件回复创建。

databaseId (Int)

标识数据库中的主键。

警告

databaseId 已弃用。

databaseId will be removed because it does not support 64-bit signed integer identifiers. Use fullDatabaseId instead. Removal on 2024-07-01 UTC.

diffHunk (String!)

The diff hunk to which the comment applies.

draftedAt (DateTime!)

Identifies when the comment was created in a draft state.

editor (Actor)

编辑评论的操作者。

fullDatabaseId (BigInt)

将数据库中的主键标识为 BigInt。

id (ID!)

The Node ID of the PullRequestReviewComment object.

includesCreatedEdit (Boolean!)

检查此评论是否经过编辑并包含创建数据中的编辑。

isMinimized (Boolean!)

返回评论是否已最小化。

lastEditedAt (DateTime)

编辑者最后一次编辑的时间。

line (Int)

The end line number on the file to which the comment applies.

minimizedReason (String)

返回评论被最小化的原因。包括 abuse(滥用)、off-topic(离题)、outdated(过时)、resolved(已解决)、duplicate(重复)、spam(垃圾邮件)和 low-quality(低质量)。请注意,这些值的大小写和格式与 MinimizeComment mutation 的输入不同。

originalCommit (Commit)

Identifies the original commit associated with the comment.

originalLine (Int)

The end line number on the file to which the comment applied when it was first created.

originalPosition (Int!)

The original line index in the diff to which the comment applies.

警告

originalPosition is deprecated.

We are phasing out diff-relative positioning for PR comments Removal on 2023-10-01 UTC.

originalStartLine (Int)

The start line number on the file to which the comment applied when it was first created.

outdated (Boolean!)

标识评论内容是否已过时。

path (String!)

评论适用的路径。

position (Int)

评论适用的 diff 中的行索引。

警告

position 已弃用。

我们正在逐步淘汰 PR 评论的 diff 相对位置。请改用 linestartLine 字段,它们是文件行号而不是 diff 行号。将于 2023-10-01 UTC 移除。

publishedAt (DateTime)

标识评论的发布时间。

pullRequest (PullRequest!)

与此评论关联的拉取请求。

pullRequestReview (PullRequestReview)

与此评论关联的拉取请求审查。

reactionGroups ([ReactionGroup!])

按内容分组的对主题留下的反应列表。

reactions (ReactionConnection!)

对 Issue 留下的 Reactions 列表。

reactions 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

replyTo (PullRequestReviewComment)

此评论回复的评论。

repository (Repository!)

与此节点关联的仓库。

resourcePath (URI!)

此评论的 HTTP 路径永久链接。

startLine (Int)

评论适用的文件起始行号。

state (PullRequestReviewCommentState!)

标识评论的状态。

subjectType (PullRequestReviewThreadSubjectType!)

对应评论串中评论的目标级别,可以是 diff 行或文件。

updatedAt (DateTime!)

标识评论上次更新时间。

url (URI!)

此评论的 HTTP URL 永久链接。

userContentEdits (UserContentEditConnection)

此内容的编辑列表。

userContentEdits 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

viewerCanDelete (Boolean!)

检查当前查看者是否可以删除此对象。

viewerCanMinimize (Boolean!)

检查当前查看者是否可以最小化此对象。

viewerCanReact (Boolean!)

用户是否可以对此主题做出反应。

viewerCanUnminimize (Boolean!)

检查当前查看者是否可以取消最小化此对象。

viewerCanUpdate (Boolean!)

检查当前查看者是否可以更新此对象。

viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

当前查看者无法更新此评论的原因。

viewerDidAuthor (Boolean!)

查看者是否是此评论的作者。

PullRequestReviewCommentConnection

PullRequestReviewComment 的连接类型。

PullRequestReviewCommentConnection 的字段

名称描述

edges ([PullRequestReviewCommentEdge])

边的列表。

nodes ([PullRequestReviewComment])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

PullRequestReviewCommentEdge

连接中的一条边。

PullRequestReviewCommentEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (PullRequestReviewComment)

边的末端节点。

PullRequestReviewConnection

PullRequestReview 的连接类型。

PullRequestReviewConnection 的字段

名称描述

edges ([PullRequestReviewEdge])

边的列表。

nodes ([PullRequestReview])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

PullRequestReviewContributionsByRepository

按用户在一个仓库中进行的拉取请求审查聚合。

PullRequestReviewContributionsByRepository 的字段

名称描述

contributions (CreatedPullRequestReviewContributionConnection!)

拉取请求审查贡献。

contributions 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

repository (Repository!)

进行拉取请求审查的仓库。

PullRequestReviewEdge

连接中的一条边。

PullRequestReviewEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (PullRequestReview)

边的末端节点。

PullRequestReviewThread

给定拉取请求的评论串列表。

PullRequestReviewThread 实现

PullRequestReviewThread 的字段

名称描述

comments (PullRequestReviewCommentConnection!)

与该评论串关联的拉取请求评论列表。

comments 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • skip (Int)

    Skips the first n elements in the list.

diffSide (DiffSide!)

放置此评论串的 diff 侧。

id (ID!)

PullRequestReviewThread 对象的节点 ID。

isCollapsed (Boolean!)

评论串是否已折叠(已解决)。

isOutdated (Boolean!)

指示此评论串是否因较新更改而过时。

isResolved (Boolean!)

此评论串是否已解决。

line (Int)

此评论串引用的文件中的行。

originalLine (Int)

此评论串引用的文件中原始行。

originalStartLine (Int)

此评论串引用的文件中原始起始行(仅限多行)。

path (String!)

标识此评论串的文件路径。

pullRequest (PullRequest!)

标识与此评论串关联的拉取请求。

repository (Repository!)

标识与此评论串关联的仓库。

resolvedBy (User)

解决此评论串的用户。

startDiffSide (DiffSide)

评论串起始行所在的 diff 侧(仅限多行)。

startLine (Int)

此评论串引用的文件中的起始行(仅限多行)。

subjectType (PullRequestReviewThreadSubjectType!)

对应评论串中评论的目标级别,可以是 diff 行或文件。

viewerCanReply (Boolean!)

指示当前查看者是否可以回复此评论串。

viewerCanResolve (Boolean!)

查看者是否可以解决此评论串。

viewerCanUnresolve (Boolean!)

查看者是否可以取消解决此评论串。

PullRequestReviewThreadConnection

拉取请求审查的评论串列表。

PullRequestReviewThreadConnection 的字段

名称描述

edges ([PullRequestReviewThreadEdge])

边的列表。

nodes ([PullRequestReviewThread])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

PullRequestReviewThreadEdge

连接中的一条边。

PullRequestReviewThreadEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (PullRequestReviewThread)

边的末端节点。

PullRequestRevisionMarker

表示查看者已查看拉取请求提交的拉取请求时间线中的最新点。

PullRequestRevisionMarker 的字段

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

lastSeenCommit (Commit!)

查看者查看的最后一次提交。

pullRequest (PullRequest!)

标记所属的拉取请求。

PullRequestTemplate

仓库拉取请求模板。

PullRequestTemplate 的字段

名称描述

body (String)

模板正文。

filename (String)

模板的文件名。

repository (Repository!)

模板所属的仓库。

PullRequestThread

给定拉取请求的评论串列表。

PullRequestThread 实现

PullRequestThread 的字段

名称描述

comments (PullRequestReviewCommentConnection!)

与该评论串关联的拉取请求评论列表。

comments 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • skip (Int)

    Skips the first n elements in the list.

diffSide (DiffSide!)

放置此评论串的 diff 侧。

id (ID!)

PullRequestThread 对象的节点 ID。

isCollapsed (Boolean!)

评论串是否已折叠(已解决)。

isOutdated (Boolean!)

指示此评论串是否因较新更改而过时。

isResolved (Boolean!)

此评论串是否已解决。

line (Int)

此评论串引用的文件中的行。

path (String!)

标识此评论串的文件路径。

pullRequest (PullRequest!)

标识与此评论串关联的拉取请求。

repository (Repository!)

标识与此评论串关联的仓库。

resolvedBy (User)

解决此评论串的用户。

startDiffSide (DiffSide)

评论串起始行所在的 diff 侧(仅限多行)。

startLine (Int)

评论串中第一个文件 diff 的行。

subjectType (PullRequestReviewThreadSubjectType!)

对应评论串中评论的目标级别,可以是 diff 行或文件。

viewerCanReply (Boolean!)

指示当前查看者是否可以回复此评论串。

viewerCanResolve (Boolean!)

查看者是否可以解决此评论串。

viewerCanUnresolve (Boolean!)

查看者是否可以取消解决此评论串。

PullRequestTimelineConnection

PullRequestTimelineItem 的连接类型。

PullRequestTimelineConnection 的字段

名称描述

edges ([PullRequestTimelineItemEdge])

边的列表。

nodes ([PullRequestTimelineItem])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

PullRequestTimelineItemEdge

连接中的一条边。

PullRequestTimelineItemEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (PullRequestTimelineItem)

边的末端节点。

PullRequestTimelineItemsConnection

PullRequestTimelineItems 的连接类型。

PullRequestTimelineItemsConnection 的字段

名称描述

edges ([PullRequestTimelineItemsEdge])

边的列表。

filteredCount (Int!)

标识应用 beforeafter 过滤器后的项数。

nodes ([PullRequestTimelineItems])

节点的列表。

pageCount (Int!)

标识应用 before/after 过滤器和 first/last/skip 切片后的项数。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

updatedAt (DateTime!)

标识时间线最后更新的日期和时间。

PullRequestTimelineItemsEdge

连接中的一条边。

PullRequestTimelineItemsEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (PullRequestTimelineItems)

边的末端节点。

Push

一次 Git 推送。

Push 实现

Push 的字段

名称描述

id (ID!)

Push 对象的节点 ID。

nextSha (GitObjectID)

推送后的 SHA。

permalink (URI!)

此推送的永久链接。

previousSha (GitObjectID)

推送前的 SHA。

pusher (Actor!)

进行推送的操作者。

repository (Repository!)

推送到的仓库。

PushAllowance

具有推送到受保护分支权限的团队、用户或应用。

PushAllowance 实现

PushAllowance 的字段

名称描述

actor (PushAllowanceActor)

可以推送的操作者。

branchProtectionRule (BranchProtectionRule)

标识与允许的用户、团队或应用关联的分支保护规则。

id (ID!)

PushAllowance 对象的节点 ID。

PushAllowanceConnection

PushAllowance 的连接类型。

PushAllowanceConnection 的字段

名称描述

edges ([PushAllowanceEdge])

边的列表。

nodes ([PushAllowance])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

PushAllowanceEdge

连接中的一条边。

PushAllowanceEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (PushAllowance)

边的末端节点。

RateLimit

表示客户端的速率限制。

RateLimit 的字段

名称描述

cost (Int!)

当前查询的成本点数,计入速率限制。

limit (Int!)

客户端在 60 分钟窗口内允许消耗的最大点数。

nodeCount (Int!)

此查询可能返回的最大节点数。

remaining (Int!)

当前速率限制窗口中剩余的点数。

resetAt (DateTime!)

当前速率限制窗口重置的时间,以 UTC epoch 秒为单位。

used (Int!)

当前速率限制窗口中已使用的点数。

ReactingUserConnection

The connection type for User.

ReactingUserConnection 的字段

名称描述

edges ([ReactingUserEdge])

边的列表。

nodes ([User])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

ReactingUserEdge

表示进行过反应的用户。

ReactingUserEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (User!)

N/A

reactedAt (DateTime!)

用户进行反应的时刻。

Reaction

对特定内容的表情符号反应。

Reaction 实现

Reaction 的字段

名称描述

content (ReactionContent!)

标识表情符号反应。

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (Int)

标识数据库中的主键。

id (ID!)

Reaction 对象的节点 ID。

reactable (Reactable!)

可反应的内容。

user (User)

标识创建此反应的用户。

ReactionConnection

在主题上留下的反应列表。

ReactionConnection 的字段

名称描述

edges ([ReactionEdge])

边的列表。

nodes ([Reaction])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

viewerHasReacted (Boolean!)

经过身份验证的用户是否已在主题上留下反应。

ReactionEdge

连接中的一条边。

ReactionEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (Reaction)

边的末端节点。

ReactionGroup

对特定内容的表情符号反应组。

ReactionGroup 的字段

名称描述

content (ReactionContent!)

标识表情符号反应。

createdAt (DateTime)

标识反应创建时间。

reactors (ReactorConnection!)

对此反应组所代表情感的主题作出反应的人员。

reactors 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

subject (Reactable!)

被反应的主题。

users (ReactingUserConnection!)

对此反应组所代表情感的主题作出反应的用户。

警告

users 已弃用。

反应者现在可以是虚拟用户、机器人和组织。请改用 reactors 字段。将于 2021-10-01 UTC 移除。

Arguments for users

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

viewerHasReacted (Boolean!)

经过身份验证的用户是否已在主题上留下反应。

ReactorConnection

Reactor 的连接类型。

ReactorConnection 的字段

名称描述

edges ([ReactorEdge])

边的列表。

nodes ([Reactor])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

ReactorEdge

表示反应的作者。

ReactorEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (Reactor!)

反应的作者。

reactedAt (DateTime!)

用户进行反应的时刻。

ReadyForReviewEvent

表示给定拉取请求上的ready_for_review事件。

ReadyForReviewEvent 实现

ReadyForReviewEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

ReadyForReviewEvent 对象的节点 ID。

pullRequest (PullRequest!)

事件引用的拉取请求。

resourcePath (URI!)

此 ready for review 事件的 HTTP 路径。

url (URI!)

此 ready for review 事件的 HTTP URL。

Ref

表示一个 Git 引用。

Ref 实现

Ref 的字段

名称描述

associatedPullRequests (PullRequestConnection!)

以此引用作为 head ref 的拉取请求列表。

associatedPullRequests 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • baseRefName (String)

    用于筛选拉取请求的基础 ref 名称。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • headRefName (String)

    用于筛选拉取请求的头部 ref 名称。

  • labels ([String!])

    用于筛选拉取请求的标签名称列表。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (IssueOrder)

    连接返回的拉取请求的排序选项。

branchProtectionRule (BranchProtectionRule)

此引用的分支保护规则。

compare (Comparison)

将当前引用作为 base ref 与另一个 head ref 进行比较(如果可进行比较)。

compare 的参数

  • headRef (String!)

    要比较的 head ref。

id (ID!)

Ref 对象的节点 ID。

name (String!)

引用名称。

prefix (String!)

引用的前缀,例如 refs/heads/refs/tags/

refUpdateRule (RefUpdateRule)

非管理员可查看的分支保护规则。

repository (Repository!)

引用所属的仓库。

rules (RepositoryRuleConnection)

适用于此引用的活动仓库和组织规则集中的规则列表。

rules 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

target (GitObject)

引用指向的对象。如果对象不存在,则返回 null。

RefConnection

Ref 的连接类型。

RefConnection 的字段

名称描述

edges ([RefEdge])

边的列表。

nodes ([Ref])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

RefEdge

连接中的一条边。

RefEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (Ref)

边的末端节点。

RefNameConditionTarget

用于 ref_name 条件的参数。

RefNameConditionTarget 的字段

名称描述

exclude ([String!]!)

要排除的引用名称或模式数组。如果匹配其中任何模式,则条件将不通过。

include ([String!]!)

要包含的引用名称或模式数组。必须匹配其中一个模式才能使条件通过。还接受 ~DEFAULT_BRANCH 以包含默认分支,或使用 ~ALL 以包含所有分支。

RefUpdateRule

在查看者身上强制执行的分支保护规则。

RefUpdateRule 的字段

名称描述

allowsDeletions (Boolean!)

是否允许删除此分支。

allowsForcePushes (Boolean!)

是否允许对该分支进行强制推送。

blocksCreations (Boolean!)

是否可以创建匹配的分支。

pattern (String!)

标识保护规则模式。

requiredApprovingReviewCount (Int)

更新匹配分支所需的批准审核次数。

requiredStatusCheckContexts ([String])

必须通过才能接受提交到匹配分支的所需状态检查上下文列表。

requiresCodeOwnerReviews (Boolean!)

更新匹配分支是否需要代码所有者的审核。

requiresConversationResolution (Boolean!)

合并前是否需要解决对话。

requiresLinearHistory (Boolean!)

是否禁止将合并提交推送到此分支。

requiresSignatures (Boolean!)

提交是否需要签名。

viewerAllowedToDismissReviews (Boolean!)

查看者是否允许关闭审查。

viewerCanPush (Boolean!)

查看者是否可以推送到分支。

ReferencedEvent

表示给定 ReferencedSubject 上的referenced事件。

ReferencedEvent 实现

ReferencedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

commit (Commit)

标识与referenced事件关联的提交。

commitRepository (Repository!)

标识与referenced事件关联的仓库。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

ReferencedEvent 对象的节点 ID。

isCrossRepository (Boolean!)

引用源自不同的仓库。

isDirectReference (Boolean!)

检查提交消息本身是否引用了主题。在提交评论引用的情况下可能为 false。

subject (ReferencedSubject!)

事件引用的对象。

Release

发布包含发布的内容。

Release 实现

Release 的字段

名称描述

author (User)

发布的作者。

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (Int)

标识数据库中的主键。

description (String)

发布的描述。

descriptionHTML (HTML)

此发布的描述渲染为 HTML。

id (ID!)

Release 对象的节点 ID。

immutable (Boolean!)

发布是否不可变。

isDraft (Boolean!)

发布是否为草稿。

isLatest (Boolean!)

发布是否为最新发布。

isPrerelease (Boolean!)

发布是否为预发布。

mentions (UserConnection)

发布描述中提到的用户列表。

mentions 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

name (String)

发布的标题。

publishedAt (DateTime)

标识发布创建的日期和时间。

reactionGroups ([ReactionGroup!])

按内容分组的对主题留下的反应列表。

reactions (ReactionConnection!)

对 Issue 留下的 Reactions 列表。

reactions 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

releaseAssets (ReleaseAssetConnection!)

依赖于此发布的发布资源列表。

releaseAssets 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • name (String)

    用于筛选资源的名称。

repository (Repository!)

发布所属的仓库。

resourcePath (URI!)

The HTTP path for this issue.

shortDescriptionHTML (HTML)

发布的描述,渲染为不包含任何链接的 HTML。

shortDescriptionHTML 的参数

  • limit (Int)

    要返回的字符数。

    默认值为 200

tag (Ref)

发布指向的 Git 标签。

tagCommit (Commit)

此发布的标签提交。

tagName (String!)

发布 Git 标签的名称。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

url (URI!)

The HTTP URL for this issue.

viewerCanReact (Boolean!)

用户是否可以对此主题做出反应。

ReleaseAsset

发布资源包含发布资源的内容。

ReleaseAsset 实现

ReleaseAsset 的字段

名称描述

contentType (String!)

资源的 content-type。

createdAt (DateTime!)

标识对象创建的日期和时间。

digest (String)

资源的 SHA256 摘要。

downloadCount (Int!)

此资源被下载的次数。

downloadUrl (URI!)

标识可以通过浏览器下载发布资源的 URL。

id (ID!)

ReleaseAsset 对象的节点 ID。

name (String!)

标识发布资源的标题。

release (Release)

与资源关联的发布。

size (Int!)

资源的大小(以字节为单位)。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

uploadedBy (User!)

执行上传的用户。

url (URI!)

标识发布资源的 URL。

ReleaseAssetConnection

ReleaseAsset 的连接类型。

ReleaseAssetConnection 的字段

名称描述

edges ([ReleaseAssetEdge])

边的列表。

nodes ([ReleaseAsset])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

ReleaseAssetEdge

连接中的一条边。

ReleaseAssetEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (ReleaseAsset)

边的末端节点。

ReleaseConnection

Release 的连接类型。

ReleaseConnection 的字段

名称描述

edges ([ReleaseEdge])

边的列表。

nodes ([Release])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

ReleaseEdge

连接中的一条边。

ReleaseEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (Release)

边的末端节点。

RemovedFromMergeQueueEvent

表示给定拉取请求上的removed_from_merge_queue事件。

RemovedFromMergeQueueEvent 实现

RemovedFromMergeQueueEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

beforeCommit (Commit)

标识removed_from_merge_queue事件之前的提交 SHA。

createdAt (DateTime!)

标识对象创建的日期和时间。

enqueuer (User)

将此拉取请求从合并队列中移除的用户。

id (ID!)

RemovedFromMergeQueueEvent 对象的节点 ID。

mergeQueue (MergeQueue)

移除此拉取请求的合并队列。

pullRequest (PullRequest)

事件引用的拉取请求。

reason (String)

此拉取请求被从队列中移除的原因。

RemovedFromProjectEvent

表示给定议题或拉取请求上的removed_from_project事件。

RemovedFromProjectEvent 实现

RemovedFromProjectEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (Int)

标识数据库中的主键。

警告

databaseId 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

id (ID!)

RemovedFromProjectEvent 对象的节点 ID。

project (Project)

事件引用的项目。

警告

project 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

projectColumnName (String!)

此项目事件引用的列名称。

警告

projectColumnName 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

RemovedFromProjectV2Event

表示给定议题或拉取请求上的removed_from_project_v2事件。

RemovedFromProjectV2Event 实现

RemovedFromProjectV2Event 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

RemovedFromProjectV2Event 对象的节点 ID。

project (ProjectV2)

事件引用的项目。

wasAutomated (Boolean!)

此事件是否源于工作流自动化?

RenamedTitleEvent

表示给定议题或拉取请求上的renamed事件。

RenamedTitleEvent 实现

RenamedTitleEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

currentTitle (String!)

标识议题或拉取请求的当前标题。

id (ID!)

RenamedTitleEvent 对象的节点 ID。

previousTitle (String!)

标识议题或拉取请求的上一个标题。

subject (RenamedTitleSubject!)

被重命名的主题。

ReopenedEvent

表示任何 Closable 上的reopened事件。

ReopenedEvent 实现

ReopenedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

closable (Closable!)

被重新打开的对象。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

ReopenedEvent 对象的节点 ID。

stateReason (IssueStateReason)

议题状态更改为打开的原因。

RepoAccessAuditEntry

repo.access 事件的审核日志条目。

RepoAccessAuditEntry 实现

RepoAccessAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

RepoAccessAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

repository (Repository)

与操作关联的仓库。

repositoryName (String)

仓库名称。

repositoryResourcePath (URI)

仓库的 HTTP 路径。

repositoryUrl (URI)

仓库的 HTTP URL。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

visibility (RepoAccessAuditEntryVisibility)

仓库的可见性。

警告

visibility 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

RepoAddMemberAuditEntry

repo.add_member 事件的审核日志条目。

RepoAddMemberAuditEntry 实现

RepoAddMemberAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

RepoAddMemberAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

repository (Repository)

与操作关联的仓库。

repositoryName (String)

仓库名称。

repositoryResourcePath (URI)

仓库的 HTTP 路径。

repositoryUrl (URI)

仓库的 HTTP URL。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

visibility (RepoAddMemberAuditEntryVisibility)

仓库的可见性。

警告

visibility 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

RepoAddTopicAuditEntry

repo.add_topic 事件的审核日志条目。

RepoAddTopicAuditEntry 实现

RepoAddTopicAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

RepoAddTopicAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

repository (Repository)

与操作关联的仓库。

repositoryName (String)

仓库名称。

repositoryResourcePath (URI)

仓库的 HTTP 路径。

repositoryUrl (URI)

仓库的 HTTP URL。

topic (Topic)

添加到仓库的主题名称。

topicName (String)

添加到仓库的主题名称。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

RepoArchivedAuditEntry

repo.archived 事件的审核日志条目。

RepoArchivedAuditEntry 实现

RepoArchivedAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

RepoArchivedAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

repository (Repository)

与操作关联的仓库。

repositoryName (String)

仓库名称。

repositoryResourcePath (URI)

仓库的 HTTP 路径。

repositoryUrl (URI)

仓库的 HTTP URL。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

visibility (RepoArchivedAuditEntryVisibility)

仓库的可见性。

警告

visibility 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

RepoChangeMergeSettingAuditEntry

repo.change_merge_setting 事件的审核日志条目。

RepoChangeMergeSettingAuditEntry 实现

RepoChangeMergeSettingAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

RepoChangeMergeSettingAuditEntry 对象的节点 ID。

isEnabled (Boolean)

更改是启用 (true) 还是禁用 (false) 合并类型。

警告

isEnabled 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

mergeType (RepoChangeMergeSettingAuditEntryMergeType)

受更改影响的合并方法。

警告

mergeType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

repository (Repository)

与操作关联的仓库。

repositoryName (String)

仓库名称。

repositoryResourcePath (URI)

仓库的 HTTP 路径。

repositoryUrl (URI)

仓库的 HTTP URL。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

RepoConfigDisableAnonymousGitAccessAuditEntry

repo.config.disable_anonymous_git_access 事件的审核日志条目。

RepoConfigDisableAnonymousGitAccessAuditEntry 实现

RepoConfigDisableAnonymousGitAccessAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

RepoConfigDisableAnonymousGitAccessAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

repository (Repository)

与操作关联的仓库。

repositoryName (String)

仓库名称。

repositoryResourcePath (URI)

仓库的 HTTP 路径。

repositoryUrl (URI)

仓库的 HTTP URL。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

RepoConfigDisableCollaboratorsOnlyAuditEntry

repo.config.disable_collaborators_only 事件的审核日志条目。

RepoConfigDisableCollaboratorsOnlyAuditEntry 实现

RepoConfigDisableCollaboratorsOnlyAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

RepoConfigDisableCollaboratorsOnlyAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

repository (Repository)

与操作关联的仓库。

repositoryName (String)

仓库名称。

repositoryResourcePath (URI)

仓库的 HTTP 路径。

repositoryUrl (URI)

仓库的 HTTP URL。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

RepoConfigDisableContributorsOnlyAuditEntry

repo.config.disable_contributors_only 事件的审核日志条目。

RepoConfigDisableContributorsOnlyAuditEntry 实现

RepoConfigDisableContributorsOnlyAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

RepoConfigDisableContributorsOnlyAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

repository (Repository)

与操作关联的仓库。

repositoryName (String)

仓库名称。

repositoryResourcePath (URI)

仓库的 HTTP 路径。

repositoryUrl (URI)

仓库的 HTTP URL。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

RepoConfigDisableSockpuppetDisallowedAuditEntry

repo.config.disable_sockpuppet_disallowed 事件的审核日志条目。

RepoConfigDisableSockpuppetDisallowedAuditEntry 实现

RepoConfigDisableSockpuppetDisallowedAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

RepoConfigDisableSockpuppetDisallowedAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

repository (Repository)

与操作关联的仓库。

repositoryName (String)

仓库名称。

repositoryResourcePath (URI)

仓库的 HTTP 路径。

repositoryUrl (URI)

仓库的 HTTP URL。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

RepoConfigEnableAnonymousGitAccessAuditEntry

repo.config.enable_anonymous_git_access 事件的审核日志条目。

RepoConfigEnableAnonymousGitAccessAuditEntry 实现

RepoConfigEnableAnonymousGitAccessAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

RepoConfigEnableAnonymousGitAccessAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

repository (Repository)

与操作关联的仓库。

repositoryName (String)

仓库名称。

repositoryResourcePath (URI)

仓库的 HTTP 路径。

repositoryUrl (URI)

仓库的 HTTP URL。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

RepoConfigEnableCollaboratorsOnlyAuditEntry

repo.config.enable_collaborators_only 事件的审核日志条目。

RepoConfigEnableCollaboratorsOnlyAuditEntry 实现

RepoConfigEnableCollaboratorsOnlyAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

RepoConfigEnableCollaboratorsOnlyAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

repository (Repository)

与操作关联的仓库。

repositoryName (String)

仓库名称。

repositoryResourcePath (URI)

仓库的 HTTP 路径。

repositoryUrl (URI)

仓库的 HTTP URL。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

RepoConfigEnableContributorsOnlyAuditEntry

repo.config.enable_contributors_only 事件的审核日志条目。

RepoConfigEnableContributorsOnlyAuditEntry 实现

RepoConfigEnableContributorsOnlyAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

RepoConfigEnableContributorsOnlyAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

repository (Repository)

与操作关联的仓库。

repositoryName (String)

仓库名称。

repositoryResourcePath (URI)

仓库的 HTTP 路径。

repositoryUrl (URI)

仓库的 HTTP URL。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

RepoConfigEnableSockpuppetDisallowedAuditEntry

repo.config.enable_sockpuppet_disallowed 事件的审核日志条目。

RepoConfigEnableSockpuppetDisallowedAuditEntry 实现

RepoConfigEnableSockpuppetDisallowedAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

RepoConfigEnableSockpuppetDisallowedAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

repository (Repository)

与操作关联的仓库。

repositoryName (String)

仓库名称。

repositoryResourcePath (URI)

仓库的 HTTP 路径。

repositoryUrl (URI)

仓库的 HTTP URL。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

RepoConfigLockAnonymousGitAccessAuditEntry

repo.config.lock_anonymous_git_access 事件的审核日志条目。

RepoConfigLockAnonymousGitAccessAuditEntry 实现

RepoConfigLockAnonymousGitAccessAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

RepoConfigLockAnonymousGitAccessAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

repository (Repository)

与操作关联的仓库。

repositoryName (String)

仓库名称。

repositoryResourcePath (URI)

仓库的 HTTP 路径。

repositoryUrl (URI)

仓库的 HTTP URL。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

RepoConfigUnlockAnonymousGitAccessAuditEntry

repo.config.unlock_anonymous_git_access 事件的审核日志条目。

RepoConfigUnlockAnonymousGitAccessAuditEntry 实现

RepoConfigUnlockAnonymousGitAccessAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

RepoConfigUnlockAnonymousGitAccessAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

repository (Repository)

与操作关联的仓库。

repositoryName (String)

仓库名称。

repositoryResourcePath (URI)

仓库的 HTTP 路径。

repositoryUrl (URI)

仓库的 HTTP URL。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

RepoCreateAuditEntry

repo.create 事件的审核日志条目。

RepoCreateAuditEntry 实现

RepoCreateAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

forkParentName (String)

此分叉仓库的父仓库名称。

警告

forkParentName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

forkSourceName (String)

此网络的根仓库名称。

警告

forkSourceName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

RepoCreateAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

repository (Repository)

与操作关联的仓库。

repositoryName (String)

仓库名称。

repositoryResourcePath (URI)

仓库的 HTTP 路径。

repositoryUrl (URI)

仓库的 HTTP URL。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

visibility (RepoCreateAuditEntryVisibility)

仓库的可见性。

警告

visibility 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

RepoDestroyAuditEntry

repo.destroy 事件的审核日志条目。

RepoDestroyAuditEntry 实现

RepoDestroyAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

RepoDestroyAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

repository (Repository)

与操作关联的仓库。

repositoryName (String)

仓库名称。

repositoryResourcePath (URI)

仓库的 HTTP 路径。

repositoryUrl (URI)

仓库的 HTTP URL。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

visibility (RepoDestroyAuditEntryVisibility)

仓库的可见性。

警告

visibility 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

RepoRemoveMemberAuditEntry

repo.remove_member 事件的审核日志条目。

RepoRemoveMemberAuditEntry 实现

RepoRemoveMemberAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

RepoRemoveMemberAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

repository (Repository)

与操作关联的仓库。

repositoryName (String)

仓库名称。

repositoryResourcePath (URI)

仓库的 HTTP 路径。

repositoryUrl (URI)

仓库的 HTTP URL。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

visibility (RepoRemoveMemberAuditEntryVisibility)

仓库的可见性。

警告

visibility 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

RepoRemoveTopicAuditEntry

repo.remove_topic 事件的审核日志条目。

RepoRemoveTopicAuditEntry 实现

RepoRemoveTopicAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

RepoRemoveTopicAuditEntry 对象的节点 ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

repository (Repository)

与操作关联的仓库。

repositoryName (String)

仓库名称。

repositoryResourcePath (URI)

仓库的 HTTP 路径。

repositoryUrl (URI)

仓库的 HTTP URL。

topic (Topic)

添加到仓库的主题名称。

topicName (String)

添加到仓库的主题名称。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

Repository

仓库包含项目的内容。

Repository 实现

Repository 的字段

名称描述

allowUpdateBranch (Boolean!)

拉取请求的 head branch 是否允许始终更新,即使它在合并前不需要保持最新状态。

archivedAt (DateTime)

标识仓库归档的日期和时间。

assignableUsers (UserConnection!)

可以分配到此仓库中议题的用户列表。

assignableUsers 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • query (String)

    按用户名和登录名查询筛选用户。

autoMergeAllowed (Boolean!)

是否允许在此仓库的拉取请求上启用自动合并。

branchProtectionRules (BranchProtectionRuleConnection!)

此仓库的分支保护规则列表。

branchProtectionRules 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

codeOfConduct (CodeOfConduct)

返回此仓库的行为准则。

codeowners (RepositoryCodeowners)

从仓库的 CODEOWNERS 文件中提取的信息。

codeowners 的参数

  • refName (String)

    用于返回关联 CODEOWNERS 文件的引用名称。

collaborators (RepositoryCollaboratorConnection)

与仓库关联的协作者列表。

collaborators 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • login (String)

    特定协作者的登录名。

  • query (String)

    按用户名和登录名查询筛选用户。

commitComments (CommitCommentConnection!)

与仓库关联的提交评论列表。

commitComments 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

contactLinks ([RepositoryContactLink!])

返回与仓库关联的联系链接列表。

contributingGuidelines (ContributingGuidelines)

返回此仓库的贡献指南。

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (Int)

标识数据库中的主键。

defaultBranchRef (Ref)

与仓库默认分支关联的 Ref。

deleteBranchOnMerge (Boolean!)

此仓库中合并时是否自动删除分支。

dependencyGraphManifests (DependencyGraphManifestConnection)

仓库中包含的依赖关系清单列表。

dependencyGraphManifests 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • dependenciesAfter (String)

    用于分页依赖项的光标。

  • dependenciesFirst (Int)

    要获取的依赖项数量。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • withDependencies (Boolean)

    仅限于包含依赖项的清单的标志。

deployKeys (DeployKeyConnection!)

此仓库上的部署密钥列表。

deployKeys 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

deployments (DeploymentConnection!)

与仓库关联的部署。

deployments 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • environments ([String!])

    要列出部署的环境。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

description (String)

仓库的描述。

descriptionHTML (HTML!)

仓库描述渲染为 HTML。

discussion (Discussion)

按编号从当前仓库返回单个讨论。

discussion 的参数

  • number (Int!)

    要返回的讨论编号。

discussionCategories (DiscussionCategoryConnection!)

仓库中可用的讨论类别列表。

discussionCategories 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • filterByAssignable (Boolean)

    按查看者可分配的类别进行筛选。

    默认值为 false

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

discussionCategory (DiscussionCategory)

按 slug 返回的讨论类别。

discussionCategory 的参数

  • slug (String!)

    要返回的讨论类别的 slug。

discussions (DiscussionConnection!)

仓库中已开启的讨论列表。

discussions 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • answered (Boolean)

    仅显示已回答或未回答的讨论。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • categoryId (ID)

    仅包含属于此 ID 类别的讨论。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

diskUsage (Int)

此仓库在磁盘上占用的千字节数。

environment (Environment)

按名称从当前仓库返回单个活动环境。

environment 的参数

  • name (String!)

    要返回的环境名称。

environments (EnvironmentConnection!)

此仓库中的环境列表。

environments 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

forkCount (Int!)

返回整个网络中此仓库的分叉数量。

forkingAllowed (Boolean!)

此仓库是否允许分叉。

forks (RepositoryConnection!)

直接分叉的仓库列表。

Arguments for forks

  • affiliations ([RepositoryAffiliation])

    连接返回的仓库的查看者关联选项数组。例如,OWNER 将仅包括当前查看者拥有的仓库。

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • hasIssuesEnabled (Boolean)

    如果不为空,则根据仓库是否启用了议题进行筛选。

  • isLocked (Boolean)

    如果不为空,则根据仓库是否被锁定进行筛选。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (RepositoryOrder)

    Ordering options for repositories returned from the connection.

  • ownerAffiliations ([RepositoryAffiliation])

    连接返回的仓库的所有者关联选项数组。例如,OWNER 将仅包括正在查看的组织或用户拥有的仓库。

  • privacy (RepositoryPrivacy)

    如果不为空,则根据隐私筛选仓库。内部仓库被视为私有;如果只需要内部仓库,请考虑使用 visibility 参数。不能与 visibility 参数结合使用。

  • visibility (RepositoryVisibility)

    如果不为空,则根据可见性筛选仓库。不能与 privacy 参数结合使用。

fundingLinks ([FundingLink!]!)

此仓库的资助链接。

hasDiscussionsEnabled (Boolean!)

指示仓库是否启用了讨论功能。

hasIssuesEnabled (Boolean!)

指示仓库是否启用了议题功能。

hasProjectsEnabled (Boolean!)

指示仓库是否启用了项目功能。

hasPullRequestsEnabled (Boolean!)

指示仓库是否启用了拉取请求功能。

hasSponsorshipsEnabled (Boolean!)

指示仓库是否显示用于资金捐助的“赞助 (Sponsor)”按钮。

hasVulnerabilityAlertsEnabled (Boolean!)

是否为仓库启用了漏洞警报。

hasWikiEnabled (Boolean!)

指示仓库是否启用了 wiki 功能。

homepageUrl (URI)

仓库的 URL。

id (ID!)

Repository 对象的节点 ID。

interactionAbility (RepositoryInteractionAbility)

此仓库的交互能力设置。

isArchived (Boolean!)

指示仓库是否未维护。

isBlankIssuesEnabled (Boolean!)

如果查看者可以在此仓库中创建空白议题,则返回 true。

isDisabled (Boolean!)

返回此仓库是否已禁用。

isEmpty (Boolean!)

返回此仓库是否为空。

isFork (Boolean!)

标识仓库是否为分叉。

isInOrganization (Boolean!)

指示仓库是属于组织所有,还是组织的私有分叉仓库。

isLocked (Boolean!)

指示仓库是否已锁定。

isMirror (Boolean!)

标识仓库是否为镜像。

isPrivate (Boolean!)

Identifies if the repository is private or internal.

isSecurityPolicyEnabled (Boolean)

如果此仓库有安全策略,则返回 true。

isTemplate (Boolean!)

标识仓库是否为可用于生成新仓库的模板。

isUserConfigurationRepository (Boolean!)

此仓库是否为用户配置仓库?。

issue (Issue)

按编号从当前仓库返回单个议题。

issue 的参数

  • number (Int!)

    要返回的议题编号。

issueOrPullRequest (IssueOrPullRequest)

按编号从当前仓库返回单个类似议题的对象。

issueOrPullRequest 的参数

  • number (Int!)

    要返回的议题编号。

issueTemplates ([IssueTemplate!])

返回与仓库关联的议题模板列表。

issueType (IssueType)

按名称返回单个议题类型。

issueType 的参数

  • name (String!)

    议题类型名称。

issueTypes (IssueTypeConnection)

仓库的议题类型列表。

issueTypes 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

issues (IssueConnection!)

仓库中已开启的议题列表。

issues 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • filterBy (IssueFilters)

    从连接返回的问题的过滤选项。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • labels ([String!])

    用于筛选拉取请求的标签名称列表。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (IssueOrder)

    从连接返回的问题的排序选项。

label (Label)

按名称返回单个标签。

label 的参数

labels (LabelConnection)

与仓库关联的标签列表。

Arguments for labels

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (LabelOrder)

    Ordering options for labels returned from the connection.

  • query (String)

    如果提供,按名称和描述搜索标签。

languages (LanguageConnection)

包含仓库语言组成细分的列表。

languages 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

latestRelease (Release)

获取仓库的最新发布(如果存在)。

licenseInfo (License)

与仓库关联的许可证。

lockReason (RepositoryLockReason)

仓库被锁定的原因。

mentionableUsers (UserConnection!)

可在仓库上下文中提及的用户列表。

mentionableUsers 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • query (String)

    按用户名和登录名查询筛选用户。

mergeCommitAllowed (Boolean!)

此仓库中是否允许使用合并提交来合并 PR。

mergeCommitMessage (MergeCommitMessage!)

合并拉取请求时如何生成默认提交消息。

mergeCommitTitle (MergeCommitTitle!)

合并拉取请求时如何生成默认提交标题。

mergeQueue (MergeQueue)

指定分支的合并队列,如果未提供,则为默认分支。

mergeQueue 的参数

  • branch (String)

    要获取合并队列的分支名称。区分大小写。

milestone (Milestone)

按编号从当前仓库返回单个里程碑。

milestone 的参数

  • number (Int!)

    要返回的里程碑编号。

milestones (MilestoneConnection)

与仓库关联的里程碑列表。

milestones 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • query (String)

    按标题查询筛选里程碑。

mirrorUrl (URI)

仓库的原始镜像 URL。

name (String!)

仓库名称。

nameWithOwner (String!)

The repository's name with owner.

object (GitObject)

仓库中的 Git 对象。

object 的参数

  • expression (String)

    适用于 rev-parse 的 Git 修订表达式。

openGraphImageUrl (URI!)

用于在 Open Graph 数据中表示此仓库的图像。

owner (RepositoryOwner!)

仓库的用户所有者。

packages (PackageConnection!)

所有者下的包列表。

packages 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • packageType (PackageType)

    按类型筛选注册表包。

  • repositoryId (ID)

    按 ID 查找仓库中的包。

parent (Repository)

如果这是分叉,则为仓库父级。

pinnedDiscussions (PinnedDiscussionConnection!)

此仓库中已置顶的讨论列表。

pinnedDiscussions 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

pinnedEnvironments (PinnedEnvironmentConnection)

此仓库的置顶环境列表。

pinnedEnvironments 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

pinnedIssues (PinnedIssueConnection)

此仓库的置顶议题列表。

pinnedIssues 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

planFeatures (RepositoryPlanFeatures!)

返回有关基于仓库计费计划的某些功能可用性和限制的信息。

primaryLanguage (Language)

仓库代码的主要语言。

project (Project)

按编号查找项目。

警告

project 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

project 的参数

  • number (Int!)

    要查找的项目编号。

projectV2 (ProjectV2)

查找并返回与提供的项目编号对应的项目。

Arguments for projectV2

  • number (Int!)

    项目编号。

projects (ProjectConnection!)

A list of projects under the owner.

警告

projects 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

projects 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (ProjectOrder)

    连接返回的项目的排序选项。

  • search (String)

    用于搜索项目的查询,目前仅按名称搜索。

projectsResourcePath (URI!)

列出仓库项目的 HTTP 路径。

projectsUrl (URI!)

列出仓库项目的 HTTP URL。

projectsV2 (ProjectV2Connection!)

链接到此仓库的项目列表。

Arguments for projectsV2

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • query (String)

    要搜索的链接到仓库的项目。

pullRequest (PullRequest)

按编号从当前仓库返回单个拉取请求。

pullRequest 的参数

  • number (Int!)

    要返回的拉取请求编号。

pullRequestCreationPolicy (PullRequestCreationPolicy)

控制谁可以在此仓库中创建拉取请求的策略。

pullRequestTemplates ([PullRequestTemplate!])

返回与仓库关联的拉取请求模板列表。

pullRequests (PullRequestConnection!)

仓库中已开启的拉取请求列表。

pullRequests 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • baseRefName (String)

    用于筛选拉取请求的基础 ref 名称。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • headRefName (String)

    用于筛选拉取请求的头部 ref 名称。

  • labels ([String!])

    用于筛选拉取请求的标签名称列表。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (IssueOrder)

    连接返回的拉取请求的排序选项。

pushedAt (DateTime)

标识仓库上次推送的日期和时间。

rebaseMergeAllowed (Boolean!)

此仓库是否启用了 rebase-merging(变基合并)。

recentProjects (ProjectV2Connection!)

此用户在此所有者上下文中最近修改的项目。

recentProjects 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

ref (Ref)

从仓库中获取给定的引用。

ref 的参数

  • qualifiedName (String!)

    要检索的引用。在回退到短名称匹配(master)之前,会按顺序检查完全限定匹配(refs/heads/master)。

refs (RefConnection)

从仓库中获取引用列表。

refs 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • direction (OrderDirection)

    已弃用:请使用 orderBy。排序方向。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (RefOrder)

    连接返回的引用的排序选项。

  • query (String)

    使用名称上的查询筛选 ref。

  • refPrefix (String!)

    引用名称前缀,例如 refs/heads/refs/tags/ 等。

release (Release)

根据各种条件查找单个版本。

release 的参数

  • tagName (String!)

    创建该版本的标签名称。

releases (ReleaseConnection!)

依赖于此仓库的版本列表。

releases 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

repositoryCustomPropertyValue (RepositoryCustomPropertyValue)

仓库的自定义属性值。

repositoryCustomPropertyValue 的参数

  • propertyName (String!)

    要检索值的自定义属性的名称。

repositoryCustomPropertyValues (RepositoryCustomPropertyValueConnection)

仓库的自定义属性及其关联值的列表。

repositoryCustomPropertyValues 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

repositoryTopics (RepositoryTopicConnection!)

此仓库应用的仓库主题关联列表。

repositoryTopics 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

resourcePath (URI!)

此仓库的 HTTP 路径。

ruleset (RepositoryRuleset)

按 ID 从当前仓库返回单个规则集。

Arguments for ruleset

  • databaseId (Int!)

    The ID of the ruleset to be returned.

  • includeParents (Boolean)

    包括应用于此仓库的更高配置级别的规则集。

    默认值为 true

rulesets (RepositoryRulesetConnection)

此仓库的规则集列表。

Arguments for rulesets

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • includeParents (Boolean)

    返回应用于此仓库的更高配置级别的规则集。

    默认值为 true

  • last (Int)

    返回列表中的后 *n* 个元素。

securityPolicyUrl (URI)

安全策略 URL。

shortDescriptionHTML (HTML!)

仓库的描述,渲染为不包含任何链接的 HTML。

shortDescriptionHTML 的参数

  • limit (Int)

    要返回的字符数。

    默认值为 200

squashMergeAllowed (Boolean!)

此仓库是否启用了 squash-merging(压缩合并)。

squashMergeCommitMessage (SquashMergeCommitMessage!)

压缩合并拉取请求时,默认提交消息的生成方式。

squashMergeCommitTitle (SquashMergeCommitTitle!)

压缩合并拉取请求时,默认提交标题的生成方式。

squashPrTitleUsedAsDefault (Boolean!)

压缩合并提交是否可以使用拉取请求标题作为默认值。

警告

squashPrTitleUsedAsDefault 已弃用。

squashPrTitleUsedAsDefault 将被移除。请改用 Repository.squashMergeCommitTitle。移除时间为 2023-04-01 UTC。

sshUrl (GitSSHRemote!)

用于克隆此仓库的 SSH URL。

stargazerCount (Int!)

Returns a count of how many stargazers there are on this object.

stargazers (StargazerConnection!)

A list of users who have starred this starrable.

Arguments for stargazers

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

submodules (SubmoduleConnection!)

返回从默认分支的 HEAD 提交解析的 .gitmodules 文件中的所有子模块列表。

submodules 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

suggestedActors (ActorConnection!)

可归属于此仓库内容的建议参与者列表。

Arguments for suggestedActors

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • loginNames (String)

    以逗号分隔的登录名列表,用于按参与者进行筛选。仅使用前 10 个登录名。

  • query (String)

    Search actors with query on user name and login.

tempCloneToken (String)

用于克隆此仓库的临时身份验证令牌。

templateRepository (Repository)

生成此仓库的源仓库(如果有)。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

url (URI!)

此仓库的 HTTP URL。

usesCustomOpenGraphImage (Boolean!)

此仓库是否具有用于 Open Graph 的自定义图像,而不是使用所有者的头像。

viewerCanAdminister (Boolean!)

指示查看者是否对此仓库具有管理权限。

viewerCanCreateProjects (Boolean!)

当前查看者是否可以在此所有者上创建新项目。

警告

viewerCanCreateProjects 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

viewerCanSeeIssueFields (Boolean!)

指示当前用户是否可以在此仓库中查看议题字段。

viewerCanSubscribe (Boolean!)

检查查看者是否能够更改他们对存储库的订阅状态。

viewerCanUpdateTopics (Boolean!)

指示查看者是否可以更新此仓库的主题。

viewerDefaultCommitEmail (String)

查看者上次提交时使用的电子邮件地址。

viewerDefaultMergeMethod (PullRequestMergeMethod!)

查看者上次使用的合并方法或仓库的默认方法。

viewerHasStarred (Boolean!)

Returns a boolean indicating whether the viewing user has starred this starrable.

viewerPermission (RepositoryPermission)

用户对仓库的权限级别。如果以 GitHub App 身份进行身份验证,则返回 null。

viewerPossibleCommitEmails ([String!])

查看者可以用来提交的电子邮件地址列表。

viewerSubscription (SubscriptionState)

标识查看者是在关注、未关注还是忽略可订阅实体。

visibility (RepositoryVisibility!)

指示仓库的可见性级别。

vulnerabilityAlert (RepositoryVulnerabilityAlert)

按编号从当前仓库返回单个漏洞警报。

vulnerabilityAlert 的参数

  • number (Int!)

    要返回的漏洞警报的编号。

vulnerabilityAlerts (RepositoryVulnerabilityAlertConnection)

此仓库上的漏洞警报列表。

vulnerabilityAlerts 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

watchers (UserConnection!)

关注此仓库的用户列表。

watchers 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

webCommitSignoffRequired (Boolean!)

此仓库是否要求贡献者签署基于 Web 的提交。

RepositoryCodeowners

从仓库的 CODEOWNERS 文件中提取的信息。

RepositoryCodeowners 的字段

名称描述

errors ([RepositoryCodeownersError!]!)

解析 CODEOWNERS 文件时遇到的任何问题。

RepositoryCodeownersError

CODEOWNERS 文件中的错误。

RepositoryCodeownersError 的字段

名称描述

column (Int!)

错误发生的列号。

kind (String!)

描述错误类型的短字符串。

line (Int!)

错误发生的行号。

message (String!)

错误的完整描述,结合了其他字段的信息。

path (String!)

错误发生时文件路径。

source (String!)

发生错误的行的内容。

suggestion (String)

如何修复错误的建议。

RepositoryCollaboratorConnection

The connection type for User.

RepositoryCollaboratorConnection 的字段

名称描述

edges ([RepositoryCollaboratorEdge])

边的列表。

nodes ([User])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

RepositoryCollaboratorEdge

表示仓库的协作者的用户。

RepositoryCollaboratorEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (User!)

N/A

permission (RepositoryPermission!)

用户在仓库上的权限。

permissionSources ([PermissionSource!])

用户访问仓库的来源列表。

RepositoryConnection

主体拥有的仓库列表。

RepositoryConnection 的字段

名称描述

edges ([RepositoryEdge])

边的列表。

nodes ([Repository])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

totalDiskUsage (Int!)

连接中所有仓库的总大小(以千字节为单位)。值永远不会大于 32 位带符号整数的最大值。

仓库联系人链接。

RepositoryContactLink 的字段

名称描述

about (String!)

联系人链接的目的。

name (String!)

联系人链接名称。

url (URI!)

联系人链接 URL。

RepositoryCustomProperty

仓库自定义属性。

RepositoryCustomProperty 实现

RepositoryCustomProperty 的字段

名称描述

allowedValues ([String!])

自定义属性的允许值。如果 value_typesingle_selectmulti_select,则必需。

defaultValue (CustomPropertyValue)

自定义属性的默认值(如果该属性是 required)。

description (String)

自定义属性的描述。

id (ID!)

RepositoryCustomProperty 对象的 Node ID。

propertyName (String!)

自定义属性的名称。

regex (String)

如果 value_typestring,则自定义属性的值必须匹配的正则表达式模式。

requireExplicitValues (Boolean)

此仓库自定义属性是否需要显式值。

required (Boolean)

自定义属性是否为必需。

source (CustomPropertySource!)

自定义属性的源类型。

valueType (CustomPropertyValueType!)

自定义属性的值类型。

valuesEditableBy (RepositoryCustomPropertyValuesEditableBy!)

谁可以编辑此仓库自定义属性的值。

RepositoryCustomPropertyConnection

RepositoryCustomProperty 的连接类型。

RepositoryCustomPropertyConnection 的字段

名称描述

edges ([RepositoryCustomPropertyEdge])

边的列表。

nodes ([RepositoryCustomProperty])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

RepositoryCustomPropertyEdge

连接中的一条边。

RepositoryCustomPropertyEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (RepositoryCustomProperty)

边的末端节点。

RepositoryCustomPropertyValue

与仓库自定义属性关联的值。

RepositoryCustomPropertyValue 的字段

名称描述

propertyName (String!)

自定义属性的名称。

value (CustomPropertyValue!)

自定义属性的值。

RepositoryCustomPropertyValueConnection

RepositoryCustomPropertyValue 的连接类型。

RepositoryCustomPropertyValueConnection 的字段

名称描述

edges ([RepositoryCustomPropertyValueEdge])

边的列表。

nodes ([RepositoryCustomPropertyValue])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

RepositoryCustomPropertyValueEdge

连接中的一条边。

RepositoryCustomPropertyValueEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (RepositoryCustomPropertyValue)

边的末端节点。

RepositoryEdge

连接中的一条边。

RepositoryEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (Repository)

边的末端节点。

RepositoryIdConditionTarget

用于 repository_id 条件的参数。

RepositoryIdConditionTarget 的字段

名称描述

repositoryIds ([ID!]!)

其中一个仓库 ID 必须与仓库匹配。

RepositoryInteractionAbility

适用于此对象的仓库交互限制。

RepositoryInteractionAbility 的字段

名称描述

expiresAt (DateTime)

当前活动限制的到期时间。

limit (RepositoryInteractionLimit!)

在此对象上启用的当前限制。

origin (RepositoryInteractionLimitOrigin!)

当前活动交互限制的来源。

RepositoryInvitation

邀请用户添加到仓库的邀请函。

RepositoryInvitation 实现

RepositoryInvitation 的字段

名称描述

email (String)

接收邀请的电子邮件地址。

id (ID!)

RepositoryInvitation 对象的 Node ID。

invitee (User)

接收邀请的用户。

inviter (User!)

The user who created the invitation.

permalink (URI!)

此仓库邀请的永久链接。

permission (RepositoryPermission!)

通过此邀请授予此仓库的权限。

repository (RepositoryInfo)

用户受邀加入的仓库。

RepositoryInvitationConnection

仓库邀请列表。

RepositoryInvitationConnection 的字段

名称描述

edges ([RepositoryInvitationEdge])

边的列表。

nodes ([RepositoryInvitation])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

RepositoryInvitationEdge

连接中的一条边。

RepositoryInvitationEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (RepositoryInvitation)

边的末端节点。

RepositoryMigration

GitHub Enterprise Importer (GEI) 仓库迁移。

RepositoryMigration 实现

RepositoryMigration 的字段

名称描述

continueOnError (Boolean!)

发生错误时继续迁移的标志。

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (String)

标识数据库中的主键。

failureReason (String)

迁移失败的原因。

id (ID!)

RepositoryMigration 对象的 Node ID。

migrationLogUrl (URI)

迁移日志的 URL(在迁移完成后 1 天过期)。

migrationSource (MigrationSource!)

迁移来源。

repositoryName (String!)

目标仓库名称。

sourceUrl (URI!)

迁移源 URL,例如 https://github.comhttps://monalisa.ghe.com

state (MigrationState!)

迁移状态。

warningsCount (Int!)

此迁移遇到的警告数。要查看警告,请查看迁移日志

RepositoryMigrationConnection

迁移列表。

RepositoryMigrationConnection 的字段

名称描述

edges ([RepositoryMigrationEdge])

边的列表。

nodes ([RepositoryMigration])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

RepositoryMigrationEdge

表示仓库迁移。

RepositoryMigrationEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (RepositoryMigration)

边的末端节点。

RepositoryNameConditionTarget

用于 repository_name 条件的参数。

RepositoryNameConditionTarget 的字段

名称描述

exclude ([String!]!)

要排除的存储库名称或模式数组。如果匹配其中任何模式,则条件将不通过。

include ([String!]!)

要包含的存储库名称或模式数组。必须匹配其中一个模式才能使条件通过。还接受 ~ALL 以包含所有存储库。

protected (Boolean!)

匹配这些模式的目标更改将被阻止,除非具有绕过权限的人员执行。

RepositoryPlanFeatures

根据仓库的计费计划,有关功能可用性和限制的信息。

RepositoryPlanFeatures 的字段

名称描述

codeowners (Boolean!)

是否可以使用 CODEOWNERS 文件自动请求和强制执行审核。

draftPullRequests (Boolean!)

是否可以将拉取请求创建为或转换为草稿。

maximumAssignees (Int!)

可以分配给议题或拉取请求的最大用户数。

maximumManualReviewRequests (Int!)

拉取请求上手动请求的最大审核数。

teamReviewRequests (Boolean!)

是否可以请求团队审核拉取请求。

RepositoryPropertyConditionTarget

用于 repository_property 条件的参数。

RepositoryPropertyConditionTarget 的字段

名称描述

exclude ([PropertyTargetDefinition!]!)

不得匹配的仓库属性数组。

include ([PropertyTargetDefinition!]!)

必须匹配的仓库属性数组。

RepositoryRule

仓库规则。

RepositoryRule 实现

RepositoryRule 的字段

名称描述

id (ID!)

RepositoryRule 对象的 Node ID。

parameters (RuleParameters)

此规则的参数。

repositoryRuleset (RepositoryRuleset)

与此规则配置关联的仓库规则集。

type (RepositoryRuleType!)

规则类型。

RepositoryRuleConditions

确定规则集是否评估的条件集。

RepositoryRuleConditions 的字段

名称描述

organizationProperty (OrganizationPropertyConditionTarget)

organization_property 条件的配置。

refName (RefNameConditionTarget)

ref_name 条件的配置。

repositoryId (RepositoryIdConditionTarget)

repository_id 条件的配置。

repositoryName (RepositoryNameConditionTarget)

repository_name 条件的配置。

repositoryProperty (RepositoryPropertyConditionTarget)

repository_property 条件的配置。

RepositoryRuleConnection

RepositoryRule 的连接类型。

RepositoryRuleConnection 的字段

名称描述

edges ([RepositoryRuleEdge])

边的列表。

nodes ([RepositoryRule])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

RepositoryRuleEdge

连接中的一条边。

RepositoryRuleEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (RepositoryRule)

边的末端节点。

RepositoryRuleset

仓库规则集。

RepositoryRuleset 实现

RepositoryRuleset 的字段

名称描述

bypassActors (RepositoryRulesetBypassActorConnection)

可以绕过此规则集的参与者。

bypassActors 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

conditions (RepositoryRuleConditions!)

必须评估为 true 才能应用此规则集的条件集。

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (Int)

标识数据库中的主键。

enforcement (RuleEnforcement!)

此规则集的强制级别。

id (ID!)

RepositoryRuleset 对象的 Node ID。

name (String!)

规则集名称。

rules (RepositoryRuleConnection)

规则列表。

rules 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

source (RuleSource!)

规则集来源。

target (RepositoryRulesetTarget)

规则集目标。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

RepositoryRulesetBypassActor

具有绕过规则集上定义的规则的能力的团队或应用程序。

RepositoryRulesetBypassActor 实现

RepositoryRulesetBypassActor 的字段

名称描述

actor (BypassActor)

可以绕过规则的参与者。

bypassMode (RepositoryRulesetBypassActorBypassMode)

绕过参与者的模式。

deployKey (Boolean!)

此参与者表示部署密钥绕过的能力。

enterpriseOwner (Boolean!)

此参与者表示企业所有者绕过的能力。

id (ID!)

RepositoryRulesetBypassActor 对象的 Node ID。

organizationAdmin (Boolean!)

此参与者表示组织所有者绕过的能力。

repositoryRoleDatabaseId (Int)

如果参与者是仓库角色,则可以绕过的仓库角色的 ID。

repositoryRoleName (String)

如果参与者是仓库角色,则可以绕过的仓库角色的名称。

repositoryRuleset (RepositoryRuleset)

标识与允许的参与者关联的规则集。

RepositoryRulesetBypassActorConnection

RepositoryRulesetBypassActor 的连接类型。

RepositoryRulesetBypassActorConnection 的字段

名称描述

edges ([RepositoryRulesetBypassActorEdge])

边的列表。

nodes ([RepositoryRulesetBypassActor])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

RepositoryRulesetBypassActorEdge

连接中的一条边。

RepositoryRulesetBypassActorEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (RepositoryRulesetBypassActor)

边的末端节点。

RepositoryRulesetConnection

RepositoryRuleset 的连接类型。

RepositoryRulesetConnection 的字段

名称描述

edges ([RepositoryRulesetEdge])

边的列表。

nodes ([RepositoryRuleset])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

RepositoryRulesetEdge

连接中的一条边。

RepositoryRulesetEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (RepositoryRuleset)

边的末端节点。

RepositoryTopic

仓库主题连接仓库和主题。

RepositoryTopic 实现

RepositoryTopic 的字段

名称描述

id (ID!)

RepositoryTopic 对象的 Node ID。

resourcePath (URI!)

此仓库主题的 HTTP 路径。

topic (Topic!)

主题。

url (URI!)

此仓库主题的 HTTP URL。

RepositoryTopicConnection

RepositoryTopic 的连接类型。

RepositoryTopicConnection 的字段

名称描述

edges ([RepositoryTopicEdge])

边的列表。

nodes ([RepositoryTopic])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

RepositoryTopicEdge

连接中的一条边。

RepositoryTopicEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (RepositoryTopic)

边的末端节点。

RepositoryVisibilityChangeDisableAuditEntry

repository_visibility_change.disable 事件的审核日志条目。

RepositoryVisibilityChangeDisableAuditEntry 实现

RepositoryVisibilityChangeDisableAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

enterpriseResourcePath (URI)

The HTTP path for this enterprise.

enterpriseSlug (String)

企业的 slug。

enterpriseUrl (URI)

The HTTP URL for this enterprise.

id (ID!)

RepositoryVisibilityChangeDisableAuditEntry 对象的 Node ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

RepositoryVisibilityChangeEnableAuditEntry

repository_visibility_change.enable 事件的审核日志条目。

RepositoryVisibilityChangeEnableAuditEntry 实现

RepositoryVisibilityChangeEnableAuditEntry 的字段

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

enterpriseResourcePath (URI)

The HTTP path for this enterprise.

enterpriseSlug (String)

企业的 slug。

enterpriseUrl (URI)

The HTTP URL for this enterprise.

id (ID!)

RepositoryVisibilityChangeEnableAuditEntry 对象的 Node ID。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

RepositoryVulnerabilityAlert

针对受安全漏洞影响的依赖项的仓库的 Dependabot 警报。

RepositoryVulnerabilityAlert 实现

RepositoryVulnerabilityAlert 的字段

名称描述

autoDismissedAt (DateTime)

警报自动解除的时间?

createdAt (DateTime!)

警报创建的时间?

dependabotUpdate (DependabotUpdate)

关联的 Dependabot 更新。

dependencyRelationship (RepositoryVulnerabilityAlertDependencyRelationship)

警报依赖项的关系。

dependencyScope (RepositoryVulnerabilityAlertDependencyScope)

警报依赖项的范围。

dismissComment (String)

解释警报被解除原因的评论。

dismissReason (String)

警报被解除的原因。

dismissedAt (DateTime)

警报被解除的时间?

dismisser (User)

解除警报的用户。

fixedAt (DateTime)

警报修复的时间?

id (ID!)

RepositoryVulnerabilityAlert 对象的 Node ID。

number (Int!)

标识警报编号。

repository (Repository!)

关联的仓库。

securityAdvisory (SecurityAdvisory)

关联的安全建议。

securityVulnerability (SecurityVulnerability)

关联的安全漏洞。

state (RepositoryVulnerabilityAlertState!)

标识警报的状态。

vulnerableManifestFilename (String!)

易受攻击的清单文件名。

vulnerableManifestPath (String!)

易受攻击的清单路径。

vulnerableRequirements (String)

易受攻击的要求。

RepositoryVulnerabilityAlertConnection

RepositoryVulnerabilityAlert 的连接类型。

RepositoryVulnerabilityAlertConnection 的字段

名称描述

edges ([RepositoryVulnerabilityAlertEdge])

边的列表。

nodes ([RepositoryVulnerabilityAlert])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

RepositoryVulnerabilityAlertEdge

连接中的一条边。

RepositoryVulnerabilityAlertEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (RepositoryVulnerabilityAlert)

边的末端节点。

RequestedReviewerConnection

RequestedReviewer 的连接类型。

RequestedReviewerConnection 的字段

名称描述

edges ([RequestedReviewerEdge])

边的列表。

nodes ([RequestedReviewer])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

RequestedReviewerEdge

连接中的一条边。

RequestedReviewerEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (RequestedReviewer)

边的末端节点。

RequiredDeploymentsParameters

选择在将引用推送到匹配此规则的引用之前,必须成功部署到的环境。

RequiredDeploymentsParameters 的字段

名称描述

requiredDeploymentEnvironments ([String!]!)

在分支合并前必须成功部署到的环境。

RequiredReviewerConfiguration

一个审阅团队以及描述他们必须批准更改的文件的文件模式。

RequiredReviewerConfiguration 的字段

名称描述

filePatterns ([String!]!)

文件模式数组。更改匹配文件的拉取请求必须由指定团队批准。文件模式使用 fnmatch 语法。

minimumApprovals (Int!)

指定团队所需的最低批准数量。如果设置为零,团队将被添加到拉取请求中,但批准是可选的。

reviewerId (ID!)

必须审阅匹配文件的更改的团队的节点 ID。

RequiredStatusCheckDescription

表示受保护分支所需的必填状态检查,但不表示该检查的任何特定运行。

RequiredStatusCheckDescription 的字段

名称描述

app (App)

必须提供此状态才能接受的应用程序。

context (String!)

此状态的名称。

RequiredStatusChecksParameters

选择更新引用前必须通过的状态检查。启用后,提交必须首先推送到另一个通过检查的引用。

RequiredStatusChecksParameters 的字段

名称描述

doNotEnforceOnCreate (Boolean!)

如果状态检查原本会禁止创建存储库和分支,则允许创建它们。

requiredStatusChecks ([StatusCheckConfiguration!]!)

必需的状态检查。

strictRequiredStatusChecksPolicy (Boolean!)

针对匹配分支的拉取请求是否必须使用最新代码进行测试。除非至少启用一个状态检查,否则此设置不会生效。

RestrictedContribution

表示用户在 GitHub 上进行的私人贡献。

RestrictedContribution 实现

RestrictedContribution 的字段

名称描述

isRestricted (Boolean!)

此贡献是否与您无权访问的记录相关联。例如,您自己的“第一个 issue”贡献可能是在您无法再访问的仓库上进行的。

occurredAt (DateTime!)

做出此贡献的时间。

resourcePath (URI!)

此贡献的 HTTP 路径。

url (URI!)

此贡献的 HTTP URL。

user (User!)

做出此贡献的用户。

ReviewDismissalAllowance

有能力解除受保护分支上的审阅的用户、团队或应用程序。

ReviewDismissalAllowance 实现

ReviewDismissalAllowance 的字段

名称描述

actor (ReviewDismissalAllowanceActor)

可以解除的参与者。

branchProtectionRule (BranchProtectionRule)

标识与允许的用户、团队或应用关联的分支保护规则。

id (ID!)

ReviewDismissalAllowance 对象的 Node ID。

ReviewDismissalAllowanceConnection

ReviewDismissalAllowance 的连接类型。

ReviewDismissalAllowanceConnection 的字段

名称描述

edges ([ReviewDismissalAllowanceEdge])

边的列表。

nodes ([ReviewDismissalAllowance])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

ReviewDismissalAllowanceEdge

连接中的一条边。

ReviewDismissalAllowanceEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (ReviewDismissalAllowance)

边的末端节点。

ReviewDismissedEvent

表示给定议题或拉取请求上的review_dismissed事件。

ReviewDismissedEvent 实现

ReviewDismissedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (Int)

标识数据库中的主键。

dismissalMessage (String)

标识与review_dismissed事件关联的可选消息。

dismissalMessageHTML (String)

标识与事件关联的可选消息,渲染为 HTML。

id (ID!)

ReviewDismissedEvent 对象的 Node ID。

previousReviewState (PullRequestReviewState!)

标识具有review_dismissed事件的审阅的先前状态。

pullRequest (PullRequest!)

事件引用的拉取请求。

pullRequestCommit (PullRequestCommit)

标识导致审阅过期的提交。

resourcePath (URI!)

此审阅解除事件的 HTTP 路径。

review (PullRequestReview)

标识与review_dismissed事件关联的审阅。

url (URI!)

此审阅解除事件的 HTTP URL。

ReviewRequest

请求用户审阅拉取请求的请求。

ReviewRequest 实现

ReviewRequest 的字段

名称描述

asCodeOwner (Boolean!)

此请求是否为代码所有者创建。

databaseId (Int)

标识数据库中的主键。

id (ID!)

ReviewRequest 对象的 Node ID。

pullRequest (PullRequest!)

标识与此审阅请求关联的拉取请求。

requestedReviewer (RequestedReviewer)

请求的审阅者。

ReviewRequestConnection

ReviewRequest 的连接类型。

ReviewRequestConnection 的字段

名称描述

edges ([ReviewRequestEdge])

边的列表。

nodes ([ReviewRequest])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

ReviewRequestEdge

连接中的一条边。

ReviewRequestEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (ReviewRequest)

边的末端节点。

ReviewRequestRemovedEvent

表示给定拉取请求上的review_request_removed事件。

ReviewRequestRemovedEvent 实现

ReviewRequestRemovedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

ReviewRequestRemovedEvent 对象的 Node ID。

pullRequest (PullRequest!)

事件引用的拉取请求。

requestedReviewer (RequestedReviewer)

标识其审阅请求被移除的审阅者。

ReviewRequestedEvent

表示给定拉取请求上的review_requested事件。

ReviewRequestedEvent 实现

ReviewRequestedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

ReviewRequestedEvent 对象的 Node ID。

pullRequest (PullRequest!)

事件引用的拉取请求。

requestedReviewer (RequestedReviewer)

标识其审阅被请求的审阅者。

ReviewStatusHovercardContext

一个悬停卡片上下文,其中包含描述拉取请求当前代码审阅状态的消息。

ReviewStatusHovercardContext 实现

ReviewStatusHovercardContext 的字段

名称描述

message (String!)

A string describing this context.

octicon (String!)

An octicon to accompany this context.

reviewDecision (PullRequestReviewDecision)

拉取请求在代码审阅方面的当前状态。

SavedReply

保存的回复是用户可以快速回复的文本。

SavedReply 实现

SavedReply 的字段

名称描述

body (String!)

保存的回复正文。

bodyHTML (HTML!)

渲染为 HTML 的保存回复正文。

databaseId (Int)

标识数据库中的主键。

id (ID!)

SavedReply 对象的 Node ID。

title (String!)

保存的回复标题。

user (Actor)

保存此回复的用户。

SavedReplyConnection

SavedReply 的连接类型。

SavedReplyConnection 的字段

名称描述

edges ([SavedReplyEdge])

边的列表。

nodes ([SavedReply])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

SavedReplyEdge

连接中的一条边。

SavedReplyEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (SavedReply)

边的末端节点。

SearchResultItemConnection

与搜索查询匹配的结果列表。无论匹配数量多少,所有类型最多可显示 1,000 个结果,可能分多页显示。

SearchResultItemConnection 的字段

名称描述

codeCount (Int!)

与搜索查询匹配的代码总数。无论匹配总数多少,所有类型最多可显示 1,000 个结果。

discussionCount (Int!)

与搜索查询匹配的讨论总数。无论匹配总数多少,所有类型最多可显示 1,000 个结果。

edges ([SearchResultItemEdge])

边的列表。

issueCount (Int!)

与搜索查询匹配的议题总数。无论匹配总数多少,所有类型最多可显示 1,000 个结果。

issueSearchType (IssueSearchType)

针对议题执行的搜索类型(词汇、语义或混合)。

lexicalFallbackReason ([LexicalFallbackReason!])

当语义或混合搜索回退到词汇搜索时,发生回退的原因。

nodes ([SearchResultItem])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

repositoryCount (Int!)

与搜索查询匹配的仓库总数。无论匹配总数多少,所有类型最多可显示 1,000 个结果。

userCount (Int!)

与搜索查询匹配的用户总数。无论匹配总数多少,所有类型最多可显示 1,000 个结果。

wikiCount (Int!)

与搜索查询匹配的 Wiki 页面总数。无论匹配总数多少,所有类型最多可显示 1,000 个结果。

SearchResultItemEdge

连接中的一条边。

SearchResultItemEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (SearchResultItem)

边的末端节点。

textMatches ([TextMatch])

找到结果的文本匹配项。

SecurityAdvisory

GitHub 安全建议。

SecurityAdvisory 实现

SecurityAdvisory 的字段

名称描述

classification (SecurityAdvisoryClassification!)

建议的分类。

cvss (CVSS!)

与此建议关联的 CVSS。

警告

cvss 已弃用。

cvss 将被移除。新的 cvss_severities 字段现在将包含 cvss_v3cvss_v4 属性。移除时间为 2025-10-01 UTC。

cvssSeverities (CvssSeverities!)

与此建议关联的 CVSS。

cwes (CWEConnection!)

与此建议关联的 CWE。

cwes 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

databaseId (Int)

标识数据库中的主键。

description (String!)

这是建议的冗长纯文本描述。

epss (EPSS)

The Exploit Prediction Scoring System.

ghsaId (String!)

GitHub 安全建议 ID。

id (ID!)

SecurityAdvisory 对象的 Node ID。

identifiers ([SecurityAdvisoryIdentifier!]!)

此建议的标识符列表。

notificationsPermalink (URI)

建议的 Dependabot 警报页面的永久链接。

origin (String!)

建议的来源组织。

permalink (URI)

建议的永久链接。

publishedAt (DateTime!)

建议发布的时间。

references ([SecurityAdvisoryReference!]!)

此建议的参考列表。

severity (SecurityAdvisorySeverity!)

建议的严重性。

summary (String!)

建议的简短纯文本摘要。

updatedAt (DateTime!)

建议上次更新的时间。

vulnerabilities (SecurityVulnerabilityConnection!)

与此建议关联的漏洞。

vulnerabilities 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • package (String)

    用于按包名称筛选漏洞。

withdrawnAt (DateTime)

如果建议已撤回,则为撤回时间。

SecurityAdvisoryConnection

SecurityAdvisory 的连接类型。

SecurityAdvisoryConnection 的字段

名称描述

edges ([SecurityAdvisoryEdge])

边的列表。

nodes ([SecurityAdvisory])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

SecurityAdvisoryEdge

连接中的一条边。

SecurityAdvisoryEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (SecurityAdvisory)

边的末端节点。

SecurityAdvisoryIdentifier

GitHub 安全建议标识符。

SecurityAdvisoryIdentifier 的字段

名称描述

type (String!)

标识符类型,例如 GHSA、CVE。

value (String!)

标识符。

SecurityAdvisoryPackage

单个包。

SecurityAdvisoryPackage 的字段

名称描述

ecosystem (SecurityAdvisoryEcosystem!)

包所属的生态系统,例如 RUBYGEMS、NPM。

name (String!)

包名称。

SecurityAdvisoryPackageVersion

单个包版本。

SecurityAdvisoryPackageVersion 的字段

名称描述

identifier (String!)

包名称或版本。

SecurityAdvisoryReference

GitHub 安全建议参考。

SecurityAdvisoryReference 的字段

名称描述

url (URI!)

可公开访问的参考。

SecurityVulnerability

建议中的单个漏洞。

SecurityVulnerability 的字段

名称描述

advisory (SecurityAdvisory!)

与此漏洞关联的建议。

firstPatchedVersion (SecurityAdvisoryPackageVersion)

包含漏洞修复的第一个版本。

package (SecurityAdvisoryPackage!)

易受攻击的包的描述。

severity (SecurityAdvisorySeverity!)

此包中漏洞的严重性。

updatedAt (DateTime!)

漏洞上次更新的时间。

vulnerableVersionRange (String!)

描述易受攻击包版本的字符串。此字符串遵循具有几种形式的基本语法。

  • = 0.2.0 表示单个易受攻击的版本。
  • <= 1.0.8 表示包括指定版本在内的版本范围。
  • < 0.1.11 表示不包括指定版本在内的版本范围。
  • >= 4.3.0, < 4.3.5 表示具有已知最小值和最大值的版本范围。
  • >= 0.0.1 表示具有已知最小值但没有已知最大值的版本范围。

SecurityVulnerabilityConnection

SecurityVulnerability 的连接类型。

SecurityVulnerabilityConnection 的字段

名称描述

edges ([SecurityVulnerabilityEdge])

边的列表。

nodes ([SecurityVulnerability])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

SecurityVulnerabilityEdge

连接中的一条边。

SecurityVulnerabilityEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (SecurityVulnerability)

边的末端节点。

SmimeSignature

表示提交或标签上的 S/MIME 签名。

SmimeSignature 实现

SmimeSignature 的字段

名称描述

email (String!)

Email used to sign this object.

isValid (Boolean!)

True if the signature is valid and verified by GitHub.

payload (String!)

Payload for GPG signing object. Raw ODB object without the signature header.

signature (String!)

ASCII-armored signature header from object.

signer (User)

GitHub user corresponding to the email signing this commit.

state (GitSignatureState!)

The state of this signature. VALID if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid.

verifiedAt (DateTime)

The date the signature was verified, if valid.

wasSignedByGitHub (Boolean!)

True if the signature was made with GitHub's signing key.

SocialAccount

与用户关联的社交媒体资料。

SocialAccount 的字段

名称描述

displayName (String!)

社交媒体帐户在资料上显示的名称。

provider (SocialAccountProvider!)

托管社交媒体帐户的软件或公司。

url (URI!)

社交媒体帐户的 URL。

SocialAccountConnection

SocialAccount 的连接类型。

SocialAccountConnection 的字段

名称描述

edges ([SocialAccountEdge])

边的列表。

nodes ([SocialAccount])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

SocialAccountEdge

连接中的一条边。

SocialAccountEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (SocialAccount)

边的末端节点。

SponsorAndLifetimeValue

一个 GitHub 帐户和他们向特定维护者支付的赞助总额(以美元为单位)。不包括通过 Patreon 支付的款项。

SponsorAndLifetimeValue 的字段

名称描述

amountInCents (Int!)

金额(以美分为单位)。

formattedAmount (String!)

金额(以美元为单位),格式化为字符串。

sponsor (Sponsorable!)

赞助者的 GitHub 帐户。

sponsorable (Sponsorable!)

维护者的 GitHub 帐户。

SponsorAndLifetimeValueConnection

SponsorAndLifetimeValue 的连接类型。

SponsorAndLifetimeValueConnection 的字段

名称描述

edges ([SponsorAndLifetimeValueEdge])

边的列表。

nodes ([SponsorAndLifetimeValue])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

SponsorAndLifetimeValueEdge

连接中的一条边。

SponsorAndLifetimeValueEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (SponsorAndLifetimeValue)

边的末端节点。

SponsorConnection

通过 GitHub Sponsors 赞助某人的用户和组织列表。

SponsorConnection 的字段

名称描述

edges ([SponsorEdge])

边的列表。

nodes ([Sponsor])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

SponsorEdge

表示通过 GitHub Sponsors 赞助某人的用户或组织。

SponsorEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (Sponsor)

边的末端节点。

SponsorableItemConnection

SponsorableItem 的连接类型。

SponsorableItemConnection 的字段

名称描述

edges ([SponsorableItemEdge])

边的列表。

nodes ([SponsorableItem])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

SponsorableItemEdge

连接中的一条边。

Fields for SponsorableItemEdge

名称描述

cursor (String!)

用于分页的光标。

node (SponsorableItem)

边的末端节点。

SponsorsActivity

An event related to sponsorship activity.

SponsorsActivity Implements

Fields for SponsorsActivity

名称描述

action (SponsorsActivityAction!)

What action this activity indicates took place.

currentPrivacyLevel (SponsorshipPrivacy)

The sponsor's current privacy level.

id (ID!)

The Node ID of the SponsorsActivity object.

paymentSource (SponsorshipPaymentSource)

The platform that was used to pay for the sponsorship.

previousSponsorsTier (SponsorsTier)

The tier that the sponsorship used to use, for tier change events.

sponsor (Sponsor)

The user or organization who triggered this activity and was/is sponsoring the sponsorable.

sponsorable (Sponsorable!)

The user or organization that is being sponsored, the maintainer.

sponsorsTier (SponsorsTier)

The associated sponsorship tier.

timestamp (DateTime)

The timestamp of this event.

viaBulkSponsorship (Boolean!)

Was this sponsorship made alongside other sponsorships at the same time from the same sponsor?.

SponsorsActivityConnection

The connection type for SponsorsActivity.

Fields for SponsorsActivityConnection

名称描述

edges ([SponsorsActivityEdge])

边的列表。

nodes ([SponsorsActivity])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

SponsorsActivityEdge

连接中的一条边。

Fields for SponsorsActivityEdge

名称描述

cursor (String!)

用于分页的光标。

node (SponsorsActivity)

边的末端节点。

SponsorsGoal

A goal associated with a GitHub Sponsors listing, representing a target the sponsored maintainer would like to attain.

Fields for SponsorsGoal

名称描述

description (String)

A description of the goal from the maintainer.

kind (SponsorsGoalKind!)

What the objective of this goal is.

percentComplete (Int!)

The percentage representing how complete this goal is, between 0-100.

targetValue (Int!)

What the goal amount is. Represents an amount in USD for monthly sponsorship amount goals. Represents a count of unique sponsors for total sponsors count goals.

title (String!)

A brief summary of the kind and target value of this goal.

SponsorsListing

A GitHub Sponsors listing.

SponsorsListing Implements

Fields for SponsorsListing

名称描述

activeGoal (SponsorsGoal)

The current goal the maintainer is trying to reach with GitHub Sponsors, if any.

activeStripeConnectAccount (StripeConnectAccount)

The Stripe Connect account currently in use for payouts for this Sponsors listing, if any. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization.

billingCountryOrRegion (String)

The name of the country or region with the maintainer's bank account or fiscal host. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization.

contactEmailAddress (String)

The email address used by GitHub to contact the sponsorable about their GitHub Sponsors profile. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization.

createdAt (DateTime!)

标识对象创建的日期和时间。

dashboardResourcePath (URI!)

The HTTP path for the Sponsors dashboard for this Sponsors listing.

dashboardUrl (URI!)

The HTTP URL for the Sponsors dashboard for this Sponsors listing.

featuredItems ([SponsorsListingFeaturedItem!]!)

The records featured on the GitHub Sponsors profile.

Arguments for featuredItems

fiscalHost (Organization)

The fiscal host used for payments, if any. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization.

fullDescription (String!)

The full description of the listing.

fullDescriptionHTML (HTML!)

The full description of the listing rendered to HTML.

id (ID!)

The Node ID of the SponsorsListing object.

isPublic (Boolean!)

Whether this listing is publicly visible.

name (String!)

列表的全名。

nextPayoutDate (Date)

A future date on which this listing is eligible to receive a payout.

residenceCountryOrRegion (String)

The name of the country or region where the maintainer resides. Will only return a value when queried by the maintainer themselves, or by an admin of the sponsorable organization.

resourcePath (URI!)

The HTTP path for this Sponsors listing.

shortDescription (String!)

The short description of the listing.

slug (String!)

The short name of the listing.

sponsorable (Sponsorable!)

The entity this listing represents who can be sponsored on GitHub Sponsors.

tiers (SponsorsTierConnection)

The tiers for this GitHub Sponsors profile.

Arguments for tiers

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • includeUnpublished (Boolean)

    Whether to include tiers that aren't published. Only admins of the Sponsors listing can see draft tiers. Only admins of the Sponsors listing and viewers who are currently sponsoring on a retired tier can see those retired tiers. Defaults to including only published tiers, which are visible to anyone who can see the GitHub Sponsors profile.

    默认值为 false

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (SponsorsTierOrder)

    Ordering options for Sponsors tiers returned from the connection.

url (URI!)

The HTTP URL for this Sponsors listing.

SponsorsListingFeaturedItem

A record that is promoted on a GitHub Sponsors profile.

SponsorsListingFeaturedItem Implements

Fields for SponsorsListingFeaturedItem

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

description (String)

Will either be a description from the sponsorable maintainer about why they featured this item, or the item's description itself, such as a user's bio from their GitHub profile page.

featureable (SponsorsListingFeatureableItem!)

The record that is featured on the GitHub Sponsors profile.

id (ID!)

The Node ID of the SponsorsListingFeaturedItem object.

position (Int!)

The position of this featured item on the GitHub Sponsors profile with a lower position indicating higher precedence. Starts at 1.

sponsorsListing (SponsorsListing!)

The GitHub Sponsors profile that features this record.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

SponsorsTier

A GitHub Sponsors tier associated with a GitHub Sponsors listing.

SponsorsTier Implements

Fields for SponsorsTier

名称描述

adminInfo (SponsorsTierAdminInfo)

SponsorsTier information only visible to users that can administer the associated Sponsors listing.

closestLesserValueTier (SponsorsTier)

Get a different tier for this tier's maintainer that is at the same frequency as this tier but with an equal or lesser cost. Returns the published tier with the monthly price closest to this tier's without going over.

createdAt (DateTime!)

标识对象创建的日期和时间。

description (String!)

The description of the tier.

descriptionHTML (HTML!)

The tier description rendered to HTML.

id (ID!)

The Node ID of the SponsorsTier object.

isCustomAmount (Boolean!)

Whether this tier was chosen at checkout time by the sponsor rather than defined ahead of time by the maintainer who manages the Sponsors listing.

isOneTime (Boolean!)

Whether this tier is only for use with one-time sponsorships.

monthlyPriceInCents (Int!)

How much this tier costs per month in cents.

monthlyPriceInDollars (Int!)

How much this tier costs per month in USD.

name (String!)

The name of the tier.

sponsorsListing (SponsorsListing!)

The sponsors listing that this tier belongs to.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

SponsorsTierAdminInfo

SponsorsTier information only visible to users that can administer the associated Sponsors listing.

Fields for SponsorsTierAdminInfo

名称描述

isDraft (Boolean!)

Indicates whether this tier is still a work in progress by the sponsorable and not yet published to the associated GitHub Sponsors profile. Draft tiers cannot be used for new sponsorships and will not be in use on existing sponsorships. Draft tiers cannot be seen by anyone but the admins of the GitHub Sponsors profile.

isPublished (Boolean!)

Indicates whether this tier is published to the associated GitHub Sponsors profile. Published tiers are visible to anyone who can see the GitHub Sponsors profile, and are available for use in sponsorships if the GitHub Sponsors profile is publicly visible.

isRetired (Boolean!)

Indicates whether this tier has been retired from the associated GitHub Sponsors profile. Retired tiers are no longer shown on the GitHub Sponsors profile and cannot be chosen for new sponsorships. Existing sponsorships may still use retired tiers if the sponsor selected the tier before it was retired.

sponsorships (SponsorshipConnection!)

The sponsorships using this tier.

Arguments for sponsorships

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • includePrivate (Boolean)

    Whether or not to return private sponsorships using this tier. Defaults to only returning public sponsorships on this tier.

    默认值为 false

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (SponsorshipOrder)

    连接返回的赞助的排序选项。如果留空,赞助将根据与查看者的相关性进行排序。

SponsorsTierConnection

The connection type for SponsorsTier.

Fields for SponsorsTierConnection

名称描述

edges ([SponsorsTierEdge])

边的列表。

nodes ([SponsorsTier])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

SponsorsTierEdge

连接中的一条边。

Fields for SponsorsTierEdge

名称描述

cursor (String!)

用于分页的光标。

node (SponsorsTier)

边的末端节点。

Sponsorship

A sponsorship relationship between a sponsor and a maintainer.

Sponsorship Implements

Fields for Sponsorship

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

The Node ID of the Sponsorship object.

isActive (Boolean!)

Whether the sponsorship is active. False implies the sponsor is a past sponsor of the maintainer, while true implies they are a current sponsor.

isOneTimePayment (Boolean!)

Whether this sponsorship represents a one-time payment versus a recurring sponsorship.

isSponsorOptedIntoEmail (Boolean)

Whether the sponsor has chosen to receive sponsorship update emails sent from the sponsorable. Only returns a non-null value when the viewer has permission to know this.

maintainer (User!)

The entity that is being sponsored.

警告

maintainer is deprecated.

Sponsorship.maintainer will be removed. Use Sponsorship.sponsorable instead. Removal on 2020-04-01 UTC.

paymentSource (SponsorshipPaymentSource)

The platform that was most recently used to pay for the sponsorship.

privacyLevel (SponsorshipPrivacy!)

The privacy level for this sponsorship.

sponsor (User)

The user that is sponsoring. Returns null if the sponsorship is private or if sponsor is not a user.

警告

sponsor is deprecated.

Sponsorship.sponsor will be removed. Use Sponsorship.sponsorEntity instead. Removal on 2020-10-01 UTC.

sponsorEntity (Sponsor)

The user or organization that is sponsoring, if you have permission to view them.

sponsorable (Sponsorable!)

The entity that is being sponsored.

tier (SponsorsTier)

The associated sponsorship tier.

tierSelectedAt (DateTime)

Identifies the date and time when the current tier was chosen for this sponsorship.

SponsorshipConnection

A list of sponsorships either from the subject or received by the subject.

Fields for SponsorshipConnection

名称描述

edges ([SponsorshipEdge])

边的列表。

nodes ([Sponsorship])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

totalRecurringMonthlyPriceInCents (Int!)

The total amount in cents of all recurring sponsorships in the connection whose amount you can view. Does not include one-time sponsorships.

totalRecurringMonthlyPriceInDollars (Int!)

The total amount in USD of all recurring sponsorships in the connection whose amount you can view. Does not include one-time sponsorships.

SponsorshipEdge

连接中的一条边。

Fields for SponsorshipEdge

名称描述

cursor (String!)

用于分页的光标。

node (Sponsorship)

边的末端节点。

SponsorshipNewsletter

An update sent to sponsors of a user or organization on GitHub Sponsors.

SponsorshipNewsletter Implements

Fields for SponsorshipNewsletter

名称描述

author (User)

The author of the newsletter.

body (String!)

The contents of the newsletter, the message the sponsorable wanted to give.

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

The Node ID of the SponsorshipNewsletter object.

isPublished (Boolean!)

Indicates if the newsletter has been made available to sponsors.

sponsorable (Sponsorable!)

The user or organization this newsletter is from.

subject (String!)

The subject of the newsletter, what it's about.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

SponsorshipNewsletterConnection

The connection type for SponsorshipNewsletter.

Fields for SponsorshipNewsletterConnection

名称描述

edges ([SponsorshipNewsletterEdge])

边的列表。

nodes ([SponsorshipNewsletter])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

SponsorshipNewsletterEdge

连接中的一条边。

Fields for SponsorshipNewsletterEdge

名称描述

cursor (String!)

用于分页的光标。

node (SponsorshipNewsletter)

边的末端节点。

SshSignature

Represents an SSH signature on a Commit or Tag.

SshSignature Implements

Fields for SshSignature

名称描述

email (String!)

Email used to sign this object.

isValid (Boolean!)

True if the signature is valid and verified by GitHub.

keyFingerprint (String)

Hex-encoded fingerprint of the key that signed this object.

payload (String!)

Payload for GPG signing object. Raw ODB object without the signature header.

signature (String!)

ASCII-armored signature header from object.

signer (User)

GitHub user corresponding to the email signing this commit.

state (GitSignatureState!)

The state of this signature. VALID if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid.

verifiedAt (DateTime)

The date the signature was verified, if valid.

wasSignedByGitHub (Boolean!)

True if the signature was made with GitHub's signing key.

StargazerConnection

The connection type for User.

Fields for StargazerConnection

名称描述

edges ([StargazerEdge])

边的列表。

nodes ([User])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

StargazerEdge

Represents a user that's starred a repository.

Fields for StargazerEdge

名称描述

cursor (String!)

用于分页的光标。

node (User!)

N/A

starredAt (DateTime!)

Identifies when the item was starred.

StarredRepositoryConnection

The connection type for Repository.

Fields for StarredRepositoryConnection

名称描述

edges ([StarredRepositoryEdge])

边的列表。

isOverLimit (Boolean!)

Is the list of stars for this user truncated? This is true for users that have many stars.

nodes ([Repository])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

StarredRepositoryEdge

Represents a starred repository.

Fields for StarredRepositoryEdge

名称描述

cursor (String!)

用于分页的光标。

node (Repository!)

N/A

starredAt (DateTime!)

Identifies when the item was starred.

Status

Represents a commit status.

Status Implements

Fields for Status

名称描述

combinedContexts (StatusCheckRollupContextConnection!)

A list of status contexts and check runs for this commit.

Arguments for combinedContexts

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

commit (Commit)

The commit this status is attached to.

context (StatusContext)

Looks up an individual status context by context name.

Arguments for context

contexts ([StatusContext!]!)

The individual status contexts for this commit.

id (ID!)

The Node ID of the Status object.

state (StatusState!)

The combined commit status.

StatusCheckConfiguration

Required status check.

Fields for StatusCheckConfiguration

名称描述

context (String!)

必须存在于提交上的状态检查上下文名称。

integrationId (Int)

此状态检查必须来源的可选集成 ID。

StatusCheckRollup

Represents the rollup for both the check runs and status for a commit.

StatusCheckRollup Implements

Fields for StatusCheckRollup

名称描述

commit (Commit)

The commit the status and check runs are attached to.

contexts (StatusCheckRollupContextConnection!)

A list of status contexts and check runs for this commit.

Arguments for contexts

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

id (ID!)

The Node ID of the StatusCheckRollup object.

state (StatusState!)

The combined status for the commit.

StatusCheckRollupContextConnection

The connection type for StatusCheckRollupContext.

Fields for StatusCheckRollupContextConnection

名称描述

checkRunCount (Int!)

The number of check runs in this rollup.

checkRunCountsByState ([CheckRunStateCount!])

Counts of check runs by state.

edges ([StatusCheckRollupContextEdge])

边的列表。

nodes ([StatusCheckRollupContext])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

statusContextCount (Int!)

The number of status contexts in this rollup.

statusContextCountsByState ([StatusContextStateCount!])

Counts of status contexts by state.

totalCount (Int!)

标识连接中的项目总数。

StatusCheckRollupContextEdge

连接中的一条边。

Fields for StatusCheckRollupContextEdge

名称描述

cursor (String!)

用于分页的光标。

node (StatusCheckRollupContext)

边的末端节点。

StatusContext

Represents an individual commit status context.

StatusContext Implements

Fields for StatusContext

名称描述

avatarUrl (URI)

The avatar of the OAuth application or the user that created the status.

avatarUrl 的参数

  • size (Int)

    生成正方形图像的大小。

    The default value is 40.

commit (Commit)

This commit this status context is attached to.

context (String!)

The name of this status context.

createdAt (DateTime!)

标识对象创建的日期和时间。

creator (Actor)

The actor who created this status context.

description (String)

The description for this status context.

id (ID!)

The Node ID of the StatusContext object.

isRequired (Boolean!)

是否需要通过此检查才能合并特定拉取请求。

isRequired 的参数

  • pullRequestId (ID)

    此必需项的拉取请求 ID。

  • pullRequestNumber (Int)

    此必需项的拉取请求编号。

state (StatusState!)

The state of this status context.

targetUrl (URI)

The URL for this status context.

StatusContextStateCount

Represents a count of the state of a status context.

Fields for StatusContextStateCount

名称描述

count (Int!)

The number of statuses with this state.

state (StatusState!)

The state of a status context.

StripeConnectAccount

A Stripe Connect account for receiving sponsorship funds from GitHub Sponsors.

Fields for StripeConnectAccount

名称描述

accountId (String!)

The account number used to identify this Stripe Connect account.

billingCountryOrRegion (String)

The name of the country or region of an external account, such as a bank account, tied to the Stripe Connect account. Will only return a value when queried by the maintainer of the associated GitHub Sponsors profile themselves, or by an admin of the sponsorable organization.

countryOrRegion (String)

The name of the country or region of the Stripe Connect account. Will only return a value when queried by the maintainer of the associated GitHub Sponsors profile themselves, or by an admin of the sponsorable organization.

isActive (Boolean!)

Whether this Stripe Connect account is currently in use for the associated GitHub Sponsors profile.

sponsorsListing (SponsorsListing!)

The GitHub Sponsors profile associated with this Stripe Connect account.

stripeDashboardUrl (URI!)

The URL to access this Stripe Connect account on Stripe's website.

SubIssueAddedEvent

Represents asub_issue_addedevent on a given issue.

SubIssueAddedEvent Implements

Fields for SubIssueAddedEvent

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

The Node ID of the SubIssueAddedEvent object.

subIssue (Issue)

The sub-issue added.

SubIssueRemovedEvent

Represents asub_issue_removedevent on a given issue.

SubIssueRemovedEvent Implements

Fields for SubIssueRemovedEvent

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

The Node ID of the SubIssueRemovedEvent object.

subIssue (Issue)

The sub-issue removed.

SubIssuesSummary

Summary of the state of an issue's sub-issues.

Fields for SubIssuesSummary

名称描述

completed (Int!)

Count of completed sub-issues.

percentCompleted (Int!)

Percent of sub-issues which are completed.

total (Int!)

Count of total number of sub-issues.

Submodule

A pointer to a repository at a specific revision embedded inside another repository.

Fields for Submodule

名称描述

branch (String)

The branch of the upstream submodule for tracking updates.

gitUrl (URI!)

The git URL of the submodule repository.

name (String!)

The name of the submodule in .gitmodules.

nameRaw (Base64String!)

The name of the submodule in .gitmodules (Base64-encoded).

path (String!)

The path in the superproject that this submodule is located in.

pathRaw (Base64String!)

The path in the superproject that this submodule is located in (Base64-encoded).

subprojectCommitOid (GitObjectID)

The commit revision of the subproject repository being tracked by the submodule.

SubmoduleConnection

The connection type for Submodule.

Fields for SubmoduleConnection

名称描述

edges ([SubmoduleEdge])

边的列表。

nodes ([Submodule])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

SubmoduleEdge

连接中的一条边。

Fields for SubmoduleEdge

名称描述

cursor (String!)

用于分页的光标。

node (Submodule)

边的末端节点。

SubscribedEvent

Represents asubscribedevent on a given Subscribable.

SubscribedEvent Implements

Fields for SubscribedEvent

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

The Node ID of the SubscribedEvent object.

subscribable (Subscribable!)

事件引用的对象。

SuggestedReviewer

A suggestion to review a pull request based on a user's commit history and review comments.

Fields for SuggestedReviewer

名称描述

isAuthor (Boolean!)

Is this suggestion based on past commits?.

isCommenter (Boolean!)

Is this suggestion based on past review comments?.

reviewer (User!)

Identifies the user suggested to review the pull request.

SuggestedReviewerActor

A suggestion to review a pull request based on an actor's commit history, review comments, and integrations.

Fields for SuggestedReviewerActor

名称描述

isAuthor (Boolean!)

Is this suggestion based on past commits?.

isCommenter (Boolean!)

Is this suggestion based on past review comments?.

reviewer (Actor!)

Identifies the actor suggested to review the pull request.

SuggestedReviewerActorConnection

A suggestion to review a pull request based on an actor's commit history, review comments, and integrations.

Fields for SuggestedReviewerActorConnection

名称描述

edges ([SuggestedReviewerActorEdge])

边的列表。

nodes ([SuggestedReviewerActor])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

SuggestedReviewerActorEdge

连接中的一条边。

Fields for SuggestedReviewerActorEdge

名称描述

cursor (String!)

用于分页的光标。

node (SuggestedReviewerActor)

边的末端节点。

Tag

Represents a Git tag.

Tag Implements

Fields for Tag

名称描述

abbreviatedOid (String!)

Git 对象 ID 的缩写版本。

commitResourcePath (URI!)

此 Git 对象的 HTTP 路径。

commitUrl (URI!)

此 Git 对象的 HTTP URL。

id (ID!)

The Node ID of the Tag object.

message (String)

The Git tag message.

name (String!)

The Git tag name.

oid (GitObjectID!)

Git 对象 ID。

repository (Repository!)

Git 对象所属的存储库。

tagger (GitActor)

Details about the tag author.

target (GitObject!)

The Git object the tag points to.

TagNamePatternParameters

Parameters to be used for the tag_name_pattern rule.

Fields for TagNamePatternParameters

名称描述

name (String)

此规则在配置时显示的方式。

negate (Boolean!)

如果为 true,则如果模式匹配,规则将失败。

operator (String!)

用于匹配的运算符。

pattern (String!)

要匹配的模式。

Team

A team of users in an organization.

Team Implements

Fields for Team

名称描述

ancestors (TeamConnection!)

A list of teams that are ancestors of this team.

Arguments for ancestors

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

avatarUrl (URI)

A URL pointing to the team's avatar.

avatarUrl 的参数

  • size (Int)

    生成的正方形图像的大小(以像素为单位)。

    默认值为 400

childTeams (TeamConnection!)

List of child teams belonging to this team.

Arguments for childTeams

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • immediateOnly (Boolean)

    Whether to list immediate child teams or all descendant child teams.

    默认值为 true

  • last (Int)

    返回列表中的后 *n* 个元素。

  • userLogins ([String!])

    用于筛选的用户登录名。

combinedSlug (String!)

The slug corresponding to the organization and team.

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (Int)

标识数据库中的主键。

description (String)

The description of the team.

editTeamResourcePath (URI!)

The HTTP path for editing this team.

editTeamUrl (URI!)

The HTTP URL for editing this team.

id (ID!)

The Node ID of the Team object.

invitations (OrganizationInvitationConnection)

A list of pending invitations for users to this team.

Arguments for invitations

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

memberStatuses (UserStatusConnection!)

获取此实体成员设置的状态消息,这些消息要么是公共的,要么仅对组织可见。

memberStatuses 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

members (TeamMemberConnection!)

A list of users who are members of this team.

Arguments for members

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • query (String)

    The search string to look for.

membersResourcePath (URI!)

The HTTP path for the team' members.

membersUrl (URI!)

The HTTP URL for the team' members.

name (String!)

团队名称。

newTeamResourcePath (URI!)

创建新团队的 HTTP 路径。

newTeamUrl (URI!)

创建新团队的 HTTP URL。

notificationSetting (TeamNotificationSetting!)

The notification setting that the team has set.

organization (Organization!)

The organization that owns this team.

parentTeam (Team)

The parent team of the team.

privacy (TeamPrivacy!)

The level of privacy the team has.

projectV2 (ProjectV2)

Finds and returns the project according to the provided project number.

Arguments for projectV2

  • number (Int!)

    项目编号。

projectsV2 (ProjectV2Connection!)

List of projects this team has collaborator access to.

Arguments for projectsV2

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • filterBy (ProjectV2Filters)

    Filtering options for projects returned from this connection.

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • query (String)

    The query to search projects by.

    The default value is .

repositories (TeamRepositoryConnection!)

A list of repositories this team has access to.

Arguments for repositories

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • query (String)

    The search string to look for. Repositories will be returned where the name contains your search string.

repositoriesResourcePath (URI!)

The HTTP path for this team's repositories.

repositoriesUrl (URI!)

The HTTP URL for this team's repositories.

resourcePath (URI!)

此团队的 HTTP 路径。

reviewRequestDelegationAlgorithm (TeamReviewAssignmentAlgorithm)

What algorithm is used for review assignment for this team.

reviewRequestDelegationEnabled (Boolean!)

True if review assignment is enabled for this team.

reviewRequestDelegationMemberCount (Int)

How many team members are required for review assignment for this team.

reviewRequestDelegationNotifyTeam (Boolean!)

When assigning team members via delegation, whether the entire team should be notified as well.

slug (String!)

The slug corresponding to the team.

teamsResourcePath (URI!)

The HTTP path for this team's teams.

teamsUrl (URI!)

The HTTP URL for this team's teams.

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

url (URI!)

此团队的 HTTP URL。

viewerCanAdminister (Boolean!)

Team is adminable by the viewer.

viewerCanSubscribe (Boolean!)

Check if the viewer is able to change their subscription status for the subscribable entity.

警告

viewerCanSubscribe is deprecated.

Team.viewerCanSubscribe will be removed. Team notifications subscriptions are being deprecated. Removal on 2026-07-01 UTC.

viewerSubscription (SubscriptionState)

标识查看者是在关注、未关注还是忽略可订阅实体。

警告

viewerSubscription is deprecated.

Team.viewerSubscription will be removed. Team notifications subscriptions are being deprecated. Removal on 2026-07-01 UTC.

TeamAddMemberAuditEntry

Audit log entry for a team.add_member event.

TeamAddMemberAuditEntry Implements

Fields for TeamAddMemberAuditEntry

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

The Node ID of the TeamAddMemberAuditEntry object.

isLdapMapped (Boolean)

Whether the team was mapped to an LDAP Group.

警告

isLdapMapped is deprecated.

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

team (Team)

与操作关联的团队。

teamName (String)

团队名称。

teamResourcePath (URI)

此团队的 HTTP 路径。

teamUrl (URI)

此团队的 HTTP URL。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

TeamAddRepositoryAuditEntry

Audit log entry for a team.add_repository event.

TeamAddRepositoryAuditEntry Implements

Fields for TeamAddRepositoryAuditEntry

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

The Node ID of the TeamAddRepositoryAuditEntry object.

isLdapMapped (Boolean)

Whether the team was mapped to an LDAP Group.

警告

isLdapMapped is deprecated.

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

repository (Repository)

与操作关联的仓库。

repositoryName (String)

仓库名称。

repositoryResourcePath (URI)

仓库的 HTTP 路径。

repositoryUrl (URI)

仓库的 HTTP URL。

team (Team)

与操作关联的团队。

teamName (String)

团队名称。

teamResourcePath (URI)

此团队的 HTTP 路径。

teamUrl (URI)

此团队的 HTTP URL。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

TeamChangeParentTeamAuditEntry

Audit log entry for a team.change_parent_team event.

TeamChangeParentTeamAuditEntry Implements

Fields for TeamChangeParentTeamAuditEntry

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

The Node ID of the TeamChangeParentTeamAuditEntry object.

isLdapMapped (Boolean)

Whether the team was mapped to an LDAP Group.

警告

isLdapMapped is deprecated.

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

parentTeam (Team)

The new parent team.

警告

parentTeam is deprecated.

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

parentTeamName (String)

The name of the new parent team.

警告

parentTeamName is deprecated.

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

parentTeamNameWas (String)

The name of the former parent team.

警告

parentTeamNameWas is deprecated.

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

parentTeamResourcePath (URI)

The HTTP path for the parent team.

警告

parentTeamResourcePath is deprecated.

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

parentTeamUrl (URI)

The HTTP URL for the parent team.

警告

parentTeamUrl is deprecated.

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

parentTeamWas (Team)

The former parent team.

警告

parentTeamWas is deprecated.

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

parentTeamWasResourcePath (URI)

The HTTP path for the previous parent team.

警告

parentTeamWasResourcePath is deprecated.

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

parentTeamWasUrl (URI)

The HTTP URL for the previous parent team.

警告

parentTeamWasUrl is deprecated.

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

team (Team)

与操作关联的团队。

teamName (String)

团队名称。

teamResourcePath (URI)

此团队的 HTTP 路径。

teamUrl (URI)

此团队的 HTTP URL。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

TeamConnection

The connection type for Team.

Fields for TeamConnection

名称描述

edges ([TeamEdge])

边的列表。

nodes ([Team])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

TeamEdge

连接中的一条边。

Fields for TeamEdge

名称描述

cursor (String!)

用于分页的光标。

node (Team)

边的末端节点。

TeamMemberConnection

The connection type for User.

Fields for TeamMemberConnection

名称描述

edges ([TeamMemberEdge])

边的列表。

nodes ([User])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

TeamMemberEdge

Represents a user who is a member of a team.

Fields for TeamMemberEdge

名称描述

cursor (String!)

用于分页的光标。

memberAccessResourcePath (URI!)

The HTTP path to the organization's member access page.

memberAccessUrl (URI!)

The HTTP URL to the organization's member access page.

node (User!)

N/A

role (TeamMemberRole!)

The role the member has on the team.

TeamRemoveMemberAuditEntry

Audit log entry for a team.remove_member event.

TeamRemoveMemberAuditEntry Implements

Fields for TeamRemoveMemberAuditEntry

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

The Node ID of the TeamRemoveMemberAuditEntry object.

isLdapMapped (Boolean)

Whether the team was mapped to an LDAP Group.

警告

isLdapMapped is deprecated.

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

team (Team)

与操作关联的团队。

teamName (String)

团队名称。

teamResourcePath (URI)

此团队的 HTTP 路径。

teamUrl (URI)

此团队的 HTTP URL。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

TeamRemoveRepositoryAuditEntry

Audit log entry for a team.remove_repository event.

TeamRemoveRepositoryAuditEntry Implements

Fields for TeamRemoveRepositoryAuditEntry

名称描述

action (String!)

操作名称。

警告

action 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actor (AuditEntryActor)

发起操作的用户。

警告

actor 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorIp (String)

操作者的 IP 地址。

警告

actorIp 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLocation (ActorLocation)

操作者位置的可读表示形式。

警告

actorLocation 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorLogin (String)

发起操作的用户的用户名。

警告

actorLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorResourcePath (URI)

操作者的 HTTP 路径。

警告

actorResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

actorUrl (URI)

操作者的 HTTP URL。

警告

actorUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

createdAt (PreciseDateTime!)

操作发起的时间。

警告

createdAt 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

id (ID!)

The Node ID of the TeamRemoveRepositoryAuditEntry object.

isLdapMapped (Boolean)

Whether the team was mapped to an LDAP Group.

警告

isLdapMapped is deprecated.

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

operationType (OperationType)

对应于该操作的操作类型。

警告

operationType 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organization (Organization)

与审核条目关联的组织。

警告

organization 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationName (String)

组织的名称。

警告

organizationName 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationResourcePath (URI)

组织的 HTTP 路径。

警告

organizationResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

organizationUrl (URI)

组织的 HTTP URL。

警告

organizationUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

repository (Repository)

与操作关联的仓库。

repositoryName (String)

仓库名称。

repositoryResourcePath (URI)

仓库的 HTTP 路径。

repositoryUrl (URI)

仓库的 HTTP URL。

team (Team)

与操作关联的团队。

teamName (String)

团队名称。

teamResourcePath (URI)

此团队的 HTTP 路径。

teamUrl (URI)

此团队的 HTTP URL。

user (User)

受操作影响的用户。

警告

user 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userLogin (String)

对于涉及两个用户的操作,操作者是发起者,用户是受影响的用户。

警告

userLogin 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userResourcePath (URI)

用户的 HTTP 路径。

警告

userResourcePath 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

userUrl (URI)

用户的 HTTP URL。

警告

userUrl 已弃用。

GraphQL 审核日志已弃用。请改用 REST API。将于 UTC 时间 2026 年 4 月 1 日移除。

TeamRepositoryConnection

The connection type for Repository.

Fields for TeamRepositoryConnection

名称描述

edges ([TeamRepositoryEdge])

边的列表。

nodes ([Repository])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

TeamRepositoryEdge

Represents a team repository.

Fields for TeamRepositoryEdge

名称描述

cursor (String!)

用于分页的光标。

node (Repository!)

N/A

permission (RepositoryPermission!)

The permission level the team has on the repository.

TextMatch

A text match within a search result.

Fields for TextMatch

名称描述

fragment (String!)

The specific text fragment within the property matched on.

highlights ([TextMatchHighlight!]!)

Highlights within the matched fragment.

property (String!)

The property matched on.

TextMatchHighlight

Represents a single highlight in a search result match.

Fields for TextMatchHighlight

名称描述

beginIndice (Int!)

The indice in the fragment where the matched text begins.

endIndice (Int!)

The indice in the fragment where the matched text ends.

text (String!)

The text matched.

Topic

A topic aggregates entities that are related to a subject.

Topic Implements

Fields for Topic

名称描述

id (ID!)

The Node ID of the Topic object.

name (String!)

The topic's name.

relatedTopics ([Topic!]!)

A list of related topics, including aliases of this topic, sorted with the most relevant first. Returns up to 10 Topics.

Arguments for relatedTopics

  • first (Int)

    How many topics to return.

    The default value is 3.

repositories (RepositoryConnection!)

A list of repositories.

Arguments for repositories

  • affiliations ([RepositoryAffiliation])

    连接返回的仓库的查看者关联选项数组。例如,OWNER 将仅包括当前查看者拥有的仓库。

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • hasIssuesEnabled (Boolean)

    如果不为空,则根据仓库是否启用了议题进行筛选。

  • isLocked (Boolean)

    如果不为空,则根据仓库是否被锁定进行筛选。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (RepositoryOrder)

    Ordering options for repositories returned from the connection.

  • ownerAffiliations ([RepositoryAffiliation])

    连接返回的仓库的所有者关联选项数组。例如,OWNER 将仅包括正在查看的组织或用户拥有的仓库。

  • privacy (RepositoryPrivacy)

    如果不为空,则根据隐私筛选仓库。内部仓库被视为私有;如果只需要内部仓库,请考虑使用 visibility 参数。不能与 visibility 参数结合使用。

  • sponsorableOnly (Boolean)

    If true, only repositories whose owner can be sponsored via GitHub Sponsors will be returned.

    默认值为 false

  • visibility (RepositoryVisibility)

    如果不为空,则根据可见性筛选仓库。不能与 privacy 参数结合使用。

stargazerCount (Int!)

Returns a count of how many stargazers there are on this object.

stargazers (StargazerConnection!)

A list of users who have starred this starrable.

Arguments for stargazers

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

viewerHasStarred (Boolean!)

Returns a boolean indicating whether the viewing user has starred this starrable.

TransferredEvent

Represents atransferredevent on a given issue or pull request.

TransferredEvent Implements

Fields for TransferredEvent

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

fromRepository (Repository)

The repository this came from.

id (ID!)

The Node ID of the TransferredEvent object.

issue (Issue!)

标识与事件关联的议题。

Tree

Represents a Git tree.

Tree Implements

Fields for Tree

名称描述

abbreviatedOid (String!)

Git 对象 ID 的缩写版本。

commitResourcePath (URI!)

此 Git 对象的 HTTP 路径。

commitUrl (URI!)

此 Git 对象的 HTTP URL。

entries ([TreeEntry!])

A list of tree entries.

id (ID!)

The Node ID of the Tree object.

oid (GitObjectID!)

Git 对象 ID。

repository (Repository!)

Git 对象所属的存储库。

TreeEntry

Represents a Git tree entry.

Fields for TreeEntry

名称描述

extension (String)

The extension of the file.

isGenerated (Boolean!)

Whether or not this tree entry is generated.

language (Language)

The programming language this file is written in.

lineCount (Int)

Number of lines in the file.

mode (Int!)

Entry file mode.

name (String!)

Entry file name.

nameRaw (Base64String!)

Entry file name. (Base64-encoded).

object (GitObject)

Entry file object.

oid (GitObjectID!)

Entry file Git object ID.

path (String)

The full path of the file.

pathRaw (Base64String)

The full path of the file. (Base64-encoded).

repository (Repository!)

The Repository the tree entry belongs to.

size (Int!)

Entry byte size.

submodule (Submodule)

If the TreeEntry is for a directory occupied by a submodule project, this returns the corresponding submodule.

type (String!)

Entry file type.

UnassignedEvent

Represents anunassignedevent on any assignable object.

UnassignedEvent Implements

Fields for UnassignedEvent

名称描述

actor (Actor)

标识执行此事件的参与者。

assignable (Assignable!)

标识与事件关联的可分配对象。

assignee (Assignee)

Identifies the user or mannequin that was unassigned.

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

The Node ID of the UnassignedEvent object.

user (User)

Identifies the subject (user) who was unassigned.

警告

user 已弃用。

被分配者现在可以是虚拟用户。请改用 assignee 字段。将于世界协调时间 2020-01-01 移除。

UnknownSignature

Represents an unknown signature on a Commit or Tag.

UnknownSignature Implements

Fields for UnknownSignature

名称描述

email (String!)

Email used to sign this object.

isValid (Boolean!)

True if the signature is valid and verified by GitHub.

payload (String!)

Payload for GPG signing object. Raw ODB object without the signature header.

signature (String!)

ASCII-armored signature header from object.

signer (User)

GitHub user corresponding to the email signing this commit.

state (GitSignatureState!)

The state of this signature. VALID if signature is valid and verified by GitHub, otherwise represents reason why signature is considered invalid.

verifiedAt (DateTime)

The date the signature was verified, if valid.

wasSignedByGitHub (Boolean!)

True if the signature was made with GitHub's signing key.

UnlabeledEvent

Represents anunlabeledevent on a given issue or pull request.

UnlabeledEvent Implements

Fields for UnlabeledEvent

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

The Node ID of the UnlabeledEvent object.

label (Label!)

Identifies the label associated with theunlabeledevent.

labelable (Labelable!)

标识与事件关联的 Labelable

UnlockedEvent

Represents anunlockedevent on a given issue or pull request.

UnlockedEvent Implements

Fields for UnlockedEvent

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

The Node ID of the UnlockedEvent object.

lockable (Lockable!)

Object that was unlocked.

UnmarkedAsDuplicateEvent

Represents anunmarked_as_duplicateevent on a given issue or pull request.

UnmarkedAsDuplicateEvent Implements

Fields for UnmarkedAsDuplicateEvent

名称描述

actor (Actor)

标识执行此事件的参与者。

canonical (IssueOrPullRequest)

被另一个问题或拉取请求复制的权威问题或拉取请求。

createdAt (DateTime!)

标识对象创建的日期和时间。

duplicate (IssueOrPullRequest)

被标记为另一个问题或拉取请求的副本的问题或拉取请求。

id (ID!)

The Node ID of the UnmarkedAsDuplicateEvent object.

isCrossRepository (Boolean!)

权威和副本属于不同的存储库。

UnpinnedEvent

Represents anunpinnedevent on a given issue or pull request.

UnpinnedEvent Implements

Fields for UnpinnedEvent

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

The Node ID of the UnpinnedEvent object.

issue (Issue!)

标识与事件关联的议题。

UnsubscribedEvent

Represents anunsubscribedevent on a given Subscribable.

UnsubscribedEvent Implements

Fields for UnsubscribedEvent

名称描述

actor (Actor)

标识执行此事件的参与者。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

The Node ID of the UnsubscribedEvent object.

subscribable (Subscribable!)

事件引用的对象。

UpdateParameters

仅允许具有绕过权限的用户更新匹配的引用。

Fields for UpdateParameters

名称描述

updateAllowsFetchAndMerge (Boolean!)

Branch can pull changes from its upstream repository.

User

A user is an individual's account on GitHub that owns repositories and can make new content.

User Implements

Fields for User

名称描述

anyPinnableItems (Boolean!)

确定此仓库所有者是否有任何可固定到其个人资料的项目。

anyPinnableItems 的参数

avatarUrl (URI!)

A URL pointing to the user's public avatar.

avatarUrl 的参数

  • size (Int)

    生成正方形图像的大小。

bio (String)

The user's public profile bio.

bioHTML (HTML!)

The user's public profile bio as HTML.

canReceiveOrganizationEmailsWhenNotificationsRestricted (Boolean!)

Could this user receive email notifications, if the organization had notification restrictions enabled?.

Arguments for canReceiveOrganizationEmailsWhenNotificationsRestricted

  • login (String!)

    The login of the organization to check.

commitComments (CommitCommentConnection!)

A list of commit comments made by this user.

commitComments 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

company (String)

The user's public profile company.

companyHTML (HTML!)

The user's public profile company as HTML.

contributionsCollection (ContributionsCollection!)

The collection of contributions this user has made to different repositories.

Arguments for contributionsCollection

  • from (DateTime)

    Only contributions made at this time or later will be counted. If omitted, defaults to a year ago.

  • organizationID (ID)

    The ID of the organization used to filter contributions.

  • to (DateTime)

    Only contributions made before and up to (including) this time will be counted. If omitted, defaults to the current time or one year from the provided from argument.

copilotEndpoints (CopilotEndpoints)

The user's Copilot endpoint information.

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (Int)

标识数据库中的主键。

email (String!)

The user's publicly visible profile email.

enterprises (EnterpriseConnection)

A list of enterprises that the user belongs to.

Arguments for enterprises

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • membershipType (EnterpriseMembershipType)

    Filter enterprises returned based on the user's membership type.

    默认值为 ALL

estimatedNextSponsorsPayoutInCents (Int!)

此用户/组织的下一次 GitHub Sponsors 预计付款金额(以美分计)。

followers (FollowerConnection!)

A list of users the given user is followed by.

Arguments for followers

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

following (FollowingConnection!)

A list of users the given user is following.

Arguments for following

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

gist (Gist)

Find gist by repo name.

Arguments for gist

  • name (String!)

    The gist name to find.

gistComments (GistCommentConnection!)

A list of gist comments made by this user.

Arguments for gistComments

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

gists (GistConnection!)

A list of the Gists the user has created.

Arguments for gists

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (GistOrder)

    Ordering options for gists returned from the connection.

  • privacy (GistPrivacy)

    Filters Gists according to privacy.

hasSponsorsListing (Boolean!)

如果此用户/组织有 GitHub Sponsors 列表,则为 true。

hovercard (Hovercard!)

The hovercard information for this user in a given context.

Arguments for hovercard

  • primarySubjectId (ID)

    The ID of the subject to get the hovercard in the context of.

id (ID!)

The Node ID of the User object.

interactionAbility (RepositoryInteractionAbility)

The interaction ability settings for this user.

isBountyHunter (Boolean!)

Whether or not this user is a participant in the GitHub Security Bug Bounty.

isCampusExpert (Boolean!)

Whether or not this user is a participant in the GitHub Campus Experts Program.

isDeveloperProgramMember (Boolean!)

Whether or not this user is a GitHub Developer Program member.

isEmployee (Boolean!)

Whether or not this user is a GitHub employee.

isFollowingViewer (Boolean!)

Whether or not this user is following the viewer. Inverse of viewerIsFollowing.

isGitHubStar (Boolean!)

此用户是否是 GitHub Stars Program 的成员。

isHireable (Boolean!)

用户是否已将自己标记为可雇佣。

isSiteAdmin (Boolean!)

此用户是否为站点管理员。

isSponsoredBy (Boolean!)

给定帐户是否正在赞助此用户/组织。

isSponsoredBy 的参数

  • accountLogin (String!)

    目标帐户的登录名。

isSponsoringViewer (Boolean!)

如果查看者被此用户/组织赞助,则为 true。

isViewer (Boolean!)

此用户是否是查看用户。

issueComments (IssueCommentConnection!)

此用户发表的 Issue 评论列表。

issueComments 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (IssueCommentOrder)

    Ordering options for issue comments returned from the connection.

issues (IssueConnection!)

与此用户关联的 Issue 列表。

issues 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • filterBy (IssueFilters)

    从连接返回的问题的过滤选项。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • labels ([String!])

    用于筛选拉取请求的标签名称列表。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (IssueOrder)

    从连接返回的问题的排序选项。

itemShowcase (ProfileItemShowcase!)

展示个人资料所有者精选或根据受欢迎程度自动选择的仓库和 Gist。

lifetimeReceivedSponsorshipValues (SponsorAndLifetimeValueConnection!)

计算每个赞助者通过 GitHub Sponsors 向此维护者支付的总金额。不包括通过 Patreon 支付的赞助。

lifetimeReceivedSponsorshipValues 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

lists (UserListConnection!)

用户精选的仓库列表。

lists 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

location (String)

用户的公开资料位置。

login (String!)

用于登录的用户名。

monthlyEstimatedSponsorsIncomeInCents (Int!)

此用户/组织的每月 GitHub Sponsors 预计收入(以美分计)。

name (String)

用户的公开资料名称。

organization (Organization)

根据用户所属组织的登录名查找该组织。

organization 的参数

  • login (String!)

    要查找的组织的登录名。

organizationVerifiedDomainEmails ([String!]!)

与用户所属的特定组织的已验证域匹配的已验证电子邮件地址。

organizationVerifiedDomainEmails 的参数

  • login (String!)

    要匹配已验证域的组织的登录名。

organizations (OrganizationConnection!)

用户所属的组织列表。

Arguments for organizations

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

packages (PackageConnection!)

所有者下的包列表。

packages 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • packageType (PackageType)

    按类型筛选注册表包。

  • repositoryId (ID)

    按 ID 查找仓库中的包。

pinnableItems (PinnableItemConnection!)

此个人资料所有者可以固定到其个人资料的仓库和 Gist 列表。

pinnableItems 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

pinnedItems (PinnableItemConnection!)

此个人资料所有者已固定到其个人资料的仓库和 Gist 列表。

pinnedItems 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

pinnedItemsRemaining (Int!)

返回此个人资料所有者还可以固定到其个人资料的项目数量。

project (Project)

按编号查找项目。

警告

project 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

project 的参数

  • number (Int!)

    要查找的项目编号。

projectV2 (ProjectV2)

Find a project by number.

Arguments for projectV2

  • number (Int!)

    The project number.

projects (ProjectConnection!)

A list of projects under the owner.

警告

projects 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

projects 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (ProjectOrder)

    连接返回的项目的排序选项。

  • search (String)

    用于搜索项目的查询,目前仅按名称搜索。

projectsResourcePath (URI!)

列出用户项目的 HTTP 路径。

projectsUrl (URI!)

列出用户项目的 HTTP URL。

projectsV2 (ProjectV2Connection!)

A list of projects under the owner.

Arguments for projectsV2

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • query (String)

    A project to search for under the owner.

pronouns (String)

用户的个人资料代词。

publicKeys (PublicKeyConnection!)

与此用户关联的公钥列表。

publicKeys 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

pullRequests (PullRequestConnection!)

与此用户关联的拉取请求列表。

pullRequests 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • baseRefName (String)

    用于筛选拉取请求的基础 ref 名称。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • headRefName (String)

    用于筛选拉取请求的头部 ref 名称。

  • labels ([String!])

    用于筛选拉取请求的标签名称列表。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (IssueOrder)

    连接返回的拉取请求的排序选项。

recentProjects (ProjectV2Connection!)

此用户在此所有者上下文中最近修改的项目。

recentProjects 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

repositories (RepositoryConnection!)

用户拥有的仓库列表。

Arguments for repositories

  • affiliations ([RepositoryAffiliation])

    连接返回的仓库的查看者关联选项数组。例如,OWNER 将仅包括当前查看者拥有的仓库。

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • hasIssuesEnabled (Boolean)

    如果不为空,则根据仓库是否启用了议题进行筛选。

  • isArchived (Boolean)

    如果不为空,则根据仓库是否已存档且未维护进行筛选。

  • isFork (Boolean)

    如果不为空,则根据仓库是否是另一个仓库的派生进行筛选。

  • isLocked (Boolean)

    如果不为空,则根据仓库是否被锁定进行筛选。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (RepositoryOrder)

    Ordering options for repositories returned from the connection.

  • ownerAffiliations ([RepositoryAffiliation])

    连接返回的仓库的所有者关联选项数组。例如,OWNER 将仅包括正在查看的组织或用户拥有的仓库。

  • privacy (RepositoryPrivacy)

    如果不为空,则根据隐私筛选仓库。内部仓库被视为私有;如果只需要内部仓库,请考虑使用 visibility 参数。不能与 visibility 参数结合使用。

  • visibility (RepositoryVisibility)

    如果不为空,则根据可见性筛选仓库。不能与 privacy 参数结合使用。

repositoriesContributedTo (RepositoryConnection!)

用户最近贡献过的仓库列表。

repositoriesContributedTo 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • contributionTypes ([RepositoryContributionType])

    如果非 null,则仅包含指定的贡献类型。GitHub.com UI 使用 [COMMIT, ISSUE, PULL_REQUEST, REPOSITORY]。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • hasIssues (Boolean)

    如果不为空,则根据仓库是否启用了议题进行筛选。

  • includeUserRepositories (Boolean)

    如果为 true,则包含用户仓库。

  • isLocked (Boolean)

    如果不为空,则根据仓库是否被锁定进行筛选。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (RepositoryOrder)

    Ordering options for repositories returned from the connection.

repository (Repository)

查找仓库。

repository 的参数

  • followRenames (Boolean)

    跟随仓库重命名。如果禁用,则使用旧名称引用的仓库将返回错误。

    默认值为 true

  • name (String!)

    要查找的仓库名称。

repositoryDiscussionComments (DiscussionCommentConnection!)

此用户撰写的讨论评论。

repositoryDiscussionComments 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • onlyAnswers (Boolean)

    筛选讨论评论,仅包括被标记为答案的评论。

    默认值为 false

  • repositoryId (ID)

    筛选讨论评论,仅包括特定仓库中的评论。

repositoryDiscussions (DiscussionConnection!)

此用户发起的讨论。

repositoryDiscussions 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • answered (Boolean)

    筛选讨论,仅包括已回答或未回答的讨论。默认为同时包括已回答和未回答的讨论。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • repositoryId (ID)

    筛选讨论,仅包括特定仓库中的讨论。

resourcePath (URI!)

The HTTP path for this user.

savedReplies (SavedReplyConnection)

此用户已保存的回复。

savedReplies 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

socialAccounts (SocialAccountConnection!)

用户的社交媒体账户,按照在用户资料中显示的顺序排列。

socialAccounts 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

sponsoring (SponsorConnection!)

此实体正在赞助的用户和组织列表。

sponsoring 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (SponsorOrder)

    连接返回的用户和组织的排序选项。

sponsors (SponsorConnection!)

此用户或组织的赞助者列表。

sponsors 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (SponsorOrder)

    连接返回的赞助者的排序选项。

  • tierId (ID)

    如果给定,将按给定层级筛选赞助者。只会返回查看者允许看到的层级的赞助者。

sponsorsActivities (SponsorsActivityConnection!)

涉及此赞助able的事件,例如新的赞助。

sponsorsActivities 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • includeAsSponsor (Boolean)

    是否包含此 sponsorable 作为赞助者的事件。默认为仅包含此 sponsorable 作为赞助接受者的事件。

    默认值为 false

  • includePrivate (Boolean)

    是否在结果集中包含私人活动。默认为同时包含公共和私人活动。

    默认值为 true

  • last (Int)

    返回列表中的后 *n* 个元素。

  • period (SponsorsActivityPeriod)

    筛选活动,仅包括在最近指定时间段内发生的活动。设置为 ALL 可避免按活动发生时间进行筛选。如果给定了 sinceuntil,则忽略此参数。

    默认值为 MONTH

  • since (DateTime)

    筛选活动,仅包括在此时间或之后发生的活动。

  • until (DateTime)

    筛选活动,仅包括在此时间之前发生的活动。

sponsorsListing (SponsorsListing)

此用户或组织的 GitHub Sponsors 列表。

sponsorshipForViewerAsSponsor (Sponsorship)

查看者对此用户/组织的赞助;即您作为赞助者的赞助。

sponsorshipForViewerAsSponsor 的参数

  • activeOnly (Boolean)

    是否仅在赞助仍然有效时返回赞助。传入 false 以便即使赞助已被取消也返回查看者的赞助。

    默认值为 true

sponsorshipForViewerAsSponsorable (Sponsorship)

此用户/组织对查看者的赞助;即您正在接受的赞助。

sponsorshipForViewerAsSponsorable 的参数

  • activeOnly (Boolean)

    是否仅在赞助仍然有效时返回赞助。传入 false 以便即使赞助已被取消也返回赞助。

    默认值为 true

sponsorshipNewsletters (SponsorshipNewsletterConnection!)

此 sponsorable 发送给赞助者的赞助更新列表。

sponsorshipNewsletters 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

sponsorshipsAsMaintainer (SponsorshipConnection!)

此用户或组织作为接收资金的维护者的赞助。

sponsorshipsAsMaintainer 的参数

  • activeOnly (Boolean)

    是否仅包括当前活动的赞助,还是包括此维护者收到的所有赞助。

    默认值为 true

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • includePrivate (Boolean)

    是否在结果集中包含私人赞助。

    默认值为 false

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (SponsorshipOrder)

    连接返回的赞助的排序选项。如果留空,赞助将根据与查看者的相关性进行排序。

sponsorshipsAsSponsor (SponsorshipConnection!)

此用户或组织作为资助者的赞助。

sponsorshipsAsSponsor 的参数

  • activeOnly (Boolean)

    是否仅包括当前活动的赞助,还是包括此赞助者进行过的所有赞助。

    默认值为 true

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • maintainerLogins ([String!])

    筛选返回的赞助,仅包括针对具有指定登录名的用户或组织的赞助。即赞助的接收者是具有给定登录名之一的用户或组织。

  • orderBy (SponsorshipOrder)

    连接返回的赞助的排序选项。如果留空,赞助将根据与查看者的相关性进行排序。

starredRepositories (StarredRepositoryConnection!)

用户已加星标的仓库。

starredRepositories 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • ownedByViewer (Boolean)

    过滤已加星标的仓库,仅返回由查看者拥有的仓库。

status (UserStatus)

用户对其当前正在做的事情的描述。

suggestedListNames ([UserListSuggestion!]!)

建议的用户列表名称。

topRepositories (RepositoryConnection!)

用户贡献过的仓库(按贡献排名排序)以及用户创建的仓库。

topRepositories 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (RepositoryOrder!)

    Ordering options for repositories returned from the connection.

  • since (DateTime)

    要获取贡献仓库的时间回溯长度。

totalSponsorshipAmountAsSponsorInCents (Int)

此实体在 GitHub 上用于资助赞助的总金额(以美分计,例如 500 = 5.00 美元)。仅当由用户自己或可以管理所请求组织的赞助的用户查看时才返回值。

totalSponsorshipAmountAsSponsorInCents 的参数

  • since (DateTime)

    筛选在此时间或之后发生的付款。

  • sponsorableLogins ([String!])

    筛选付款,仅包括支付给具有指定用户名的用户或组织的付款。

  • until (DateTime)

    筛选在此时间之前发生的付款。

twitterUsername (String)

用户的 Twitter 用户名。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

url (URI!)

The HTTP URL for this user.

userViewType (UserViewType!)

请求返回的是用户的公开可见信息还是私有可见信息。

viewerCanChangePinnedItems (Boolean!)

查看者是否可以将仓库和 Gist 固定到个人资料?

viewerCanCreateProjects (Boolean!)

当前查看者是否可以在此所有者上创建新项目。

警告

viewerCanCreateProjects 已弃用。

项目 (经典) 正被弃用,转而使用新的项目体验,请参阅:https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/。将于 2025-04-01 UTC 移除。

viewerCanFollow (Boolean!)

查看者是否能够关注此用户。

viewerCanSponsor (Boolean!)

查看者是否能够赞助此用户/组织。

viewerCopilotAgentCreatesChannel (String)

用于订阅会话创建实时更新的通道值。

viewerCopilotAgentLogUpdatesChannel (String)

用于订阅会话日志更新实时更新的通道值。

viewerCopilotAgentTaskUpdatesChannel (String)

用于订阅任务更新实时更新的通道值。

viewerCopilotAgentUpdatesChannel (String)

用于订阅会话更新实时更新的通道值。

viewerIsFollowing (Boolean!)

此用户是否被查看者关注。与 isFollowingViewer 相反。

viewerIsSponsoring (Boolean!)

如果查看者正在赞助此用户/组织,则为 true。

watching (RepositoryConnection!)

给定用户正在关注的仓库列表。

watching 的参数

  • affiliations ([RepositoryAffiliation])

    从连接返回的仓库的隶属关系选项。如果未指定,结果将包括当前查看者是所有者、协作者或成员的仓库。

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • hasIssuesEnabled (Boolean)

    如果不为空,则根据仓库是否启用了议题进行筛选。

  • isLocked (Boolean)

    如果不为空,则根据仓库是否被锁定进行筛选。

  • last (Int)

    返回列表中的后 *n* 个元素。

  • orderBy (RepositoryOrder)

    Ordering options for repositories returned from the connection.

  • ownerAffiliations ([RepositoryAffiliation])

    连接返回的仓库的所有者关联选项数组。例如,OWNER 将仅包括正在查看的组织或用户拥有的仓库。

  • privacy (RepositoryPrivacy)

    如果不为空,则根据隐私筛选仓库。内部仓库被视为私有;如果只需要内部仓库,请考虑使用 visibility 参数。不能与 visibility 参数结合使用。

  • visibility (RepositoryVisibility)

    如果不为空,则根据可见性筛选仓库。不能与 privacy 参数结合使用。

websiteUrl (URI)

指向用户公共网站/博客的 URL。

UserBlockedEvent

表示给定用户上的user_blocked事件。

UserBlockedEvent 实现

UserBlockedEvent 的字段

名称描述

actor (Actor)

标识执行此事件的参与者。

blockDuration (UserBlockDuration!)

用户被阻止的天数。

createdAt (DateTime!)

标识对象创建的日期和时间。

id (ID!)

UserBlockedEvent 对象的节点 ID。

subject (User)

被阻止的用户。

UserConnection

用户列表。

UserConnection 的字段

名称描述

edges ([UserEdge])

边的列表。

nodes ([User])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

UserContentEdit

对用户内容的编辑。

UserContentEdit 实现

UserContentEdit 的字段

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

deletedAt (DateTime)

标识对象被删除的日期和时间。

deletedBy (Actor)

删除此内容的执行者。

diff (String)

此编辑的更改摘要。

editedAt (DateTime!)

此内容被编辑的时间。

editor (Actor)

编辑此内容的执行者。

id (ID!)

UserContentEdit 对象的节点 ID。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

UserContentEditConnection

内容编辑列表。

UserContentEditConnection 的字段

名称描述

edges ([UserContentEditEdge])

边的列表。

nodes ([UserContentEdit])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

UserContentEditEdge

连接中的一条边。

UserContentEditEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (UserContentEdit)

边的末端节点。

UserEdge

表示一个用户。

UserEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (User)

边的末端节点。

UserEmailMetadata

来自外部身份的电子邮件属性。

UserEmailMetadata 的字段

名称描述

primary (Boolean)

标识主电子邮件的布尔值。

type (String)

电子邮件类型。

value (String!)

电子邮件 ID。

UserList

用户精选的仓库列表。

UserList 实现

UserList 的字段

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

description (String)

此列表的描述。

id (ID!)

UserList 对象的节点 ID。

isPrivate (Boolean!)

此列表是否为私有。

items (UserListItemsConnection!)

与此列表关联的项目。

items 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

lastAddedAt (DateTime!)

创建此列表或最后向其添加项目的日期和时间。

name (String!)

此列表的名称。

slug (String!)

此列表的 slug。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

user (User!)

此列表所属的用户。

UserListConnection

UserList 的连接类型。

UserListConnection 的字段

名称描述

edges ([UserListEdge])

边的列表。

nodes ([UserList])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

UserListEdge

连接中的一条边。

UserListEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (UserList)

边的末端节点。

UserListItemsConnection

UserListItems 的连接类型。

UserListItemsConnection 的字段

名称描述

edges ([UserListItemsEdge])

边的列表。

nodes ([UserListItems])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

UserListItemsEdge

连接中的一条边。

UserListItemsEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (UserListItems)

边的末端节点。

UserListSuggestion

表示建议的用户列表。

UserListSuggestion 的字段

名称描述

id (ID)

建议的用户列表的 ID。

name (String)

建议的用户列表的名称。

UserNamespaceRepository

由企业托管用户拥有的仓库。

UserNamespaceRepository 实现

UserNamespaceRepository 的字段

名称描述

id (ID!)

UserNamespaceRepository 对象的节点 ID。

name (String!)

仓库名称。

nameWithOwner (String!)

The repository's name with owner.

owner (RepositoryOwner!)

仓库的用户所有者。

UserNamespaceRepositoryConnection

企业中由具有企业托管用户的用户拥有的仓库列表。

UserNamespaceRepositoryConnection 的字段

名称描述

edges ([UserNamespaceRepositoryEdge])

边的列表。

nodes ([UserNamespaceRepository])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

UserNamespaceRepositoryEdge

连接中的一条边。

UserNamespaceRepositoryEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (UserNamespaceRepository)

边的末端节点。

UserStatus

用户对其当前正在做的事情的描述。

UserStatus 实现

UserStatus 的字段

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

emoji (String)

总结用户状态的表情符号。

emojiHTML (HTML)

作为 HTML 的状态表情符号。

expiresAt (DateTime)

如果设置,状态将在此日期之后不再显示。

id (ID!)

UserStatus 对象的节点 ID。

indicatesLimitedAvailability (Boolean!)

此状态是否表明用户在 GitHub 上不完全可用。

message (String)

描述用户正在做什么的简短消息。

organization (Organization)

其成员可以看到此状态的组织。如果为 null,则此状态公开可见。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

user (User!)

拥有此状态的用户。

UserStatusConnection

UserStatus 的连接类型。

UserStatusConnection 的字段

名称描述

edges ([UserStatusEdge])

边的列表。

nodes ([UserStatus])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

UserStatusEdge

连接中的一条边。

UserStatusEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (UserStatus)

边的末端节点。

VerifiableDomain

可以为组织或企业验证或批准的域。

VerifiableDomain 实现

VerifiableDomain 的字段

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (Int)

标识数据库中的主键。

dnsHostName (URI)

应用于验证的 DNS 主机名。

domain (URI!)

Unicode 编码的域。

hasFoundHostName (Boolean!)

是否找到具有预期主机名的 TXT 记录进行验证。

hasFoundVerificationToken (Boolean!)

是否找到具有预期验证令牌的 TXT 记录进行验证。

id (ID!)

VerifiableDomain 对象的节点 ID。

isApproved (Boolean!)

域是否已批准。

isRequiredForPolicyEnforcement (Boolean!)

此域是否存在对于组织或企业策略执行是否是必需的。

isVerified (Boolean!)

域是否已验证。

owner (VerifiableDomainOwner!)

域的所有者。

punycodeEncodedDomain (URI!)

Punycode 编码的域。

tokenExpirationTime (DateTime)

当前验证令牌到期的时间。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

verificationToken (String)

域的当前验证令牌。

VerifiableDomainConnection

VerifiableDomain 的连接类型。

VerifiableDomainConnection 的字段

名称描述

edges ([VerifiableDomainEdge])

边的列表。

nodes ([VerifiableDomain])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

VerifiableDomainEdge

连接中的一条边。

VerifiableDomainEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (VerifiableDomain)

边的末端节点。

ViewerHovercardContext

一个悬停卡片上下文,其中包含描述查看者如何关联的消息。

ViewerHovercardContext 实现

ViewerHovercardContext 的字段

名称描述

message (String!)

A string describing this context.

octicon (String!)

An octicon to accompany this context.

viewer (User!)

标识与此上下文相关的用户。

Workflow

工作流包含有关 Actions 工作流文件的元信息。

Workflow 实现

Workflow 的字段

名称描述

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (Int)

标识数据库中的主键。

id (ID!)

Workflow 对象的节点 ID。

name (String!)

工作流的名称。

resourcePath (URI!)

此工作流的 HTTP 路径。

runs (WorkflowRunConnection!)

工作流运行。

runs 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

state (WorkflowState!)

工作流的状态。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

url (URI!)

此工作流的 HTTP URL。

WorkflowFileReference

必须运行此工作流才能使此规则通过。

WorkflowFileReference 的字段

名称描述

path (String!)

工作流文件的路径。

ref (String)

要使用的工作流文件的 ref(分支或标签)。

repositoryId (Int!)

定义工作流的仓库 ID。

sha (String)

要使用的工作流文件的提交 SHA。

WorkflowRun

工作流运行。

WorkflowRun 实现

WorkflowRun 的字段

名称描述

checkSuite (CheckSuite!)

此工作流运行所属的检查套件。

createdAt (DateTime!)

标识对象创建的日期和时间。

databaseId (Int)

标识数据库中的主键。

deploymentReviews (DeploymentReviewConnection!)

部署审核日志。

deploymentReviews 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

event (String!)

触发工作流运行的事件。

file (WorkflowRunFile)

工作流文件。

id (ID!)

WorkflowRun 对象的节点 ID。

pendingDeploymentRequests (DeploymentRequestConnection!)

此工作流运行中所有检查运行的挂起部署请求。

pendingDeploymentRequests 的参数

  • after (String)

    返回列表中位于指定光标之后的元素。

  • before (String)

    返回列表中位于指定光标之前的元素。

  • first (Int)

    返回列表中的前 *n* 个元素。

  • last (Int)

    返回列表中的后 *n* 个元素。

resourcePath (URI!)

此工作流运行的 HTTP 路径。

runNumber (Int!)

唯一标识此工作流运行在其父工作流中的编号。

updatedAt (DateTime!)

标识上次更新对象时的日期和时间。

url (URI!)

此工作流运行的 HTTP URL。

workflow (Workflow!)

在此工作流运行中执行的工作流。

WorkflowRunConnection

WorkflowRun 的连接类型。

WorkflowRunConnection 的字段

名称描述

edges ([WorkflowRunEdge])

边的列表。

nodes ([WorkflowRun])

节点的列表。

pageInfo (PageInfo!)

用于分页的信息。

totalCount (Int!)

标识连接中的项目总数。

WorkflowRunEdge

连接中的一条边。

WorkflowRunEdge 的字段

名称描述

cursor (String!)

用于分页的光标。

node (WorkflowRun)

边的末端节点。

WorkflowRunFile

工作流运行的已执行工作流文件。

WorkflowRunFile 实现

WorkflowRunFile 的字段

名称描述

id (ID!)

WorkflowRunFile 对象的节点 ID。

path (String!)

工作流文件相对于其仓库的路径。

repositoryFileUrl (URI!)

存储工作流文件的仓库中文件的直接链接。

repositoryName (URI!)

存储工作流文件的仓库名称和所有者。

resourcePath (URI!)

此工作流运行文件的 HTTP 路径。

run (WorkflowRun!)

此文件的父工作流运行执行。

url (URI!)

此工作流运行文件的 HTTP URL。

viewerCanPushRepository (Boolean!)

如果查看者有权推送到存储工作流的仓库。

viewerCanReadRepository (Boolean!)

如果查看者有权读取存储工作流的仓库。

WorkflowsParameters

要求对目标分支所做的所有更改在合并前必须通过指定的工作流。

WorkflowsParameters 的字段

名称描述

doNotEnforceOnCreate (Boolean!)

如果状态检查原本会禁止创建存储库和分支,则允许创建它们。

workflows ([WorkflowFileReference!]!)

规则通过前必须通过的工作流。