milestone_number parameter
Update 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
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
Path Parameters
Query Parameters
List user account issues assigned to the authenticated user
List issues across owned and member repositories assigned to the authenticated user.
Note: GitHub’s REST API v3 considers every pull request an issue, but not every issue is a pull request. For this
reason, “Issues” endpoints may return both issues and pull requests in the response. You can identify pull requests by
the pull_request
key. Be aware that the id
of a pull request returned from “Issues” endpoints will be an issue id. To find out the pull
request id, use the “List pull requests” endpoint.
Query Parameters
Indicates which sorts of issues to return. Can be one of:
* assigned
: Issues assigned to you
* created
: Issues created by you
* mentioned
: Issues mentioning you
* subscribed
: Issues you’re subscribed to updates for
* all
or repos
: All issues the authenticated user can see, regardless of participation or creation
Allowed values:assignedcreatedmentionedsubscribedreposall
Default:assigned
Indicates the state of the issues to return. Can be either open
, closed
, or all
.
Allowed values:openclosedall
Default:open
A list of comma separated label names. Example: bug,ui,@high
What to sort results by. Can be either created
, updated
, comments
.
Allowed values:createdupdatedcomments
Default:created
One of asc
(ascending) or desc
(descending).
Allowed values:ascdesc
Default:desc
Only show notifications updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Response
application/json
Response
Response
Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.
URL for the issue
Example:https://api.github.com/repositories/42/issues/1
Number uniquely identifying the issue within its repository
Example:42
State of the issue; either ‘open’ or ‘closed’
Example:open
Title of the issue
Example:Widget creation fails in Safari on OS X 10.8
Contents of the issue
Example:It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?
Simple User
Show Child Parameters
One Of
Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository
Example:["bug","registration"]
Simple User
Show Child Parameters
Simple User
Show Child Parameters
A collection of related issues and pull requests.
Show Child Parameters
Show Child Parameters
Simple User
Show Child Parameters
A git repository
Show Child Parameters
GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.
Show Child Parameters
How the author is associated with the repository.
Allowed values:COLLABORATORCONTRIBUTORFIRST_TIMERFIRST_TIME_CONTRIBUTORMANNEQUINMEMBERNONEOWNER
Example:OWNER
Show Child Parameters
Query Parameters
Get all commonly used licenses
Query Parameters
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Response
application/json
Response
Response
License Simple
Example:mit
Example:MIT License
Example:https://api.github.com/licenses/mit
Example:MIT
Example:MDc6TGljZW5zZW1pdA==