Delete a label
Path Parameters
Response
204
Response
Response
Path Parameters
List milestones
Query Parameters
The state of the milestone. Either open
, closed
, or all
.
Allowed values:openclosedall
Default:open
What to sort results by. Either due_on
or completeness
.
Allowed values:due_oncompleteness
Default:due_on
The direction of the sort. Either asc
or desc
.
Allowed values:ascdesc
Default:asc
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Path Parameters
Response
application/json
Response
Response
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
Query Parameters
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