Skip to main content
Skip table of contents

Executable analytics filеs

Analytics executables

GET /api/admin/v1/analytic-binaries

Parameters

int per_page, Number of elements in one pagination page.


int page, Pagination page number


string search, Search is performed by UID, analytics type and server


string sort, Sorting is done by analytics type


string dir, In which direction to sort.


string binary_type, Filtering by executable file type, comes under the analytic_cases key


string status, Filtering by executable file status, comes under the analytic_cases_binary_statuses key


string server_name, Filtering by server name, separate request [VMS Admin/Admin Analytics/List of analytics server names](available_server_names.md)


string binary_uid, Filtering by UID of the executable file, separate request [VMS Admin/Administrator Analytics/List of uuids of executable analytics files](available_binaries_uuid.md)

200 OK

Successful response

JSON
{
    "data": [
        {
            "id": 495,
            "binary_type": "visitors-counting",
            "binary_type_pretty": "People Counting",
            "status": "RUNNING",
            "server": {
                "id": 2,
                "name": "NS1",
                "ip": "192.168.111.2"
            },
            "uid": "73ef0d32-baff-11ec-8995-a3b0e5228375"
        },
        {
            "id": 488,
            "binary_type": "visitors-counting",
            "binary_type_pretty": "People Counting",
            "status": "RUNNING",
            "server": {
                "id": 4,
                "name": "NS3",
                "ip": "192.168.111.4"
            },
            "uid": "61ef4c6c-a387-11ec-8995-a3b0e5228375"
        },
        {
            "id": 489,
            "binary_type": "visitors-counting",
            "binary_type_pretty": "People Counting",
            "status": "RUNNING",
            "server": {
                "id": 3,
                "name": "NS2",
                "ip": "192.168.111.3"
            },
            "uid": "a44d9b6c-ab67-11ec-8995-a3b0e5228375"
        },
        {
            "id": 502,
            "binary_type": "smoke-fire",
            "binary_type_pretty": "Smoke and fire detection",
            "status": "RUNNING",
            "server": {
                "id": 2,
                "name": "NS1",
                "ip": "192.168.111.2"
            },
            "uid": "30ab6396-c701-11ec-88bc-59d920260ee8"
        },
        {
            "id": 504,
            "binary_type": "smoke-fire",
            "binary_type_pretty": "Smoke and fire detection",
            "status": "RUNNING",
            "server": {
                "id": 4,
                "name": "NS3",
                "ip": "192.168.111.4"
            },
            "uid": "14d30290-cd3d-11ec-88bc-59d920260ee8"
        },
        {
            "id": 505,
            "binary_type": "smoke-fire",
            "binary_type_pretty": "Smoke and fire detection",
            "status": "RUNNING",
            "server": {
                "id": 3,
                "name": "NS2",
                "ip": "192.168.111.3"
            },
            "uid": "52efe498-cd43-11ec-88bc-59d920260ee8"
        },
        {
            "id": 496,
            "binary_type": "person-counting",
            "binary_type_pretty": "Count objects in area",
            "status": "RUNNING",
            "server": {
                "id": 3,
                "name": "NS2",
                "ip": "192.168.111.3"
            },
            "uid": "7ae3fdbc-bcb4-11ec-8995-a3b0e5228375"
        },
        {
            "id": 486,
            "binary_type": "person-counting",
            "binary_type_pretty": "Count objects in area",
            "status": "RUNNING",
            "server": {
                "id": 2,
                "name": "NS1",
                "ip": "192.168.111.2"
            },
            "uid": "ea101d8a-9f7a-11ec-8995-a3b0e5228375"
        },
        {
            "id": 487,
            "binary_type": "person-counting",
            "binary_type_pretty": "Count objects in area",
            "status": "RUNNING",
            "server": {
                "id": 4,
                "name": "NS3",
                "ip": "192.168.111.4"
            },
            "uid": "ea1d365a-9f7a-11ec-8995-a3b0e5228375"
        },
        {
            "id": 481,
            "binary_type": "motion-detect",
            "binary_type_pretty": "Zone Intrusion Detection",
            "status": "RUNNING",
            "server": {
                "id": 4,
                "name": "NS3",
                "ip": "192.168.111.4"
            },
            "uid": "f45d2b96-9adb-11ec-8995-a3b0e5228375"
        },
        {
            "id": 490,
            "binary_type": "motion-detect",
            "binary_type_pretty": "Zone Intrusion Detection",
            "status": "RUNNING",
            "server": {
                "id": 3,
                "name": "NS2",
                "ip": "192.168.111.3"
            },
            "uid": "dfd0dab4-ab67-11ec-8995-a3b0e5228375"
        },
        {
            "id": 506,
            "binary_type": "motion-detect",
            "binary_type_pretty": "Zone Intrusion Detection",
            "status": "RUNNING",
            "server": {
                "id": 2,
                "name": "NS1",
                "ip": "192.168.111.2"
            },
            "uid": "e74dabbe-d1fa-11ec-88bc-59d920260ee8"
        },
        {
            "id": 503,
            "binary_type": "loud-sounds",
            "binary_type_pretty": "Loud Sound Detection",
            "status": "RUNNING",
            "server": {
                "id": 4,
                "name": "NS3",
                "ip": "192.168.111.4"
            },
            "uid": "08e10efa-cd3d-11ec-88bc-59d920260ee8"
        },
        {
            "id": 499,
            "binary_type": "loud-sounds",
            "binary_type_pretty": "Loud Sound Detection",
            "status": "RUNNING",
            "server": {
                "id": 3,
                "name": "NS2",
                "ip": "192.168.111.3"
            },
            "uid": "f8e98e40-c6df-11ec-88bc-59d920260ee8"
        },
        {
            "id": 500,
            "binary_type": "loud-sounds",
            "binary_type_pretty": "Loud Sound Detection",
            "status": "RUNNING",
            "server": {
                "id": 2,
                "name": "NS1",
                "ip": "192.168.111.2"
            },
            "uid": "fa001560-c6df-11ec-88bc-59d920260ee8"
        },
        {
            "id": 507,
            "binary_type": "line-intersection",
            "binary_type_pretty": "Line crossing detection",
            "status": "RUNNING",
            "server": {
                "id": 4,
                "name": "NS3",
                "ip": "192.168.111.4"
            },
            "uid": "41b22714-d512-11ec-88bc-59d920260ee8"
        },
        {
            "id": 508,
            "binary_type": "line-intersection",
            "binary_type_pretty": "Line crossing detection",
            "status": "RUNNING",
            "server": {
                "id": 2,
                "name": "NS1",
                "ip": "192.168.111.2"
            },
            "uid": "7a17d19c-d519-11ec-88bc-59d920260ee8"
        },
        {
            "id": 501,
            "binary_type": "line-intersection",
            "binary_type_pretty": "Line crossing detection",
            "status": "RUNNING",
            "server": {
                "id": 3,
                "name": "NS2",
                "ip": "192.168.111.3"
            },
            "uid": "a6e862d2-c6ea-11ec-88bc-59d920260ee8"
        },
        {
            "id": 482,
            "binary_type": "licplate-recognition",
            "binary_type_pretty": "License plate recognition",
            "status": "RUNNING",
            "server": {
                "id": 2,
                "name": "NS1",
                "ip": "192.168.111.2"
            },
            "uid": "cc72d394-9ae3-11ec-8995-a3b0e5228375"
        },
        {
            "id": 491,
            "binary_type": "licplate-recognition",
            "binary_type_pretty": "License plate recognition",
            "status": "RUNNING",
            "server": {
                "id": 4,
                "name": "NS3",
                "ip": "192.168.111.4"
            },
            "uid": "fee82e4e-ac33-11ec-8995-a3b0e5228375"
        },
        {
            "id": 483,
            "binary_type": "licplate-recognition",
            "binary_type_pretty": "License plate recognition",
            "status": "RUNNING",
            "server": {
                "id": 3,
                "name": "NS2",
                "ip": "192.168.111.3"
            },
            "uid": "cc7c6b84-9ae3-11ec-8995-a3b0e5228375"
        },
        {
            "id": 492,
            "binary_type": "face-recognition",
            "binary_type_pretty": "Face Recognition",
            "status": "RUNNING",
            "server": {
                "id": 2,
                "name": "NS1",
                "ip": "192.168.111.2"
            },
            "uid": "0ad632aa-ac34-11ec-8995-a3b0e5228375"
        },
        {
            "id": 485,
            "binary_type": "face-recognition",
            "binary_type_pretty": "Face Recognition",
            "status": "RUNNING",
            "server": {
                "id": 3,
                "name": "NS2",
                "ip": "192.168.111.3"
            },
            "uid": "d83fd07c-9ae4-11ec-8995-a3b0e5228375"
        },
        {
            "id": 484,
            "binary_type": "face-recognition",
            "binary_type_pretty": "Face Recognition",
            "status": "RUNNING",
            "server": {
                "id": 4,
                "name": "NS3",
                "ip": "192.168.111.4"
            },
            "uid": "d83756e0-9ae4-11ec-8995-a3b0e5228375"
        },
        {
            "id": 494,
            "binary_type": "camera-obstacle",
            "binary_type_pretty": "Camera damage/overlap/vandalism detection",
            "status": "RUNNING",
            "server": {
                "id": 3,
                "name": "NS2",
                "ip": "192.168.111.3"
            },
            "uid": "38604aec-baff-11ec-8995-a3b0e5228375"
        }
    ],
    "links": {
        "first": "/?page=1",
        "last": "/?page=2",
        "prev": null,
        "next": "/?page=2"
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 2,
        "links": [
            {
                "url": null,
                "label": "pagination.previous",
                "active": false
            },
            {
                "url": "/?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": "/?page=2",
                "label": "2",
                "active": false
            },
            {
                "url": "/?page=2",
                "label": "pagination.next",
                "active": false
            }
        ],
        "path": "/",
        "per_page": 25,
        "to": 25,
        "total": 26
    }
}

401 Unauthorized

Authorization token not sent or not valid

cURL
BASH
curl -k --request POST \
	--url 'https://your-domain/api/admin/v1/analytic-binaries' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '{
    "per_page": 0,
    "page": 0,
    "search": "string",
    "sort": "string",
    "dir": "string",
    "binary_type": "string",
    "status": "string",
    "server_name": "string",
    "binary_uid": "string"
}'
PHP
PHP
$data = array (
  'per_page' => 0,
  'page' => 0,
  'search' => 'string',
  'sort' => 'string',
  'dir' => 'string',
  'binary_type' => 'string',
  'status' => 'string',
  'server_name' => 'string',
  'binary_uid' => '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-binaries', false, $context);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.