Skip to main content
Skip table of contents

Список серверов

Возвращает список серверов.

GET /client_api/servers/
Body
searchrequired
string
Поиск по имени сервера или по IP-адресу
orderingrequired
string
Сортировка по name или по ip. По умолчанию по name(asc). Сортировка desc: -ip OR -name
Response
200
Возвращает JSON массив объектов с информацией о серверах
JSON
[{
            "id": 2,
            "name": "Server 1",
            "ip": "188.343.33.55",
            "port": 8081,
            "binary": [
                {
                    "id": 5,
                    "binary_type": "licplate-recognition",
                    "streams": [
                        {
                            "id": 4,
                            "job_uid": "27b0b1cd-1713-11ed-9820-7478270bd33e",
                            "platform_json": {"key":"value"},
                            "binary_json": {"key":"value"},
                            "status": 5,
                            "stream_uid": "55557b9f-327d-11ec-8f46-dc41a97a0ad6",
                            "camera_group_uid": null,
                            "created_at": "2022-08-08T12:11:18.330615Z",
                            "updated_at": "2022-08-08T12:11:18.330615Z"
                        }
                    ],
                    "status": 2,
                    "options": "Options",
                    "uid": "671b9e46-14b9-11ed-8914-7478270bd33e",
                    "executable_path": "/api/executable_instances/",
                    "config_file_path": "/opt/video-analytics/",
                    "additional_params": "Additional params"
                }
            ]
        }]
string
nameИмя сервера.
string
ipIP-адрес сервера.
int
portПорт.
array
binaryМассив исполняемых файлов сервера и информация по ним.
array
binary.streamsМассив стримов исполняемого файла и информация по ним.
JavaScript errors detected

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

If this problem persists, please contact our support.