Read live reviewer eligibility and policy
curl --request GET \
--url https://lanesync.dev/api/reviews/release/{id} \
--cookie connect.sid=import requests
url = "https://lanesync.dev/api/reviews/release/{id}"
headers = {"cookie": "connect.sid="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'connect.sid='}};
fetch('https://lanesync.dev/api/reviews/release/{id}', 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://lanesync.dev/api/reviews/release/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "connect.sid=",
]);
$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://lanesync.dev/api/reviews/release/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "connect.sid=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://lanesync.dev/api/reviews/release/{id}")
.header("cookie", "connect.sid=")
.asString();require 'uri'
require 'net/http'
url = URI("https://lanesync.dev/api/reviews/release/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'connect.sid='
response = http.request(request)
puts response.read_body{
"milestoneId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"org": "<string>",
"repo": "<string>",
"version": "<string>",
"evidencePrNumber": 2,
"evidencePrUrl": "<string>",
"eligibility": {
"status": "eligible",
"login": "<string>",
"reason": "<string>"
},
"policy": {
"minApprovals": 1,
"teams": [
"<string>"
],
"deploymentTarget": "<string>",
"promotion": "manual",
"requiresEvidenceApproval": true
},
"policyStatus": "available",
"approvalEffects": {
"status": "configured",
"summary": "<string>"
},
"reviewState": "open"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Reviews
Read live reviewer eligibility and policy
Read-only detail for a release in the selected workspace. Unverified access or unsupported policy stays unknown; approval effects do not certify production deployment.
GET
/
api
/
reviews
/
release
/
{id}
Read live reviewer eligibility and policy
curl --request GET \
--url https://lanesync.dev/api/reviews/release/{id} \
--cookie connect.sid=import requests
url = "https://lanesync.dev/api/reviews/release/{id}"
headers = {"cookie": "connect.sid="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'connect.sid='}};
fetch('https://lanesync.dev/api/reviews/release/{id}', 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://lanesync.dev/api/reviews/release/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "connect.sid=",
]);
$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://lanesync.dev/api/reviews/release/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "connect.sid=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://lanesync.dev/api/reviews/release/{id}")
.header("cookie", "connect.sid=")
.asString();require 'uri'
require 'net/http'
url = URI("https://lanesync.dev/api/reviews/release/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'connect.sid='
response = http.request(request)
puts response.read_body{
"milestoneId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"org": "<string>",
"repo": "<string>",
"version": "<string>",
"evidencePrNumber": 2,
"evidencePrUrl": "<string>",
"eligibility": {
"status": "eligible",
"login": "<string>",
"reason": "<string>"
},
"policy": {
"minApprovals": 1,
"teams": [
"<string>"
],
"deploymentTarget": "<string>",
"promotion": "manual",
"requiresEvidenceApproval": true
},
"policyStatus": "available",
"approvalEffects": {
"status": "configured",
"summary": "<string>"
},
"reviewState": "open"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
GitHub OAuth session cookie
Path Parameters
Response
Live review detail
Required range:
x >= 1Show child attributes
Show child attributes
Show child attributes
Show child attributes
Available options:
available, unknown Show child attributes
Show child attributes
Available options:
open, closed, merged, unknown