issues
List labels for issues in a milestone
Lists labels for issues in a milestone.
get/repos/{owner}/{repo}/milestones/{milestone_number}/labels
Path parameters
ownerstring required
The account owner of the repository. The name is not case sensitive.
repostring required
The name of the repository without the .git extension. The name is not case sensitive.
milestone_numberinteger required
The number that identifies the milestone.
Query parameters
per_pageinteger
The number of results per page (max 100). For more information, see "Using pagination in the REST API."
pageinteger
The page number of the results to fetch. For more information, see "Using pagination in the REST API."
Response
Response
Example response
[
{
"id": 208045946,
"node_id": "MDU6TGFiZWwyMDgwNDU5NDY=",
"url": "https://api.github.com/repositories/42/labels/bug",
"name": "bug",
"description": "Something isn't working",
"color": "FFFFFF",
"default": true
}
]