List all review comments for a trail (repo_id addressing)
curl --request GET \
--url https://aws-us-east-2.api.entire.io/api/v1/repos/{repo_id}/trails/{number}/reviews/comments \
--header 'Authorization: Bearer <token>'import requests
url = "https://aws-us-east-2.api.entire.io/api/v1/repos/{repo_id}/trails/{number}/reviews/comments"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://aws-us-east-2.api.entire.io/api/v1/repos/{repo_id}/trails/{number}/reviews/comments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://aws-us-east-2.api.entire.io/api/v1/repos/{repo_id}/trails/{number}/reviews/comments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://aws-us-east-2.api.entire.io/api/v1/repos/{repo_id}/trails/{number}/reviews/comments"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://aws-us-east-2.api.entire.io/api/v1/repos/{repo_id}/trails/{number}/reviews/comments")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://aws-us-east-2.api.entire.io/api/v1/repos/{repo_id}/trails/{number}/reviews/comments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"comments": [
{
"actor_display_name": "<string>",
"actor_id": "<string>",
"actor_identity": {
"account_id": "<string>",
"avatar_url": "<string>",
"display_name": "<string>",
"handles": [
{
"handle": "<string>",
"provider": "<string>",
"is_primary": true
}
],
"kind": "<string>",
"automation": {
"automation_id": "<string>",
"installation_id": "<string>",
"plugin": "<string>"
},
"username": "<string>"
},
"body": "<string>",
"client_id": "<string>",
"client_id_hash": "<string>",
"code_version_id": "<string>",
"confidence": 123,
"created_at": "2023-11-07T05:31:56Z",
"discussion_id": "<string>",
"discussion_message_count": 123,
"id": "<string>",
"location": {
"code_version_id": "<string>",
"end_column": 123,
"end_line": 123,
"file_path": "<string>",
"granularity": "<string>",
"id": "<string>",
"language": "<string>",
"nearby_text": "<string>",
"review_comment_id": "<string>",
"selected_text": "<string>",
"start_column": 123,
"start_line": 123
},
"repo_id": "<string>",
"review_id": "<string>",
"severity": "<string>",
"stale_checked_at": "2023-11-07T05:31:56Z",
"stale_checked_code_version_id": "<string>",
"stale_outcome": "<string>",
"status": "<string>",
"status_actor_display_name": "<string>",
"status_actor_id": "<string>",
"status_actor_identity": {
"account_id": "<string>",
"avatar_url": "<string>",
"display_name": "<string>",
"handles": [
{
"handle": "<string>",
"provider": "<string>",
"is_primary": true
}
],
"kind": "<string>",
"automation": {
"automation_id": "<string>",
"installation_id": "<string>",
"plugin": "<string>"
},
"username": "<string>"
},
"status_actor_kind": "<string>",
"status_changed_at": "2023-11-07T05:31:56Z",
"status_reason": "<string>",
"status_source": "<string>",
"trail_id": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"$schema": "/api/v1/schemas/ReviewCommentJSON.json",
"agent_verdict": {
"created_at": "2023-11-07T05:31:56Z",
"evidence": "<string>",
"outcome": "resolved",
"run_id": "<string>",
"verdict": "fixed"
},
"source": {
"agent": {
"id": "<string>",
"name": "<string>"
},
"run_id": "<string>"
}
}
],
"event_cursor": "<string>",
"$schema": "/api/v1/schemas/ReviewCommentsPage.json",
"next_cursor": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"status": 499,
"title": "<string>",
"type": "<string>",
"$schema": "/api/v1/schemas/ProblemDocument.json"
}{
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"status": 499,
"title": "<string>",
"type": "<string>",
"$schema": "/api/v1/schemas/ProblemDocument.json"
}{
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"status": 499,
"title": "<string>",
"type": "<string>",
"$schema": "/api/v1/schemas/ProblemDocument.json"
}{
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"status": 499,
"title": "<string>",
"type": "<string>",
"$schema": "/api/v1/schemas/ProblemDocument.json"
}{
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"status": 499,
"title": "<string>",
"type": "<string>",
"$schema": "/api/v1/schemas/ProblemDocument.json"
}{
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"status": 499,
"title": "<string>",
"type": "<string>",
"$schema": "/api/v1/schemas/ProblemDocument.json"
}{
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"status": 499,
"title": "<string>",
"type": "<string>",
"$schema": "/api/v1/schemas/ProblemDocument.json"
}{
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"status": 499,
"title": "<string>",
"type": "<string>",
"$schema": "/api/v1/schemas/ProblemDocument.json"
}Reviews
List all review comments for a trail (repo_id addressing)
GET
/
repos
/
{repo_id}
/
trails
/
{number}
/
reviews
/
comments
List all review comments for a trail (repo_id addressing)
curl --request GET \
--url https://aws-us-east-2.api.entire.io/api/v1/repos/{repo_id}/trails/{number}/reviews/comments \
--header 'Authorization: Bearer <token>'import requests
url = "https://aws-us-east-2.api.entire.io/api/v1/repos/{repo_id}/trails/{number}/reviews/comments"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://aws-us-east-2.api.entire.io/api/v1/repos/{repo_id}/trails/{number}/reviews/comments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://aws-us-east-2.api.entire.io/api/v1/repos/{repo_id}/trails/{number}/reviews/comments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://aws-us-east-2.api.entire.io/api/v1/repos/{repo_id}/trails/{number}/reviews/comments"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://aws-us-east-2.api.entire.io/api/v1/repos/{repo_id}/trails/{number}/reviews/comments")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://aws-us-east-2.api.entire.io/api/v1/repos/{repo_id}/trails/{number}/reviews/comments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"comments": [
{
"actor_display_name": "<string>",
"actor_id": "<string>",
"actor_identity": {
"account_id": "<string>",
"avatar_url": "<string>",
"display_name": "<string>",
"handles": [
{
"handle": "<string>",
"provider": "<string>",
"is_primary": true
}
],
"kind": "<string>",
"automation": {
"automation_id": "<string>",
"installation_id": "<string>",
"plugin": "<string>"
},
"username": "<string>"
},
"body": "<string>",
"client_id": "<string>",
"client_id_hash": "<string>",
"code_version_id": "<string>",
"confidence": 123,
"created_at": "2023-11-07T05:31:56Z",
"discussion_id": "<string>",
"discussion_message_count": 123,
"id": "<string>",
"location": {
"code_version_id": "<string>",
"end_column": 123,
"end_line": 123,
"file_path": "<string>",
"granularity": "<string>",
"id": "<string>",
"language": "<string>",
"nearby_text": "<string>",
"review_comment_id": "<string>",
"selected_text": "<string>",
"start_column": 123,
"start_line": 123
},
"repo_id": "<string>",
"review_id": "<string>",
"severity": "<string>",
"stale_checked_at": "2023-11-07T05:31:56Z",
"stale_checked_code_version_id": "<string>",
"stale_outcome": "<string>",
"status": "<string>",
"status_actor_display_name": "<string>",
"status_actor_id": "<string>",
"status_actor_identity": {
"account_id": "<string>",
"avatar_url": "<string>",
"display_name": "<string>",
"handles": [
{
"handle": "<string>",
"provider": "<string>",
"is_primary": true
}
],
"kind": "<string>",
"automation": {
"automation_id": "<string>",
"installation_id": "<string>",
"plugin": "<string>"
},
"username": "<string>"
},
"status_actor_kind": "<string>",
"status_changed_at": "2023-11-07T05:31:56Z",
"status_reason": "<string>",
"status_source": "<string>",
"trail_id": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"$schema": "/api/v1/schemas/ReviewCommentJSON.json",
"agent_verdict": {
"created_at": "2023-11-07T05:31:56Z",
"evidence": "<string>",
"outcome": "resolved",
"run_id": "<string>",
"verdict": "fixed"
},
"source": {
"agent": {
"id": "<string>",
"name": "<string>"
},
"run_id": "<string>"
}
}
],
"event_cursor": "<string>",
"$schema": "/api/v1/schemas/ReviewCommentsPage.json",
"next_cursor": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"status": 499,
"title": "<string>",
"type": "<string>",
"$schema": "/api/v1/schemas/ProblemDocument.json"
}{
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"status": 499,
"title": "<string>",
"type": "<string>",
"$schema": "/api/v1/schemas/ProblemDocument.json"
}{
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"status": 499,
"title": "<string>",
"type": "<string>",
"$schema": "/api/v1/schemas/ProblemDocument.json"
}{
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"status": 499,
"title": "<string>",
"type": "<string>",
"$schema": "/api/v1/schemas/ProblemDocument.json"
}{
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"status": 499,
"title": "<string>",
"type": "<string>",
"$schema": "/api/v1/schemas/ProblemDocument.json"
}{
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"status": 499,
"title": "<string>",
"type": "<string>",
"$schema": "/api/v1/schemas/ProblemDocument.json"
}{
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"status": 499,
"title": "<string>",
"type": "<string>",
"$schema": "/api/v1/schemas/ProblemDocument.json"
}{
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"status": 499,
"title": "<string>",
"type": "<string>",
"$schema": "/api/v1/schemas/ProblemDocument.json"
}Authorizations
oauth2bearerAuth
OAuth 2.0 authorization code flow.
Query Parameters
Alias for status[eq]; repeatable or comma-separated.
Match any of open, resolved, dismissed. Overrides the default dismissed exclusion.
Exclude these statuses; repeatable or comma-separated.
Alias for severity[eq]; repeatable or comma-separated.
Match any of high, medium, low.
Exclude these severities; comments without a severity remain eligible.
current (default), stale, or any; retained by the cursor.
Include dismissed comments when exactly true, unless an explicit status filter selects them; retained by the cursor.
Page size (default 100, capped at 1000).
Opaque continuation cursor. Filters may be omitted or repeated with matching values.
Was this page helpful?