List issues
curl --request GET \
--url https://api.sazabi.com/v1/issuesimport requests
url = "https://api.sazabi.com/v1/issues"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sazabi.com/v1/issues', 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://api.sazabi.com/v1/issues",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.sazabi.com/v1/issues"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sazabi.com/v1/issues")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sazabi.com/v1/issues")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"issues": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"status": "open",
"severity": "low",
"types": [
"reliability"
],
"categories": [
"outage"
],
"componentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"componentName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"resolvedAt": "2023-11-07T05:31:56Z",
"mutedAt": "2023-11-07T05:31:56Z",
"muteHitCount": 4503599627370495,
"lastActivityAt": "2023-11-07T05:31:56Z",
"lastDeliveredAt": "2023-11-07T05:31:56Z",
"locked": true,
"redacted": true
}
],
"nextCursor": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Issues
List issues
List issues in a project, optionally filtered by status and severity.
GET
https://api.sazabi.com/v1
/
issues
List issues
curl --request GET \
--url https://api.sazabi.com/v1/issuesimport requests
url = "https://api.sazabi.com/v1/issues"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sazabi.com/v1/issues', 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://api.sazabi.com/v1/issues",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.sazabi.com/v1/issues"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sazabi.com/v1/issues")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sazabi.com/v1/issues")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"issues": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"status": "open",
"severity": "low",
"types": [
"reliability"
],
"categories": [
"outage"
],
"componentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"componentName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"resolvedAt": "2023-11-07T05:31:56Z",
"mutedAt": "2023-11-07T05:31:56Z",
"muteHitCount": 4503599627370495,
"lastActivityAt": "2023-11-07T05:31:56Z",
"lastDeliveredAt": "2023-11-07T05:31:56Z",
"locked": true,
"redacted": true
}
],
"nextCursor": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Query Parameters
Project to list issues for. Auto-filled from CLI and SDK context when omitted.
Maximum number of issues to return per page.
Required range:
1 <= x <= 100Cursor from a previous response's nextCursor to fetch the next page.
Filter by issue status.
Available options:
open, resolved, ignored Filter by severity.
Available options:
low, medium, high, critical Return only issues whose types include this group.
Available options:
reliability, correctness, security, efficiency Return only issues whose categories include this one.
Available options:
outage, silent_failure, regression, performance_degradation, capacity_risk, background_job_failure, dependency_failure, frontend_breakage, data_integrity, business_flow_breakage, configuration_drift, active_attack, suspicious_access, exposure, abuse_and_fraud, agent_misbehavior, cost_anomaly, observability_gap Filter by component ID.
Return only issues that name this GitHub or Bitbucket pull request as a suspected cause.