Sample - GitHub REST API
GET/repos/{owner}/{repo}/issues/events

List issue events for a repository

Lists issue events for a repository. Use page and per_page to paginate the results. per_page defaults to 30 and page defaults to 1 when omitted.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

4 parameters
ownerstringrequired
The account owner of the repository; the name is not case sensitive.
repostringrequired
The repository name without the `.git` extension; the name is not case sensitive.
per_pageintegeroptional
The number of issue events to return per page, up to 100. Defaults to 30 when omitted.
Default:30
pageintegeroptional
The page number of results to retrieve. Defaults to 1 when omitted.
Default:1

2 status codes
200Returns an array of issue event objects, including event identifiers, actors, event types, timestamps, related commits, issues, and associated users or teams.
idintegerrequired
node_idstringrequired
urlstringrequired
actorobjectrequired
A GitHub user.
eventstringrequired
commit_idstringrequired
commit_urlstringrequired
created_atstringrequired
issueobjectoptional
Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.
labelobjectoptional
Issue Event Label
assigneeobjectoptional
A GitHub user.
assignerobjectoptional
A GitHub user.
review_requesterobjectoptional
A GitHub user.
requested_reviewerobjectoptional
A GitHub user.
requested_teamobjectoptional
Groups of organization members that gives permissions on specified repositories.
dismissed_reviewobjectoptional
milestoneobjectoptional
Issue Event Milestone
project_cardobjectoptional
Issue Event Project Card
renameobjectoptional
Issue Event Rename
issue_typeobjectoptional
The type of issue.
prev_issue_typeobjectoptional
The type of issue.
sub_issueobjectoptional
A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency events).
parent_issueobjectoptional
A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency events).
blocked_byobjectoptional
A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency events).
blockingobjectoptional
A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency events).
intentobjectoptional
The intent behind an agent's action on an issue, including the rationale and confidence. Present (and `null` when the event carried no agent intent) on supported event types while the issue suggestions feature is enabled for the repository; the property is omitted entirely when the feature is disabled or the event type does not support intent.
author_associationstringoptional
How the author is associated with the repository.
Allowed:COLLABORATORCONTRIBUTORFIRST_TIMERFIRST_TIME_CONTRIBUTORMANNEQUINMEMBERNONEOWNER
lock_reasonstringoptional
performed_via_github_appobjectoptional
GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.
422Returned when validation fails or the endpoint has been spammed.
messagestringrequired
documentation_urlstringrequired
errorsarray<object>optional

Error handling

A 422 is returned when pagination values fail validation or the endpoint has been spammed. per_page accepts a maximum of 100 results, and page defaults to 1 when omitted.