Skip to main content
GET
/
repos
/
{repo_id}
/
reviews
/
{review_id}
/
comments
List review comments
curl --request GET \
  --url https://api.diversion.dev/v0/repos/{repo_id}/reviews/{review_id}/comments \
  --header 'Authorization: Bearer <token>'
{
  "object": "ReviewComment",
  "items": [
    {
      "id": "<string>",
      "review_id": "<string>",
      "thread_id": "<string>",
      "author": {
        "id": "<string>",
        "image": "<string>",
        "email": "[email protected]",
        "full_name": "<string>",
        "name": "<string>",
        "tier": "EDUCATION"
      },
      "content": "<string>",
      "created_at": 123,
      "updated_at": 123,
      "file_path": "<string>",
      "start_line": 123,
      "end_line": 123,
      "start_side": "left",
      "end_side": "left"
    }
  ]
}

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

Review ID

Maximum string length: 128

Response

Comments returned

object
string
Example:

"ReviewComment"

items
object[]