issue_number parameter
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
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.
Show Child Parameters
Show Child Parameters
Path Parameters
Body
List issue events
Query Parameters
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
Issue Event for Issue
Any Of
Simple User
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
Show Child Parameters
Path Parameters
Query Parameters
List labels for an issue
Query Parameters
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
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
Add labels to an issue
Path Parameters
issue_number parameter
Body
application/json
Body
One Of
The names of the labels to add to the issue’s existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a string
or an array
of labels directly, but GitHub recommends passing an object with the labels
key. You can also replace all of the labels for an issue. For more information, see “Set labels for an issue.”
>= 1 items
Response
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
Body
Set labels for an issue
Removes any previous labels and sets the new labels for an issue.
Path Parameters
issue_number parameter
Body
application/json
Body
One Of
The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a string
or an array
of labels directly, but GitHub recommends passing an object with the labels
key. You can also add labels to the existing labels for an issue. For more information, see “Add labels to an issue.”
>= 1 items
Response
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