JSON
{
"id": 41,
"title": "Детекция вторжения в зону",
"type": "motion-detect",
"type_pretty": "Детекция вторжения в зону",
"status": "active",
"cameras": [
{
"id": 8,
"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": 15,
"type": "high",
"camera_id": 8,
"is_preview_from_server": true,
"is_archive_from_server": null,
"status": "active",
"has_sound": false,
"width": null,
"height": null
},
{
"id": 16,
"type": "low",
"camera_id": 8,
"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": 17,
"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": "2021-12-27 12:32:46",
"updated_at": "2021-12-27 12:32:46",
"users": [],
"event": {
"id": 2,
"name": "motion-detect",
"description": "Детекция вторжения в зону",
"color": "#5AD057",
"analytic_type": "motion-detect"
},
"extra": null
},
{
"id": 18,
"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": "2021-12-27 12:36:20",
"updated_at": "2021-12-27 12:36:20",
"users": [],
"event": {
"id": 2,
"name": "motion-detect",
"description": "Детекция вторжения в зону",
"color": "#5AD057",
"analytic_type": "motion-detect"
},
"extra": null
}
],
"meta": {
"figures": [
{
"name": "Figure 1",
"coords": [
{
"x": 0.153125,
"y": 0.31666666666666665
},
{
"x": 0.3421875,
"y": 0.7361111111111112
},
{
"x": 0.86875,
"y": 0.6472222222222223
},
{
"x": 0.78125,
"y": 0.125
}
]
}
]
},
"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": "Камера 1"
},
{
"id": 2,
"group_id": 2,
"status": "inactive",
"type": "media_server_v2",
"start_at": "",
"created_at": "2022-12-06 20:20:50",
"billing_id": null,
"pretty_name": "Камера 2",
"pretty_text": "Камеры",
"short_address": "Камеры",
"full_address": "Камеры",
"lat": null,
"lng": null,
"azimuth": null,
"streams": [
{
"id": 3,
"type": "high",
"camera_id": 2,
"is_preview_from_server": true,
"is_archive_from_server": null,
"status": "active",
"has_sound": false,
"width": null,
"height": null
},
{
"id": 4,
"type": "low",
"camera_id": 2,
"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": 18,
"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": "2021-12-27 12:36:20",
"updated_at": "2021-12-27 12:36:20",
"users": [],
"event": {
"id": 2,
"name": "motion-detect",
"description": "Детекция вторжения в зону",
"color": "#5AD057",
"analytic_type": "motion-detect"
},
"extra": null
}
],
"meta": {
"figures": [
{
"name": "Figure 1",
"coords": [
{
"x": 0.153125,
"y": 0.31666666666666665
},
{
"x": 0.3421875,
"y": 0.7361111111111112
},
{
"x": 0.86875,
"y": 0.6472222222222223
},
{
"x": 0.78125,
"y": 0.125
}
]
}
{
"name": "Figure 1",
"coords": [
{
"x": 0.153125,
"y": 0.31666666666666665
},
{
"x": 0.3421875,
"y": 0.7361111111111112
},
{
"x": 0.86875,
"y": 0.6472222222222223
},
{
"x": 0.78125,
"y": 0.125
}
]
}
]
},
"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": "Камера 2"
},
{
"id": 3,
"group_id": 5,
"status": "inactive",
"type": "media_server_v2",
"start_at": "",
"created_at": "2022-12-06 20:20:50",
"billing_id": null,
"pretty_name": "Камера 1",
"pretty_text": "Камеры",
"short_address": "Камеры",
"full_address": "Камеры",
"lat": null,
"lng": null,
"azimuth": null,
"streams": [
{
"id": 5,
"type": "high",
"camera_id": 3,
"is_preview_from_server": true,
"is_archive_from_server": null,
"status": "active",
"has_sound": false,
"width": null,
"height": null
},
{
"id": 6,
"type": "low",
"camera_id": 3,
"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": 17,
"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": "2021-12-27 12:32:46",
"updated_at": "2021-12-27 12:32:46",
"users": [],
"event": {
"id": 2,
"name": "motion-detect",
"description": "Детекция вторжения в зону",
"color": "#5AD057",
"analytic_type": "motion-detect"
},
"extra": null
},
{
"id": 18,
"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": "2021-12-27 12:36:20",
"updated_at": "2021-12-27 12:36:20",
"users": [],
"event": {
"id": 2,
"name": "motion-detect",
"description": "Детекция вторжения в зону",
"color": "#5AD057",
"analytic_type": "motion-detect"
},
"extra": null
}
],
"meta": {
"figures": [
{
"name": "Figure 1",
"coords": [
{
"x": 0.153125,
"y": 0.31666666666666665
},
{
"x": 0.3421875,
"y": 0.7361111111111112
},
{
"x": 0.86875,
"y": 0.6472222222222223
},
{
"x": 0.78125,
"y": 0.125
}
]
}
]
},
"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"
}
],
"created_at": "2022-12-21 12:38:38",
"updated_at": "2022-12-21 12:38:38",
"color": "#2CA329",
"available_events": [],
"is_fails_exists": true,
"errors": [
"Ошибка создания камеры Камера 3."
]
}