Issue events are triggered by activity in issues and pull requests and are available in the Issue Events API and the Timeline Events API . Each event type specifies whether the event is available in the Issue Events or Timeline Events APIs.
GitHub's REST API considers every pull request to be an issue, but not every issue is a pull request. For this reason, the Issue Events and Timeline Events endpoints may return both issues and pull requests in the response. Pull requests have a pull_request property in the issue object. Because pull requests are issues, issue and pull request numbers do not overlap in a repository. For example, if you open your first issue in a repository, the number will be 1. If you then open a pull request, the number will be 2. Each event type specifies if the event occurs in pull request, issues, or both.
Issue event object common properties
Issue events all have the same object structure, except events that are only available in the Timeline Events API. Some events also include additional properties that provide more context about the event resources. Refer to the specific event to for details about any properties that differ from this object format.
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。
added_to_project
The issue or pull request was added to a project board. 仅当在存储库中启用了 项目板时,� 才会在响应中看到此事件。
Availability
Issue type Issue events API Timeline events API X X
Event object properties
注意:项目卡详细信息现在显示在项目相关议题和时间线事件的 REST API 响应中。 此功能现在可供开发者预览。 有关详细信息,请参阅此博客文� 。
若要接收 project_card 属性,则必须为存储库启用 项目板,并且必须在 Accept � �头中提供自定义媒体类型 :
application/vnd.github.starfox-preview+json
警告:在预览期间,API 可能会更改,恕不提前通知。 预览功能不支持用于生产。 如果遇到任何问题,请联系 � 的网站管理员。
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。 project_cardobject项目卡对象。 project_idinteger项目卡的唯一� �识符。 project_urlstring用于检索项目卡的 REST API URL。 column_namestring问题所在列的名称。
assigned
The issue or pull request was assigned to a user.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。 assigneeobject从此问题中取消分配的人员。 assignerobject执行此问题的取消分配的人员。
automatic_base_change_failed
GitHub unsuccessfully attempted to automatically change the base branch of the pull request.
Availability
Issue type Issue events API Timeline events API X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。
automatic_base_change_succeeded
GitHub successfully attempted to automatically change the base branch of the pull request.
Availability
Issue type Issue events API Timeline events API X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。
base_ref_changed
The base reference branch of the pull request changed.
Availability
Issue type Issue events API Timeline events API X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。
closed
The issue or pull request was closed. When the commit_id is present, it identifies the commit that closed the issue using "closes / fixes" syntax. For more information about the syntax, see "Linking a pull request to an issue ".
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。
A comment was added to the issue or pull request.
Availability
Issue type Issue events API Timeline events API X
Event object properties
此事件属性不使用与问题事件对象通用属性 相同的结构。 此事件返回以下属性。
Name Type Description urlstringThe REST API URL to retrieve the issue comment. html_urlstringThe HTML URL of the issue comment. issue_urlstringThe HTML URL of the issue. idintegerThe unique identifier of the event. node_idstringThe Global Node ID of the event. userobjectThe person who commented on the issue. created_atstringThe timestamp indicating when the comment was added. updated_atstringThe timestamp indicating when the comment was updated or created, if the comment is never updated. author_associationstringThe permissions the user has in the issue's repository. For example, the value would be "OWNER" if the owner of repository created a comment. bodystringThe comment body text. eventstringThe event value is "commented". actorobjectThe person who generated the event.
committed
A commit was added to the pull request's HEAD branch.
Availability
Issue type Issue events API Timeline events API X
Event object properties
此事件属性不使用与问题事件对象通用属性 相同的结构。 此事件返回以下属性。
Name Type Description shastringThe SHA of the commit in the pull request. node_idstringThe Global Node ID of the event. urlstringThe REST API URL to retrieve the commit. html_urlstringThe HTML URL of the commit. authorobjectThe person who authored the commit. committerobjectThe person who committed the commit on behalf of the author. treeobjectThe Git tree of the commit. messagestringThe commit message. parentsarray of objectsA list of parent commits. verificationobjectThe result of verifying the commit's signature. For more information, see "Signature verification object ." eventstringThe event value is "committed".
connected
The issue or pull request was linked to another issue or pull request. For more information, see "Linking a pull request to an issue ".
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。
convert_to_draft
The pull request was converted to draft mode.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。
converted_note_to_issue
The issue was created by converting a note in a project board to an issue. 仅当在存储库中启用了 项目板时,� 才会在响应中看到此事件。
Availability
Issue type Issue events API Timeline events API X X
Event object properties
注意:项目卡详细信息现在显示在项目相关议题和时间线事件的 REST API 响应中。 此功能现在可供开发者预览。 有关详细信息,请参阅此博客文� 。
若要接收 project_card 属性,则必须为存储库启用 项目板,并且必须在 Accept � �头中提供自定义媒体类型 :
application/vnd.github.starfox-preview+json
警告:在预览期间,API 可能会更改,恕不提前通知。 预览功能不支持用于生产。 如果遇到任何问题,请联系 � 的网站管理员。
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。 project_cardobject项目卡对象。 project_idinteger项目卡的唯一� �识符。 project_urlstring用于检索项目卡的 REST API URL。 column_namestring问题所在列的名称。
converted_to_discussion
The issue was closed and converted to a discussion.
Availability
Issue type Issue events API Timeline events API X
Event Object Properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。
cross-referenced
The issue or pull request was referenced from another issue or pull request.
Availability
Issue type Issue events API Timeline events API X
Event object properties
此事件属性不使用与问题事件对象通用属性 相同的结构。 此事件返回以下属性。
Name Type Description actorobjectThe person who generated the event. created_atstringThe timestamp indicating when the cross-reference was added. updated_atstringThe timestamp indicating when the cross-reference was updated or created, if the cross-reference is never updated. sourceobjectThe issue or pull request that added a cross-reference. source[type]stringThis value will always be "issue" because pull requests are of type issue. Only cross-reference events triggered by issues or pull requests are returned in the Timeline Events API. To determine if the issue that triggered the event is a pull request, you can check if the source[issue][pull_request] object exists. source[issue]objectThe issue object that added the cross-reference. eventstringThe event value is "cross-referenced".
demilestoned
The issue or pull request was removed from a milestone.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。 milestoneobjectThe milestone object. milestone[title]stringThe title of the milestone.
deployed
The pull request was deployed.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。
deployment_environment_changed
The pull request deployment environment was changed.
Availability
Issue type Issue events API Timeline events API X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。
disconnected
The issue or pull request was unlinked from another issue or pull request. For more information, see "Linking a pull request to an issue ".
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。
head_ref_deleted
The pull request's HEAD branch was deleted.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。
head_ref_restored
The pull request's HEAD branch was restored to the last known commit.
Availability
Issue type Issue events API Timeline events API X X
head_ref_force_pushed
The pull request's HEAD branch was force pushed.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。
labeled
A label was added to the issue or pull request.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。 labelobject从问题 label[name] label[color]string十六进制颜色代� �。
locked
The issue or pull request was locked.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。 lock_reasonstringThe reason an issue or pull request conversation was locked, if one was provided.
mentioned
The actor was @mentioned in an issue or pull request body.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。
marked_as_duplicate
A user with write permissions marked an issue as a duplicate of another issue, or a pull request as a duplicate of another pull request.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。
merged
The pull request was merged. The commit_id attribute is the SHA1 of the HEAD commit that was merged. The commit_repository is always the same as the main repository.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。
milestoned
The issue or pull request was added to a milestone.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。 milestoneobjectThe milestone object. milestone[title]stringThe title of the milestone.
moved_columns_in_project
The issue or pull request was moved between columns in a project board. 仅当在存储库中启用了 项目板时,� 才会在响应中看到此事件。
Availability
Issue type Issue events API Timeline events API X X
Event object properties
注意:项目卡详细信息现在显示在项目相关议题和时间线事件的 REST API 响应中。 此功能现在可供开发者预览。 有关详细信息,请参阅此博客文� 。
若要接收 project_card 属性,则必须为存储库启用 项目板,并且必须在 Accept � �头中提供自定义媒体类型 :
application/vnd.github.starfox-preview+json
警告:在预览期间,API 可能会更改,恕不提前通知。 预览功能不支持用于生产。 如果遇到任何问题,请联系 � 的网站管理员。
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。 project_cardobject项目卡对象。 project_idinteger项目卡的唯一� �识符。 project_urlstring用于检索项目卡的 REST API URL。 column_namestring问题所在列的名称。 previous_column_namestringThe name of the column the issue was moved from.
pinned
The issue was pinned.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。
ready_for_review
A draft pull request was marked as ready for review.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。
referenced
The issue was referenced from a commit message. The commit_id attribute is the commit SHA1 of where that happened and the commit_repository is where that commit was pushed.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。
removed_from_project
The issue or pull request was removed from a project board. 仅当在存储库中启用了 项目板时,� 才会在响应中看到此事件。
Availability
Issue type Issue events API Timeline events API X X
Event object properties
注意:项目卡详细信息现在显示在项目相关议题和时间线事件的 REST API 响应中。 此功能现在可供开发者预览。 有关详细信息,请参阅此博客文� 。
若要接收 project_card 属性,则必须为存储库启用 项目板,并且必须在 Accept � �头中提供自定义媒体类型 :
application/vnd.github.starfox-preview+json
警告:在预览期间,API 可能会更改,恕不提前通知。 预览功能不支持用于生产。 如果遇到任何问题,请联系 � 的网站管理员。
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。 project_cardobject项目卡对象。 project_idinteger项目卡的唯一� �识符。 project_urlstring用于检索项目卡的 REST API URL。 column_namestring问题所在列的名称。
renamed
The issue or pull request title was changed.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。 renameobjectThe name details. rename[from]stringThe previous name. rename[to]stringThe new name.
reopened
The issue or pull request was reopened.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。
review_dismissed
The pull request review was dismissed.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。 dismissed_reviewobject被驳回审查的信息。 dismissed_review[state]string拉取请求被驳回时的状态。 可以是以下选项之一:commented、approved 或 changes_requested。 dismissed_review[review_id]string拉取请求审查的唯一� �识符。 dismissed_review[dismissal_message]string驳回审查时用户包含的消息。 dismissed_review[dismissal_commit_id]string驳回审查的提交的唯一� �识符(如果存在)。
review_requested
A pull request review was requested.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。 requested_reviewerobject被请求审查拉取请求的人员。 review_requesterobject请求审查的人员。
review_request_removed
A pull request review request was removed.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。 requested_reviewerobject被请求审查拉取请求的人员。 review_requesterobject请求审查的人员。
reviewed
The pull request was reviewed.
Availability
Issue type Issue events API Timeline events API X
Event object properties
此事件属性不使用与问题事件对象通用属性 相同的结构。 此事件返回以下属性。
Name Type Description idintegerThe unique identifier of the event. node_idstringThe Global Node ID of the event. userobjectThe person who commented on the issue. bodystringThe review summary text. commit_idstringThe SHA of the latest commit in the pull request at the time of the review. submitted_atstringThe timestamp indicating when the review was submitted. statestringThe state of the submitted review. Can be one of: commented, changes_requested, or approved. html_urlstringThe HTML URL of the review. pull_request_urlstringThe REST API URL to retrieve the pull request. author_associationstringThe permissions the user has in the issue's repository. For example, the value would be "OWNER" if the owner of repository created a comment. _linksobjectThe html_url and pull_request_url. eventstringThe event value is "reviewed".
subscribed
Someone subscribed to receive notifications for an issue or pull request.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。
transferred
The issue was transferred to another repository.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。
unassigned
A user was unassigned from the issue.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。 assigneeobject从此问题中取消分配的人员。 assignerobject执行此问题的取消分配的人员。
unlabeled
A label was removed from the issue.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。 labelobject从问题 label[name] label[color]string十六进制颜色代� �。
unlocked
The issue was unlocked.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。 lock_reasonstringThe reason an issue or pull request conversation was locked, if one was provided.
unmarked_as_duplicate
An issue that a user had previously marked as a duplicate of another issue is no longer considered a duplicate, or a pull request that a user had previously marked as a duplicate of another pull request is no longer considered a duplicate.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。
unpinned
The issue was unpinned.
Availability
Issue type Issue events API Timeline events API X X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。
unsubscribed
Someone unsubscribed from receiving notifications for an issue or pull request.
Availability
Issue type Issue events API Timeline events API X
Event object properties
名称 类型 说明 idinteger事件的唯一� �识符。 node_idstring事件的全局节点 ID 。 urlstring用于提取事件的 REST API URL。 actorobject生成事件的人。 eventstring识别所发生事件的实际类型。 commit_idstring引用此议题的提交的 SHA。 commit_urlstring指向引用此议题的提交的 GitHub REST API 链接。 created_atstring指示事件发生时间的时间戳。