Skip to main content
The REST API is now versioned. For more information, see "About API versioning."

REST API endpoints for gist comments

Use the REST API to view and modify comments on a gist.

About gist comments

You can use the REST API to view and modify comments on a gist. For more information about gists, see Editing and sharing content with gists.

List gist comments

Lists the comments 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.

Fine-grained access tokens for "List gist comments"

This endpoint works with the following fine-grained token types: