Gist comments
The Gist comments API lets you view and modify comments on a gist.
About the Gist comments API
The Gist comments API lets you view and modify comments on a gist. For more information about gists, see "Editing and sharing content with gists."
Custom media types for Gist comments
These are the supported media types for gist comments.
application/vnd.github.VERSION.raw
application/vnd.github.VERSION.base64
For more information about media types, see "Custom media types."
List gist comments
Parameters
| Headers |
|---|
| Name, Type, Description |
acceptstringSetting to |
| Path parameters |
| Name, Type, Description |
gist_idstringRequiredThe unique identifier of the gist. |
| Query parameters |
| Name, Type, Description |
per_pageintegerThe number of results per page (max 100). Default: |
pageintegerPage number of the results to fetch. Default: |
HTTP response status codes
| Status code | Description |
|---|---|
200 | OK |
304 | Not modified |
403 | Forbidden |
404 | Resource not found |