JSON
{
"id": 52,
"title": "Детекция пересечения линии",
"type": "line-intersection",
"type_pretty": "Детекция пересечения линии",
"status": "active",
"cameras": [
{
"id": 7,
"group_id": 2,
"status": "inactive",
"type": "media_server_v2",
"start_at": "",
"created_at": "2022-12-16 10:25:54",
"billing_id": null,
"pretty_name": "Камера 1",
"pretty_text": "Камеры",
"short_address": "Камеры",
"full_address": "Камеры",
"lat": null,
"lng": null,
"azimuth": null,
"streams": [
{
"id": 13,
"type": "high",
"camera_id": 7,
"is_preview_from_server": true,
"is_archive_from_server": null,
"status": "active",
"has_sound": false,
"width": null,
"height": null
},
{
"id": 14,
"type": "low",
"camera_id": 7,
"is_preview_from_server": true,
"is_archive_from_server": null,
"status": "active",
"has_sound": false,
"width": null,
"height": null
}
],
"has_sound": false,
"archive_ranges": [],
"archive_recording_timetable": null,
"is_archive_recording": false,
"archive_recording_type": "fulltime",
"can_change_archive_timetable": false,
"scripts": [
{
"id": 25,
"title": "Установить метку",
"schedule": [],
"timetable": {
"days": [
{
"to": "23:59:00+05:00",
"from": "00:00:00+05:00",
"type": "same_every_day",
"breaks": []
}
],
"intervals": []
},
"status": "active",
"created_at": "2022-12-21 12:50:21",
"updated_at": "2022-12-21 12:50:21",
"users": [
{
"id": 5,
"login": "user",
"name": "user",
"parent_id": null,
"created_at": "2022-12-06 20:20:58",
"updated_at": "2022-12-21 10:53:45",
"access_token_id": null,
"can_update_password": true
}
],
"event": {
"id": 12,
"name": "line-intersection",
"description": "Детекция пересечения линии",
"color": "#813A79",
"analytic_type": "line-intersection"
},
"extra": null
}
],
"meta": {
"lines": [
{
"name": "Line 1",
"coords": [
{
"x": 0.203125,
"y": 0.37222222222222223
},
{
"x": 0.8171875,
"y": 0.8777777777777778
}
]
}
]
},
"analytic_case_camera_status": "active",
"analytic_case_camera_status_pretty": "Камера активна",
"analytic_case_camera_user_status": null,
"analytic_case_camera_user_status_pretty": null,
"event": null,
"is_bridge": false,
"is_favorite": false,
"user_status": "active",
"name": "Камера 1"
},
{
"id": 10,
"group_id": 2,
"status": "active",
"type": "media_server_v2",
"start_at": "",
"created_at": "2022-12-16 10:25:55",
"billing_id": null,
"pretty_name": "Камера 2",
"pretty_text": "Камеры",
"short_address": "Камеры",
"full_address": "Камеры",
"lat": null,
"lng": null,
"azimuth": null,
"streams": [
{
"id": 19,
"type": "high",
"camera_id": 10,
"is_preview_from_server": true,
"is_archive_from_server": null,
"status": "active",
"has_sound": false,
"width": null,
"height": null
},
{
"id": 20,
"type": "low",
"camera_id": 10,
"is_preview_from_server": true,
"is_archive_from_server": null,
"status": "active",
"has_sound": false,
"width": null,
"height": null
}
],
"has_sound": false,
"archive_ranges": [],
"archive_recording_timetable": null,
"is_archive_recording": false,
"archive_recording_type": "fulltime",
"can_change_archive_timetable": false,
"scripts": [
{
"id": 25,
"title": "Установить метку",
"schedule": [],
"timetable": {
"days": [
{
"to": "23:59:00+05:00",
"from": "00:00:00+05:00",
"type": "same_every_day",
"breaks": []
}
],
"intervals": []
},
"status": "active",
"created_at": "2022-12-21 12:50:21",
"updated_at": "2022-12-21 12:50:21",
"users": [
{
"id": 5,
"login": "user",
"name": "user",
"parent_id": null,
"created_at": "2022-12-06 20:20:58",
"updated_at": "2022-12-21 10:53:45",
"access_token_id": null,
"can_update_password": true
}
],
"event": {
"id": 12,
"name": "line-intersection",
"description": "Детекция пересечения линии",
"color": "#813A79",
"analytic_type": "line-intersection"
},
"extra": null
}
],
"meta": {
"line": [
{
"name": "Line 1",
"coords": [
{
"x": 0.203125,
"y": 0.37222222222222223
},
{
"x": 0.8171875,
"y": 0.8777777777777778
}
]
}
]
},
"analytic_case_camera_status": "inactive",
"analytic_case_camera_status_pretty": "Камера неактивна",
"analytic_case_camera_user_status": "failed_to_create",
"analytic_case_camera_user_status_pretty": "Ошибка создания",
"event": null,
"is_bridge": false,
"is_favorite": false,
"user_status": "active",
"name": "Камера 2"
}
],
"created_at": "2022-12-21 12:50:39",
"updated_at": "2022-12-21 12:50:39",
"color": "#5CBCE7",
"available_events": [],
"is_fails_exists": true,
"errors": [
"Ошибка создания камеры Камера 2."
]
}