v1

latestOpenAPI 3.0.32026-07-22115106141.4 KB
Reviews

Create review

Create a new review for comparing two refs

post/repos/{repo_id}/reviews

Request body

titlestring required

Review title

descriptionstring

Review description

base_refstring required

Base reference (branch/commit)

compare_refstring required

Compare reference (branch/commit)

reviewer_idsstring[]

List of reviewer user IDs

Response

Review created successfully

idstring required

Review ID

titlestring required

Review title

descriptionstring

Review description

status'open' | 'closed' required

Review status

created_atinteger required

Unix timestamp when the review was created

updated_atinteger required

Unix timestamp when the review was last updated

base_refstring required

Base reference (branch/commit)

compare_refstring required

Compare reference (branch/commit)

repo_idstring required

Repository ID

merge_commit_idinteger

ID of the commit that merged this review

active_merge_idstring

ID of active merge with conflicts

draft_commit_idstring

ID of the draft commit that created this review