Skip to main content
GET
/
repos
/
{repo_id}
/
reviews
/
{review_id}
/
changes
Get changes for a review
curl --request GET \
  --url https://api.diversion.dev/v0/repos/{repo_id}/reviews/{review_id}/changes \
  --header 'Authorization: Bearer <token>'
{
  "url": "<string>",
  "other_commit_id": "<string>",
  "ancestor_commit_id": "<string>"
}

Authorizations

Authorization
string
header
required

This API uses OAuth 2 with the implicit grant flow

Path Parameters

repo_id
string
required

The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.

Required string length: 3 - 128
Example:

"example_id"

review_id
string
required

The review ID

Required string length: 3 - 128
Example:

"dv.review.12345"

Response

Returns the ancestor and compare commits for the merged review

url
string
required
other_commit_id
string
required
ancestor_commit_id
string
required