issue
List all comments and events on an issue
Changed onget/repos/{owner}/{repo}/issues/{index}/timeline
Request
- Base URLhttps://demo.gitea.com/api/v1
- Auth
- HTTP basic
- or API key in query parameter token
- or API key in query parameter access_token
- or API key in header Authorization
- or API key in query parameter sudo
- or API key in header Sudo
- or API key in header X-GITEA-OTP
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ownerstring required
owner of the repo
repostring required
name of the repo
indexinteger required
index of the issue
Query parameters
sincestring date-time
if provided, only comments updated since the specified time are returned.
pageinteger
page number of results to return (1-based)
limitinteger
page size of results
beforestring date-time
if provided, only comments updated before the provided time are returned.
Response
TimelineList
Example response
[
{
"assignee_team": {
"units": [
"repo.code",
"repo.issues",
"repo.ext_issues",
"repo.wiki",
"repo.pulls",
"repo.releases",
"repo.projects",
"repo.ext_wiki"
],
"units_map": {
"repo.code": "read",
"repo.ext_issues": "none",
"repo.ext_wiki": "none",
"repo.issues": "write",
"repo.projects": "none",
"repo.pulls": "owner",
"repo.releases": "none",
"repo.wiki": "admin"
}
},
"dependent_issue": {
"labels": [
{
"color": "00aabb"
}
]
},
"label": {
"color": "00aabb"
},
"ref_issue": {
"labels": [
{
"color": "00aabb"
}
]
},
"tracked_time": {
"issue": {
"labels": [
{
"color": "00aabb"
}
]
}
}
}
]Changes
- info
removed the non-success response with the status
- info