v1

latestOpenAPI 3.0.32026-07-22115106141.4 KB
Reviews

Add review comment

Add a comment to a review with optional file reference

post/repos/{repo_id}/reviews/{review_id}/comments

Request body

contentstring required

Comment content

thread_idstring

Thread ID for the comment (optional, will be generated if not provided)

file_pathstring

File path for inline comments

start_lineinteger

Starting line number for inline comments

end_lineinteger

Ending line number for inline comments

start_side'left' | 'right'

Side of a diff view (left = base/original, right = compare/modified)

end_side'left' | 'right'

Side of a diff view (left = base/original, right = compare/modified)

Response

Comment added successfully

idstring required

Comment ID

review_idstring required

Review ID this comment belongs to

thread_idstring required

Thread ID this comment belongs to

contentstring required

Comment content

created_atinteger required

Unix timestamp when the comment was created

updated_atinteger required

Unix timestamp when the comment was last updated

file_pathstring

File path for inline comments

start_lineinteger

Starting line number for inline comments

end_lineinteger

Ending line number for inline comments

start_side'left' | 'right'

Side of a diff view (left = base/original, right = compare/modified)

end_side'left' | 'right'

Side of a diff view (left = base/original, right = compare/modified)