v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1477523442.5 KB

Returns the content of a comment made on a change, file, or commit in a repository.

Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.

post/#X-Amz-Target=CodeCommit_20150413.GetComment

Headers

X-Amz-Target'CodeCommit_20150413.GetComment' required

Request body

commentIdstring required

The unique, system-generated ID of the comment. To get this ID, use <a>GetCommentsForComparedCommit</a> or <a>GetCommentsForPullRequest</a>.

Response

Success