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": "jsmith@example.com",
"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"
}
]
}List all comments associated with a review
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": "jsmith@example.com",
"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"
}
]
}This API uses OAuth 2 with the implicit grant flow
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.
3 - 128"example_id"
Review ID
128