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 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.
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
The issue or pull request was added to a project board. You only see this event in responses when project boards have been enabled in the repository.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Note: Project card details are now shown in REST API responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the blog post.
To receive the project_card
attribute, project boards must be enabled for a repository, and you must provide a custom media type in the Accept
header:
application/vnd.github.starfox-preview+json
Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact Ihr GitHub Enterprise-Websiteadministrator.
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
project_card | object | The project card object. project_id |
The issue or pull request was assigned to a user.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
assignee | object | The person unassigned from this issue. assigner |
GitHub unsuccessfully attempted to automatically change the base branch of the pull request.
Issue type | Issue events API | Timeline events API |
---|
| X | |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
GitHub successfully attempted to automatically change the base branch of the pull request.
Issue type | Issue events API | Timeline events API |
---|
| X | |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
The base reference branch of the pull request changed.
Issue type | Issue events API | Timeline events API |
---|
| X | |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
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".
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
A comment was added to the issue or pull request.
Issue type | Issue events API | Timeline events API |
---|
| | X |
This events properties do not use the same structure as the issue event object common properties. The following properties are returned for this event.
Name | Typ | Beschreibung |
---|
url | string | The REST API URL to retrieve the issue comment. |
html_url | string | The HTML URL of the issue comment. |
issue_url | string | The HTML URL of the issue. |
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
Benutzer | Objekt | The person who commented on the issue. |
created_at | string | The timestamp indicating when the comment was added. |
updated_at | string | The timestamp indicating when the comment was updated or created, if the comment is never updated. |
author_association | string | The permissions the user has in the issue's repository. For example, the value would be "OWNER" if the owner of repository created a comment. |
Text | string | The comment body text. |
event | string | The event value is "commented" . |
actor | Objekt | The person who generated the event. |
A commit was added to the pull request's HEAD
branch.
Issue type | Issue events API | Timeline events API |
---|
| | X |
This events properties do not use the same structure as the issue event object common properties. The following properties are returned for this event.
Name | Typ | Beschreibung |
---|
sha | string | The SHA of the commit in the pull request. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL to retrieve the commit. |
html_url | string | The HTML URL of the commit. |
Autor | Objekt | The person who authored the commit. |
Beitragender | Objekt | The person who committed the commit on behalf of the author. |
Struktur | Objekt | The Git tree of the commit. |
message | string | Die Commit-Mitteilung. |
parents | array of objects | A list of parent commits. |
verfication | Objekt | The result of verifying the commit's signature. For more information, see "Signature verification object." |
event | string | The event value is "committed" . |
The issue or pull request was linked to another issue or pull request. Weitere Informationen findest Du unter "Pull Request mit einem Issue verknüpfen".
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
The pull request was converted to draft mode.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
The issue was created by converting a note in a project board to an issue. You only see this event in responses when project boards have been enabled in the repository.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Note: Project card details are now shown in REST API responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the blog post.
To receive the project_card
attribute, project boards must be enabled for a repository, and you must provide a custom media type in the Accept
header:
application/vnd.github.starfox-preview+json
Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact Ihr GitHub Enterprise-Websiteadministrator.
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
project_card | object | The project card object. project_id |
The issue or pull request was referenced from another issue or pull request.
Issue type | Issue events API | Timeline events API |
---|
| | X |
This events properties do not use the same structure as the issue event object common properties. The following properties are returned for this event.
Name | Typ | Beschreibung |
---|
actor | Objekt | The person who generated the event. |
created_at | string | The timestamp indicating when the cross-reference was added. |
updated_at | string | The timestamp indicating when the cross-refererence was updated or created, if the cross-reference is never updated. |
source | Objekt | The issue or pull request that added a cross-reference. |
source[type] | string | This 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] | Objekt | The issue object that added the cross-reference. |
event | string | The event value is "cross-referenced" . |
The issue or pull request was removed from a milestone.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
milestone | object | The milestone object. milestone[title] |
The pull request was deployed.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
The pull request deployment environment was changed.
Issue type | Issue events API | Timeline events API |
---|
| X | |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
The issue or pull request was unlinked from another issue or pull request. Weitere Informationen findest Du unter "Pull Request mit einem Issue verknüpfen".
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
The pull request's HEAD
branch was deleted.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
The pull request's HEAD
branch was restored to the last known commit.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
A label was added to the issue or pull request.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
label | object | The label removed from the issue label[name] |
The issue or pull request was locked.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Note: You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in locked
events. This feature is currently available for developers to preview. See the blog post for full details. To access this feature, you must provide a custom media type in the Accept
header:
application/vnd.github.sailor-v-preview+json
Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact Ihr GitHub Enterprise-Websiteadministrator.
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
lock_reason | string | The reason an issue or pull request conversation was locked, if one was provided. |
The actor
was @mentioned
in an issue or pull request body.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
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.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
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.
Issue type | Issue events API | Timeline events API |
---|
| X | |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
The issue or pull request was added to a milestone.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
milestone | object | The milestone object. milestone[title] |
The issue or pull request was moved between columns in a project board. You only see this event in responses when project boards have been enabled in the repository.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Note: Project card details are now shown in REST API responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the blog post.
To receive the project_card
attribute, project boards must be enabled for a repository, and you must provide a custom media type in the Accept
header:
application/vnd.github.starfox-preview+json
Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact Ihr GitHub Enterprise-Websiteadministrator.
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
project_card | object | The project card object. project_id |
previous_column_name | string | The name of the column the issue was moved from. |
The issue was pinned.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
A pull request was created that is not in draft mode.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
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.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
The issue or pull request was removed from a project board. You only see this event in responses when project boards have been enabled in the repository.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Note: Project card details are now shown in REST API responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the blog post.
To receive the project_card
attribute, project boards must be enabled for a repository, and you must provide a custom media type in the Accept
header:
application/vnd.github.starfox-preview+json
Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact Ihr GitHub Enterprise-Websiteadministrator.
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
project_card | object | The project card object. project_id |
The issue or pull request title was changed.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
rename | object | The name details. rename[from] |
The issue or pull request was reopened.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
The pull request review was dismissed.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
dismissed_review | object | The information for the dismissed review. dismissed_review[state] |
A pull request review was requested.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
requested_reviewer | object | The person requested to review the pull request. review_requester |
A pull request review request was removed.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
requested_reviewer | object | The person requested to review the pull request. review_requester |
The pull request was reviewed.
Issue type | Issue events API | Timeline events API |
---|
| | X |
This events properties do not use the same structure as the issue event object common properties. The following properties are returned for this event.
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
Benutzer | Objekt | The person who commented on the issue. |
Text | string | The review summary text. |
commit_id | string | The SHA of the latest commit in the pull request at the time of the review. |
submitted_at | string | The timestamp indicating when the review was submitted. |
state | string | The state of the submitted review. Can be one of: commented , changes_requested , or approved . |
html_url | string | The HTML URL of the review. |
pull_request_url | string | The REST API URL to retrieve the pull request. |
author_association | string | The permissions the user has in the issue's repository. For example, the value would be "OWNER" if the owner of repository created a comment. |
_links | Objekt | The html_url and pull_request_url . |
event | string | The event value is "reviewed" . |
Someone subscribed to receive notifications for an issue or pull request.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
The issue was transferred to another repository.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
A user was unassigned from the issue.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
assignee | object | The person unassigned from this issue. assigner |
A label was removed from the issue.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
label | object | The label removed from the issue label[name] |
The issue was unlocked.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Note: You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in locked
events. This feature is currently available for developers to preview. See the blog post for full details. To access this feature, you must provide a custom media type in the Accept
header:
application/vnd.github.sailor-v-preview+json
Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact Ihr GitHub Enterprise-Websiteadministrator.
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
lock_reason | string | The reason an issue or pull request conversation was locked, if one was provided. |
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.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
The issue was unpinned.
Issue type | Issue events API | Timeline events API |
---|
| X | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |
Someone unsubscribed from receiving notifications for an issue or pull request.
Issue type | Issue events API | Timeline events API |
---|
| | X |
Name | Typ | Beschreibung |
---|
id | integer | The unique identifier of the event. |
node_id | string | The Global Node ID of the event. |
url | string | The REST API URL for fetching the event. |
actor | Objekt | The person who generated the event. |
event | string | Identifies the actual type of event that occurred. |
commit_id | string | The SHA of the commit that referenced this issue. |
commit_url | string | The GitHub REST API link to the commit that referenced this issue. |
created_at | string | The timestamp indicating when the event occurred. |