Перейти к содержанию

Сущности

Описание назначения каждой из сущностей доступно в руководстве пользователя.

SIP-сервер

{
    "id": 1,
    "name": "sip-server city docs example",
    "org_id": "000000000000000000000000",
    "host": "localhost",
    "port": 5060,
    "number": "110",
    "secret_key": "142d30b86685536c83534b5fcd203c0f",
    "created_date": "2024-12-09T13:20:10.039331+03:00",
    "updated_date": "2024-12-09T13:20:10.039331+03:00"
}

SIP-номер

{
    "server_id": 1,
    "id": 1,
    "name": "sip-number city docs example",
    "number": "110",
    "min_call_freq_sec": 60,
    "created_date": "2024-12-09T13:20:25.419948+03:00",
    "updated_date": "2024-12-09T13:20:25.419948+03:00"
}

Сценарий

    {
    "params": {},
    "algorithm_params": {
        "object_type": "body",
        "object_attributes": {},
        "stream_settings": {
            "disable_drops": true
        }
    },
    "id": 1,
    "org_id": "000000000000000000000000",
    "name": "scenario city docs example",
    "algorithm": "object-counter",
    "created_date": "2024-12-09T13:21:40.22073+03:00",
    "updated_date": "2024-12-09T13:21:40.22073+03:00"
    }

Фраза озвучки

{
    "id": 1,
    "org_id": "000000000000000000000000",
    "name": "voicing city docs example",
    "filepath": "/voicing/4653044540332664569.source",
    "ulawpath": "/voicing/4653044540332664570.ulaw",
    "type": "file",
    "transcription": "please don't smoke",
    "created_date": "2024-12-09T13:22:48.597163+03:00",
    "updated_date": "2024-12-09T13:22:48.597163+03:00"
}

Точка наблюдения

{
    "sip_number_id": 1,
    "id": 1,
    "org_id": "000000000000000000000000",
    "name": "observation point city docs example",
    "is_enabled": true,
    "voiceover_allowed": true,
    "created_date": "2024-12-09T13:30:52.953466+03:00",
    "updated_date": "2024-12-09T16:40:08.752713+03:00"
}

OPS - сценарий в точке наблюдения

{
    "rois": null,
    "op_id": 1,
    "scenario_id": 1,
    "id": 1,
    "org_id": "000000000000000000000000",
    "cam": "000000000000000000000000",
    "is_enabled": true,
    "voiceover_allowed": true,
    "status": "RUNNING",
    "status_msg": "",
    "created_date": "2024-12-09T13:31:11.97653+03:00",
    "updated_date": "2024-12-09T13:44:05.497065+03:00"
}