List a repository's issues
GET
/repos/{owner}/{repo}/issues
issue
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v1/repos///issues'
Response Response Example
[
{
"assignee": {
"active": true,
"avatar_url": "string",
"created": "2019-08-24T14:15:22Z",
"description": "string",
"email": "user@example.com",
"followers_count": 0,
"following_count": 0,
"full_name": "string",
"id": 0,
"is_admin": true,
"language": "string",
"last_login": "2019-08-24T14:15:22Z",
"location": "string",
"login": "string",
"prohibit_login": true,
"restricted": true,
"starred_repos_count": 0,
"visibility": "string",
"website": "string"
},
"assignees": [
{
"active": true,
"avatar_url": "string",
"created": "2019-08-24T14:15:22Z",
"description": "string",
"email": "user@example.com",
"followers_count": 0,
"following_count": 0,
"full_name": "string",
"id": 0,
"is_admin": true,
"language": "string",
"last_login": "2019-08-24T14:15:22Z",
"location": "string",
"login": "string",
"prohibit_login": true,
"restricted": true,
"starred_repos_count": 0,
"visibility": "string",
"website": "string"
}
],
"body": "string",
"closed_at": "2019-08-24T14:15:22Z",
"comments": 0,
"created_at": "2019-08-24T14:15:22Z",
"due_date": "2019-08-24T14:15:22Z",
"html_url": "string",
"id": 0,
"is_locked": true,
"labels": [
{
"color": "00aabb",
"description": "string",
"id": 0,
"name": "string",
"url": "string"
}
],
"milestone": {
"closed_at": "2019-08-24T14:15:22Z",
"closed_issues": 0,
"created_at": "2019-08-24T14:15:22Z",
"description": "string",
"due_on": "2019-08-24T14:15:22Z",
"id": 0,
"open_issues": 0,
"state": "string",
"title": "string",
"updated_at": "2019-08-24T14:15:22Z"
},
"number": 0,
"original_author": "string",
"original_author_id": 0,
"pull_request": {
"merged": true,
"merged_at": "2019-08-24T14:15:22Z"
},
"ref": "string",
"repository": {
"full_name": "string",
"id": 0,
"name": "string",
"owner": "string"
},
"state": "string",
"title": "string",
"updated_at": "2019-08-24T14:15:22Z",
"url": "string",
"user": {
"active": true,
"avatar_url": "string",
"created": "2019-08-24T14:15:22Z",
"description": "string",
"email": "user@example.com",
"followers_count": 0,
"following_count": 0,
"full_name": "string",
"id": 0,
"is_admin": true,
"language": "string",
"last_login": "2019-08-24T14:15:22Z",
"location": "string",
"login": "string",
"prohibit_login": true,
"restricted": true,
"starred_repos_count": 0,
"visibility": "string",
"website": "string"
}
}
]
Request
Path Params
owner
stringÂ
required
repo
stringÂ
required
Query Params
state
stringÂ
optional
labels
stringÂ
optional
q
stringÂ
optional
type
stringÂ
optional
milestones
stringÂ
optional
since
stringÂ
optional
before
stringÂ
optional
created_by
stringÂ
optional
assigned_by
stringÂ
optional
mentioned_by
stringÂ
optional
page
integerÂ
optional
limit
integerÂ
optional