Analytics streams
Analytics streams
GET /api/admin/v1/analytic-streams |
Method parameters
int
per_page, number of items per pagination page. Default is 25
int
page, pagination page number
string
search, search performed by stream UID, Job uid, UID of the executable file, server
string
sort, sorting performed by status of the analytics stream
string
dir, sorting direction. desc - from highest to lowest, asc - from lowest to highest
string
status, filtering by executable file status, comes to the Main configurations under the key analytic_case_camera_statuses
string
binary_uid, filtering by executable file UID, separate request for the List of uuid executable analytics files
string
server_name, filtering by server name, separate request for the List of analytics server names
200 |
Successful response
JSON
|
401 |
Authorization token is not provided or is invalid. Obtaining a token |
curl -k --request POST \
--url 'https://your-domain/api/admin/v1/analytic-streams' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"per_page": 0,
"page": 0,
"search": "string",
"sort": "string",
"dir": "string",
"status": "string",
"binary_uid": "string",
"server_name": "string"
}'
$data = array (
'per_page' => 0,
'page' => 0,
'search' => 'string',
'sort' => 'string',
'dir' => 'string',
'status' => 'string',
'binary_uid' => 'string',
'server_name' => 'string',
);
$context = stream_context_create([
'ssl'=>['verify_peer' => false],
'http' => [
'method' => 'GET',
'header' => "Content-Type: application/json\r
Accept: application/json",
'content'=>json_encode($data)
]
]);
$result = file_get_contents('https://your-domain/api/admin/v1/analytic-streams', false, $context);