GET/repos/{owner}/{repo}/issues/{issue_number}/timeline

List timeline events for an issue

Lists timeline events recorded for a repository issue. Use exclude to omit selected event types, and page and per_page to paginate the results.

6 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.
issue_numberintegerrequired
The number that identifies the issue.
per_pageintegeroptional
The number of results per page, up to 100. Defaults to 30 when omitted.
Default:30
pageintegeroptional
The page number of results to fetch. Defaults to 1 when omitted.
Default:1
excludestringoptional
A comma-separated list of timeline event names to exclude from the response.

4 status codes
200Returns an array of timeline events for the issue.
idintegerrequired
node_idstringrequired
urlstringrequired
actorobjectrequired
A GitHub user.
eventstringrequired
commit_idstringrequired
commit_urlstringrequired
created_atstringrequired
performed_via_github_appobjectrequired
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.
labelobjectrequired
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.
400Returned when a request parameter is invalid.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
404Returned when the requested resource cannot be found.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
410Returned when the requested resource is gone.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional

Error handling

A 400 is returned when a request parameter is invalid. A 404 is returned when the repository or issue cannot be found, and a 410 is returned when the requested resource is gone. The owner path parameter and repo path parameter must identify the repository, and the issue_number path parameter must identify the issue; per_page accepts at most 100.