How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GitHub Comment API

The Comment API from GitHub — 15 operation(s) for comment.

GitHub Comment API is one of 350 APIs that GitHub publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Comment. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an AsyncAPI specification, and an API reference.

This API exposes 26 operations across 15 paths, and defines 17 schemas. It is described by OpenAPI 3.2.0, at version 1.1.4.

Requests are made against 2 base URLs: {protocol}://{hostname}/api/v3, {protocol}://{hostname}.

26 operations 15 paths 17 schemas 7 DELETE7 GET4 PATCH8 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.1.4
Base URL
https://api.github.com
Authentication
HTTP Bearer
License
Terms of Service
Resource Areas
1

Authentication & Security 1

GitHub Comment API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerHttpAuthentication).

  • bearerHttpAuthentication — Bearer Token

Paths & Operations 26

Across 15 paths, the API surfaces 26 operations — 7 DELETE, 7 GET, 4 PATCH, 8 POST. Each is listed below with its method, path, parameters, and response codes.

Comment 26
POST
/gists/{gist_id}/comments
GitHub Creategist Comment
creategistComment 1 param body → 201304403404
GET
/gists/{gist_id}/comments/{comment_id}
GitHub Getgist Comment
getgistComment 2 params → 200304403404
PATCH
/gists/{gist_id}/comments/{comment_id}
GitHub Updategist Comment
updategistComment 2 params body → 200404
DELETE
/gists/{gist_id}/comments/{comment_id}
GitHub Deletegist Comment
deletegistComment 2 params → 204304403404
GET
/repos/{owner}/{repo}/issues/comments/{comment_id}
GitHub Get an Issue Comment
getAnIssueComment 6 params → 200404
PATCH
/repos/{owner}/{repo}/issues/comments/{comment_id}
GitHub Update an Issue Comment
updateAnIssueComment 6 params body → 200422
DELETE
/repos/{owner}/{repo}/issues/comments/{comment_id}
GitHub Delete an Issue Comment
deleteAnIssueComment 6 params → 204
GET
/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions
GitHub List Reactions for an Issue Comment
listReactionsForAnIssueComment 9 params → 200404
POST
/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions
GitHub Create Reaction for an Issue Comment
createReactionForAnIssueComment 6 params body → 200201422
DELETE
/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}
GitHub Delete an Issue Comment Reaction
deleteAnIssueCommentReaction 7 params → 204
POST
/repos/{owner}/{repo}/issues/{issue_number}/comments
GitHub Create an Issue Comment
createAnIssueComment 6 params body → 201403404410422
GET
/repos/{owner}/{repo}/pulls/comments/{comment_id}
GitHub Get Review Comment for Pull Request
getReviewCommentForPullRequest 6 params → 200404
PATCH
/repos/{owner}/{repo}/pulls/comments/{comment_id}
GitHub Update Review Comment for Pull Request
updateReviewCommentForPullRequest 6 params body → 200
DELETE
/repos/{owner}/{repo}/pulls/comments/{comment_id}
GitHub Delete Review Comment for Pull Request
deleteReviewCommentForPullRequest 6 params → 204404
GET
/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions
GitHub List Reactions for Pull Request Review Comment
listReactionsForPullRequestReviewComment 9 params → 200404
POST
/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions
GitHub Create Reaction for Pull Request Review Comment
createReactionForPullRequestReviewComment 6 params body → 200201422
DELETE
/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}
GitHub Delete Pull Request Comment Reaction
deletePullRequestCommentReaction 7 params → 204
POST
/repos/{owner}/{repo}/pulls/{pull_number}/comments
GitHub Create Review Comment for Pull Request
createReviewCommentForPullRequest 6 params body → 201403422
POST
/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies
GitHub Create Reply for Review Comment
createReplyForReviewComment 7 params body → 201404
GET
/repos/{owner}/{repo}/comments/{comment_id}
GitHub Get Commit Comment
getCommitComment 6 params → 200404
PATCH
/repos/{owner}/{repo}/comments/{comment_id}
GitHub Update Commit Comment
updateCommitComment 6 params body → 200404
DELETE
/repos/{owner}/{repo}/comments/{comment_id}
GitHub Delete Commit Comment
deleteCommitComment 6 params → 204404
GET
/repos/{owner}/{repo}/comments/{comment_id}/reactions
GitHub List Reactions for Commit Comment
listReactionsForCommitComment 9 params → 200404
POST
/repos/{owner}/{repo}/comments/{comment_id}/reactions
GitHub Create Reaction for Commit Comment
createReactionForCommitComment 6 params body → 200201422
DELETE
/repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}
GitHub Delete Commit Comment Reaction
deleteCommitCommentReaction 7 params → 204
POST
/repos/{owner}/{repo}/commits/{commit_sha}/comments
GitHub Create Commit Comment
createCommitComment 6 params body → 201403422

Schemas 17

The contract defines 17 schemas that model the data the API accepts and returns. The most detailed are pull-request-review-comment (29 properties), nullable-simple-user_2 (21 properties), nullable-simple-user (21 properties), nullable-simple-user_4 (21 properties). Each schema is shown below with its type and property counts.

gist-comment
object
A comment made to a gist.
8 properties 8 required
basic-error
object
Basic Error
4 properties
author-association
string
How the author is associated with the repository.
nullable-simple-user
objectnull
A GitHub user.
21 properties 18 required
issue-comment
object
Comments provide a way for people to collaborate on an issue.
14 properties 9 required
nullable-integration
object
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…
17 properties 11 required
validation-error
object
Validation Error
3 properties 2 required
reaction-rollup
object
10 properties 10 required
reaction
object
Reactions to conversations provide a way to help people express their feelings more simply and effectively.
5 properties 5 required
nullable-simple-user_2
object
GitHub user.
21 properties 18 required
simple-user
object
GitHub user.
21 properties 18 required
pull-request-review-comment
object
Pull Request Review Comments are comments on a portion of the Pull Request's diff.
29 properties 16 required
reaction_2
object
Reactions to conversations provide a way to help people express their feelings more simply and effectively.
5 properties 5 required
nullable-simple-user_3
object
GitHub user.
21 properties 18 required
commit-comment
object
Commit Comment
14 properties 13 required
reaction_3
object
Reactions to conversations provide a way to help people express their feelings more simply and effectively.
5 properties 5 required
nullable-simple-user_4
object
GitHub user.
21 properties 18 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

github-comment-api-openapi.yml Raw ↑

Other APIs GitHub publishes across the network.

GitHub Events API
GitHub Feeds API
GitHub Gists API
GitHub Issues API
GitHub Licenses API
GitHub Markdown API
GitHub Meta API
GitHub Notifications API
GitHub Octocat API
GitHub Projects API
GitHub Repos API
GitHub Search API
Where this information came from

This is an independent, third-party profile of GitHub Comment API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.