GET
/gists/{gist_id}/comments/{comment_id}Get a gist comment
Gets a comment on a gist.
This endpoint supports the following custom media types. For more information, see "Media types."
application/vnd.github.raw+json: Returns the raw markdown. This is the default if you do not pass any specific media type.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
gist_idstringrequired
The unique identifier of the gist.
comment_idintegerrequired
The unique identifier of the comment.
200Response
idintegerrequired
node_idstringrequired
urlstringrequired
bodystringrequired
The comment text.
userobjectrequired
A GitHub user.
created_atstringrequired
updated_atstringrequired
author_associationstringrequired
How the author is associated with the repository.
304Not modified
403Forbidden Gist
blockobjectoptional
messagestringoptional
documentation_urlstringoptional
404Resource not found
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
Error handling
A 403 is returned: Forbidden Gist. A 404 is returned: Resource not found.