v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
issue

List all comments on an issue

get/repos/{owner}/{repo}/issues/{index}/comments

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

indexinteger required

index of the issue

Query parameters

sincestring date-time

if provided, only comments updated since the specified time are returned.

beforestring date-time

if provided, only comments updated before the provided time are returned.

Response

CommentList

bodystring

Body contains the comment text content

created_atstring date-time
html_urlstring

HTMLURL is the web URL for viewing the comment

idinteger

ID is the unique identifier for the comment

issue_urlstring

IssueURL is the API URL for the issue

original_authorstring

OriginalAuthor is the original author name (for imported comments)

original_author_idinteger

OriginalAuthorID is the original author ID (for imported comments)

pull_request_urlstring

PRURL is the API URL for the pull request (if applicable)

updated_atstring date-time