issue_number parameter
Update an issue
Issue owners and users with push access can edit an issue.
Path Parameters
Body
application/json
Body
One Of
The title of the issue.
The contents of the issue.
Login for the user that this issue should be assigned to. This field is deprecated.
State of the issue. Either open
or closed
.
Allowed values:openclosed
One Of
One Of
Labels to associate with this issue. Pass one or more Labels to replace the set of Labels on this Issue. Send an empty array ([]
) to clear all Labels from the Issue. NOTE: Only users with push access can set labels for issues. Labels are silently dropped otherwise.
Logins for Users to assign to this issue. Pass one or more user logins to replace the set of assignees on this Issue. Send an empty array ([]
) to clear all assignees from the Issue. NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise.
Response
application/json
Response
Response
Issue
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
Path Parameters
Body
Add assignees to an issue
Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.
Path Parameters
issue_number parameter
Body
application/json
Body
Usernames of people to assign this issue to. NOTE: Only users with push access can add assignees to an issue. Assignees are silently ignored otherwise.
Response
201 application/json
Response
Response
Issue
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
Path Parameters
Body
Remove assignees from an issue
Removes one or more assignees from an issue.
Path Parameters
issue_number parameter
Body
application/json
Body
Usernames of assignees to remove from an issue. NOTE: Only users with push access can remove assignees from an issue. Assignees are silently ignored otherwise.
Response
200 application/json
Response
Response
Issue
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
Path Parameters
Body
List issue comments
Issue Comments are ordered by ascending ID.
Query Parameters
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
Path Parameters
issue_number parameter
Response
application/json
Response
Response
Comments provide a way for people to collaborate on an issue.
Unique identifier of the issue comment
Example:42
URL for the issue comment
Example:https://api.github.com/repositories/42/issues/comments/1
Contents of the issue comment
Example:What version of Safari were you using when you observed this bug?
Simple User
Show Child Parameters
Example:2011-04-14T16:00:49Z
Example:2011-04-14T16:00:49Z
How the author is associated with the repository.
Allowed values:COLLABORATORCONTRIBUTORFIRST_TIMERFIRST_TIME_CONTRIBUTORMANNEQUINMEMBERNONEOWNER
Example:OWNER
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
Show Child Parameters
Path Parameters
Query Parameters
Create an issue comment
This endpoint triggers notifications. Creating content too quickly using this endpoint may result in secondary rate limiting. See “Secondary rate limits” and “Dealing with secondary rate limits” for details.
Path Parameters
issue_number parameter
Body
application/json
Body
The contents of the comment.
Response
application/json
Response
Response
Issue Comment
Comments provide a way for people to collaborate on an issue.
Unique identifier of the issue comment
Example:42
URL for the issue comment
Example:https://api.github.com/repositories/42/issues/comments/1
Contents of the issue comment
Example:What version of Safari were you using when you observed this bug?
Simple User
Show Child Parameters
Example:2011-04-14T16:00:49Z
Example:2011-04-14T16:00:49Z
How the author is associated with the repository.
Allowed values:COLLABORATORCONTRIBUTORFIRST_TIMERFIRST_TIME_CONTRIBUTORMANNEQUINMEMBERNONEOWNER
Example:OWNER
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.