Pull requests
Get a pull request and its review data
Read one tracked pull or merge request by its Gitar ID. Requires pull_requests:read and advanced insights. Expand review for the latest completed review or functional_validation for linked issue objectives. The latter requires functional validation access.
GET
Get a pull request and its review data
Use the ID from the collection. Request
expand=review for the latest stored review. Add expand=functional_validation to include linked issue checklists, available with Enterprise.
gitar_reviewed: true means Gitar has completed at least one review on this PR, including reviews with zero findings. The expanded review includes its commit SHA and recorded risk assessment. Compare review.commit_sha with the current head SHA on the code host to check whether the review covers the latest revision. Older reviews can have a risk level without a reason.
Functional validation requires the corresponding feature entitlement. Each checklist identifies the issue and diff revision assessed. Its active objectives describe what the change covers. A pending objective may be addressed in a later change.Authorizations
Query Parameters
Response
Pull request