View Provider-errors report

View Provider-errors report

GET https://api.ocamba.com/v1/hood/reports/provider-errors
Provider-errors report helps troubleshooting settings that result in errors with the goal of eliminating the error in the future

Tip
For easier search, Reports API gives you the possibility of using one of the following labels: today, yesterday, last-7-days, last-30-days, last-24-hours, this-month, last-month, current-hour, last-hour, last-48-hours, last-2-days, month-to-date, month-to-yesterday, quarter-to-date.

Rate limits:

  • Burst: 10/s
  • Steady: 150/m

Query parameters

parameters

Response schemas

curl -X GET \
 "https://api.ocamba.com/v1/hood/reports/provider-errors" \
  -H "Authorization: Bearer {TOKEN}"
const url = 'https://api.ocamba.com/v1/hood/reports/provider-errors';
const options = {
  method: 'GET',
  headers: {
    Authorization: `Bearer {TOKEN}`
  }
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
$ch = curl_init("https://api.ocamba.com/v1/hood/reports/provider-errors");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
  "Authorization: Bearer {TOKEN}"
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);

Responses

200 OK

[
  {
    "stat_date": "2022-09-28T00:00:00Z",
    "tag_id": "1704",
    "tag_name": "DEV Ocamba Info",
    "zone_id": "0",
    "browser_id": "0",
    "browser_name": "Unknown",
    "device_id": "0",
    "device_name": "Unknown",
    "os_id": "10",
    "country_code": "PL",
    "country_name": "Poland",
    "push_type": "ios",
    "push_task_id": "15432493",
    "push_task_name": "testing",
    "status_code": "0",
    "error_code": "0",
    "profile_age": "8-30",
    "requests": 1,
    "retry_count": 0,
    "total_duration": 416
  },
  {
    "stat_date": "2022-09-28T00:00:00Z",
    "tag_id": "1303",
    "tag_name": "DS [DON'T TOUCH]",
    "app_name": "test-5",
    "zone_id": "3001868",
    "zone_name": "veljko push",
    "browser_id": "17",
    "browser_name": "Edge",
    "device_id": "0",
    "device_name": "Unknown",
    "os_id": "1",
    "os_name": "Windows OS",
    "country_code": "PL",
    "country_name": "Poland",
    "push_type": "web",
    "push_task_id": "15433308",
    "push_task_name": "v",
    "status_code": "401",
    "error_code": "0",
    "profile_age": "31-75",
    "requests": 3,
    "retry_count": 0,
    "total_duration": 114
  }
]

400 Bad Request

{
  "code": 400,
  "title": "Bad request.",
  "message": "The request is not valid.",
  "trace_id": "99a84211-f73d-4ff8-acdf-eb3e06bb9d62"
}

500 Internal Server Error

{
  "code": 500,
  "title": "Internal server error.",
  "trace_id": "99a84211-f73d-4ff8-acdf-eb3e06bb9d62"
}
Responses