v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
issue

Edit a comment

patch/repos/{owner}/{repo}/issues/comments/{id}

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

idinteger required

id of the comment to edit

Request body

bodystring required

Body is the updated comment text content

Response

Comment

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