Create a milestone
Path Parameters
Body
application/json
Body
The title of the milestone.
The state of the milestone. Either open
or closed
.
Allowed values:openclosed
Default:open
A description of the milestone.
The milestone due date. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
Response
application/json
Response
Response
Milestone
A collection of related issues and pull requests.
Example:https://api.github.com/repos/octocat/Hello-World/milestones/1
Example:https://github.com/octocat/Hello-World/milestones/v1.0
Example:https://api.github.com/repos/octocat/Hello-World/milestones/1/labels
Example:1002604
Example:MDk6TWlsZXN0b25lMTAwMjYwNA==
The number of the milestone.
Example:42
The state of the milestone.
Allowed values:openclosed
Default:open
Example:open
The title of the milestone.
Example:v1.0
Example:Tracking milestone for version 1.0
Simple User
Show Child Parameters
Example:4
Example:8
Example:2011-04-10T20:09:31Z
Example:2014-03-03T18:58:10Z
Example:2013-02-12T13:22:01Z
Example:2012-10-09T23:39:01Z
Path Parameters
Body
Get a milestone
Path Parameters
milestone_number parameter
Response
application/json
Response
Response
Milestone
A collection of related issues and pull requests.
Example:https://api.github.com/repos/octocat/Hello-World/milestones/1
Example:https://github.com/octocat/Hello-World/milestones/v1.0
Example:https://api.github.com/repos/octocat/Hello-World/milestones/1/labels
Example:1002604
Example:MDk6TWlsZXN0b25lMTAwMjYwNA==
The number of the milestone.
Example:42
The state of the milestone.
Allowed values:openclosed
Default:open
Example:open
The title of the milestone.
Example:v1.0
Example:Tracking milestone for version 1.0
Simple User
Show Child Parameters
Example:4
Example:8
Example:2011-04-10T20:09:31Z
Example:2014-03-03T18:58:10Z
Example:2013-02-12T13:22:01Z
Example:2012-10-09T23:39:01Z
Path Parameters
Update a milestone
Path Parameters
milestone_number parameter
Body
application/json
Body
The title of the milestone.
The state of the milestone. Either open
or closed
.
Allowed values:openclosed
Default:open
A description of the milestone.
The milestone due date. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
Response
200 application/json
Response
Response
Milestone
A collection of related issues and pull requests.
Example:https://api.github.com/repos/octocat/Hello-World/milestones/1
Example:https://github.com/octocat/Hello-World/milestones/v1.0
Example:https://api.github.com/repos/octocat/Hello-World/milestones/1/labels
Example:1002604
Example:MDk6TWlsZXN0b25lMTAwMjYwNA==
The number of the milestone.
Example:42
The state of the milestone.
Allowed values:openclosed
Default:open
Example:open
The title of the milestone.
Example:v1.0
Example:Tracking milestone for version 1.0
Simple User
Show Child Parameters
Example:4
Example:8
Example:2011-04-10T20:09:31Z
Example:2014-03-03T18:58:10Z
Example:2013-02-12T13:22:01Z
Example:2012-10-09T23:39:01Z
Path Parameters
Body
Delete a milestone
Path Parameters
milestone_number parameter
Response
Response
Response
Path Parameters
List labels for issues in a milestone
Query Parameters
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Path Parameters
milestone_number parameter
Response
200 application/json
Response
Response
Color-coded labels help you categorize and filter your issues (just like labels in Gmail).
Example:208045946
Example:MDU6TGFiZWwyMDgwNDU5NDY=
URL for the label
Example:https://api.github.com/repositories/42/labels/bug
The name of the label.
Example:bug
Example:Something isn't working
6-character hex code, without the leading #, identifying the color
Example:FFFFFF
Example:true