Skip to main content
Skip table of contents

Cameras with complaints

List of сameras with сomplaints

GET api/admin/v1/issues

Method parameters

string sort, field by which the complaints should be sorted


string dir, sorting direction. desc - from larger to smaller, asc - from smaller to larger


int per_page, number of items per pagination page. Default is 25

200 OK

Returns a list of camera objects with complaints

JSON
{
    "data": [
        {
            "id": 745,
            "group_id": 98,
            "status": "active",
            "type": "media_server_v2",
            "pretty_text": "Cameras",
            "short_pretty": "Cameras",
            "start_at": "2022-06-07 12:06:09",
            "created_at": "2022-01-27 18:55:48",
            "name": "Camera 1",
            "can_edit": true,
            "origin": null,
            "group_type": "public",
            "shared_from": null,
            "ip": "192.168.7.44",
            "lat": null,
            "lng": null,
            "azimuth": null,
            "is_sensitive": 0,
            "is_public": 1,
            "issues": [
                {
                    "id": 1,
                    "title": "Foreign objects in the lens",
                    "count": 2,
                    "created_at": "2022-06-21 14:16:47",
                    "updated_at": "2022-06-21 14:54:40"
                },
                {
                    "id": 3,
                    "title": "No picture",
                    "count": 1,
                    "created_at": "2022-06-21 14:16:10",
                    "updated_at": "2022-06-21 14:16:10"
                },
                {
                    "id": 4,
                    "title": "Interruptions in work",
                    "count": 1,
                    "created_at": "2022-06-21 14:16:17",
                    "updated_at": "2022-06-21 14:16:17"
                }
            ],
            "is_ip_reserved": false,
            "count_issues": 4,
            "source": "manual",
            "archive_storage_days": 15,
            "is_archive_recording": true,
            "archive_recording_type": "fulltime",
            "is_increased_reconnect": 0,
            "is_sound_enabled": false,
            "is_bridge": false,
            "is_auto_create_streams": false,
            "is_provisioning_enable": false
        },
        {
            "id": 746,
            "group_id": 98,
            "status": "active",
            "type": "media_server_v2",
            "pretty_text": "Cameras",
            "short_pretty": "Cameras",
            "start_at": "2022-06-07 12:06:09",
            "created_at": "2022-01-27 19:12:36",
            "name": "Camera 2",
            "can_edit": true,
            "origin": null,
            "group_type": "public",
            "shared_from": null,
            "ip": "192.168.7.36",
            "lat": null,
            "lng": null,
            "azimuth": null,
            "is_sensitive": 0,
            "is_public": 1,
            "issues": [
                {
                    "id": 1,
                    "title": "Foreign objects in the lens",
                    "count": 8,
                    "created_at": "2022-06-21 12:12:47",
                    "updated_at": "2022-06-21 14:54:52"
                },
                {
                    "id": 2,
                    "title": "No sound",
                    "count": 2,
                    "created_at": "2022-06-21 14:54:35",
                    "updated_at": "2022-06-21 14:54:47"
                }
            ],
            "is_ip_reserved": false,
            "count_issues": 10,
            "source": "manual",
            "archive_storage_days": 15,
            "is_archive_recording": true,
            "archive_recording_type": "fulltime",
            "is_increased_reconnect": 0,
            "is_sound_enabled": true,
            "is_bridge": false,
            "is_auto_create_streams": false,
            "is_provisioning_enable": false
        },
        {
            "id": 747,
            "group_id": 98,
            "status": "inactive",
            "type": "media_server_v2",
            "pretty_text": "Cameras",
            "short_pretty": "Cameras",
            "start_at": "",
            "created_at": "2022-01-27 19:13:18",
            "name": "Camera 3",
            "can_edit": true,
            "origin": null,
            "group_type": "public",
            "shared_from": null,
            "ip": "192.168.7.34",
            "lat": null,
            "lng": null,
            "azimuth": null,
            "is_sensitive": 0,
            "is_public": 1,
            "issues": [
                {
                    "id": 1,
                    "title": "Foreign objects in the lens",
                    "count": 3,
                    "created_at": "2022-06-21 14:53:56",
                    "updated_at": "2022-06-21 14:54:09"
                }
            ],
            "is_ip_reserved": false,
            "count_issues": 3,
            "source": "manual",
            "archive_storage_days": 15,
            "is_archive_recording": true,
            "archive_recording_type": "fulltime",
            "is_increased_reconnect": 0,
            "is_sound_enabled": false,
            "is_bridge": false,
            "is_auto_create_streams": false,
            "is_provisioning_enable": false
        },
        {
            "id": 749,
            "group_id": 99,
            "status": "active",
            "type": "media_server_v2",
            "pretty_text": "Cameras",
            "short_pretty": "Cameras",
            "start_at": "",
            "created_at": "2022-01-27 19:15:22",
            "name": "Camera 4",
            "can_edit": true,
            "origin": null,
            "group_type": "public",
            "shared_from": null,
            "ip": "192.168.7.42",
            "lat": null,
            "lng": null,
            "azimuth": null,
            "is_sensitive": 0,
            "is_public": 1,
            "issues": [
                {
                    "id": 1,
                    "title": "Foreign objects in the lens",
                    "count": 1,
                    "created_at": "2022-06-21 12:00:06",
                    "updated_at": "2022-06-21 12:00:06"
                }
            ],
            "is_ip_reserved": false,
            "count_issues": 1,
            "source": "manual",
            "archive_storage_days": 15,
            "is_archive_recording": false,
            "archive_recording_type": "timetable",
            "is_increased_reconnect": 0,
            "is_sound_enabled": false,
            "is_bridge": false,
            "is_auto_create_streams": false,
            "is_provisioning_enable": false
        },
        {
            "id": 751,
            "group_id": 101,
            "status": "active",
            "type": "media_server_v2",
            "pretty_text": "Cameras",
            "short_pretty": "Cameras",
            "start_at": "2022-06-05 12:06:09",
            "created_at": "2022-01-27 19:46:27",
            "name": "Camera 5",
            "can_edit": true,
            "origin": null,
            "group_type": "public",
            "shared_from": null,
            "ip": "192.168.7.22",
            "lat": null,
            "lng": null,
            "azimuth": null,
            "is_sensitive": 0,
            "is_public": 1,
            "issues": [
                {
                    "id": 1,
                    "title": "Foreign objects in the lens",
                    "count": 27,
                    "created_at": "2022-06-21 11:50:09",
                    "updated_at": "2022-06-21 14:16:24"
                },
                {
                    "id": 2,
                    "title": "No sound",
                    "count": 4,
                    "created_at": "2022-06-21 11:03:39",
                    "updated_at": "2022-06-21 11:48:50"
                },
                {
                    "id": 3,
                    "title": "No picture",
                    "count": 1,
                    "created_at": "2022-06-21 11:03:53",
                    "updated_at": "2022-06-21 11:03:53"
                },
                {
                    "id": 4,
                    "title": "Interruptions in work",
                    "count": 2,
                    "created_at": "2022-06-21 11:04:00",
                    "updated_at": "2022-06-21 11:40:33"
                },
                {
                    "id": 5,
                    "title": "Swing mechanism defective",
                    "count": 3,
                    "created_at": "2022-06-21 11:04:07",
                    "updated_at": "2022-06-21 12:28:46"
                }
            ],
            "is_ip_reserved": false,
            "count_issues": 37,
            "source": "manual",
            "archive_storage_days": 17,
            "is_archive_recording": false,
            "archive_recording_type": "fulltime",
            "is_increased_reconnect": 0,
            "is_sound_enabled": false,
            "is_bridge": false,
            "is_auto_create_streams": false,
            "is_provisioning_enable": false
        },
        {
            "id": 752,
            "group_id": 101,
            "status": "active",
            "type": "media_server_v2",
            "pretty_text": "Cameras",
            "short_pretty": "Cameras",
            "start_at": "2022-06-07 12:06:09",
            "created_at": "2022-01-27 19:47:17",
            "name": "Camera 6",
            "can_edit": true,
            "origin": null,
            "group_type": "public",
            "shared_from": null,
            "ip": "192.168.7.26",
            "lat": null,
            "lng": null,
            "azimuth": null,
            "is_sensitive": 0,
            "is_public": 1,
            "issues": [
                {
                    "id": 1,
                    "title": "Foreign objects in the lens",
                    "count": 6,
                    "created_at": "2022-06-21 12:01:21",
                    "updated_at": "2022-06-21 14:55:01"
                },
                {
                    "id": 2,
                    "title": "No sound",
                    "count": 1,
                    "created_at": "2022-06-21 14:55:09",
                    "updated_at": "2022-06-21 14:55:09"
                }
            ],
            "is_ip_reserved": false,
            "count_issues": 7,
            "source": "manual",
            "archive_storage_days": 15,
            "is_archive_recording": true,
            "archive_recording_type": "fulltime",
            "is_increased_reconnect": 0,
            "is_sound_enabled": false,
            "is_bridge": false,
            "is_auto_create_streams": false,
            "is_provisioning_enable": false
        },
        {
            "id": 753,
            "group_id": 101,
            "status": "active",
            "type": "media_server_v2",
            "pretty_text": "Cameras",
            "short_pretty": "Cameras",
            "start_at": "2022-06-07 12:06:09",
            "created_at": "2022-01-27 19:48:31",
            "name": "Camera 7",
            "can_edit": true,
            "origin": null,
            "group_type": "public",
            "shared_from": null,
            "ip": "192.168.7.35",
            "lat": null,
            "lng": null,
            "azimuth": null,
            "is_sensitive": 0,
            "is_public": 1,
            "issues": [
                {
                    "id": 1,
                    "title": "Foreign objects in the lens",
                    "count": 3,
                    "created_at": "2022-06-21 11:43:45",
                    "updated_at": "2022-06-21 12:12:39"
                },
                {
                    "id": 2,
                    "title": "No sound",
                    "count": 2,
                    "created_at": "2022-06-21 11:43:28",
                    "updated_at": "2022-06-21 12:08:32"
                },
                {
                    "id": 3,
                    "title": "No picture",
                    "count": 1,
                    "created_at": "2022-06-21 12:08:03",
                    "updated_at": "2022-06-21 12:08:03"
                },
                {
                    "id": 5,
                    "title": "Swing mechanism defective",
                    "count": 1,
                    "created_at": "2022-06-21 12:08:20",
                    "updated_at": "2022-06-21 12:08:20"
                }
            ],
            "is_ip_reserved": false,
            "count_issues": 7,
            "source": "manual",
            "archive_storage_days": 15,
            "is_archive_recording": true,
            "archive_recording_type": "fulltime",
            "is_increased_reconnect": 0,
            "is_sound_enabled": false,
            "is_bridge": false,
            "is_auto_create_streams": false,
            "is_provisioning_enable": false
        },
        {
            "id": 755,
            "group_id": 101,
            "status": "active",
            "type": "media_server_v2",
            "pretty_text": "Cameras",
            "short_pretty": "Cameras",
            "start_at": "2022-06-07 12:06:09",
            "created_at": "2022-01-27 19:52:21",
            "name": "Camera 8",
            "can_edit": true,
            "origin": null,
            "group_type": "public",
            "shared_from": null,
            "ip": "192.168.7.23",
            "lat": null,
            "lng": null,
            "azimuth": null,
            "is_sensitive": 0,
            "is_public": 1,
            "issues": [
                {
                    "id": 1,
                    "title": "Foreign objects in the lens",
                    "count": 3,
                    "created_at": "2022-06-21 11:43:35",
                    "updated_at": "2022-06-21 13:27:31"
                },
                {
                    "id": 2,
                    "title": "No sound",
                    "count": 1,
                    "created_at": "2022-06-21 11:47:00",
                    "updated_at": "2022-06-21 11:47:00"
                }
            ],
            "is_ip_reserved": false,
            "count_issues": 4,
            "source": "manual",
            "archive_storage_days": 15,
            "is_archive_recording": true,
            "archive_recording_type": "fulltime",
            "is_increased_reconnect": 0,
            "is_sound_enabled": false,
            "is_bridge": false,
            "is_auto_create_streams": false,
            "is_provisioning_enable": false
        },
        {
            "id": 756,
            "group_id": 101,
            "status": "active",
            "type": "media_server_v2",
            "pretty_text": "Cameras",
            "short_pretty": "Cameras",
            "start_at": "2022-06-07 12:06:09",
            "created_at": "2022-01-27 19:52:55",
            "name": "Camera 9",
            "can_edit": true,
            "origin": null,
            "group_type": "public",
            "shared_from": null,
            "ip": "192.168.7.19",
            "lat": null,
            "lng": null,
            "azimuth": null,
            "is_sensitive": 0,
            "is_public": 1,
            "issues": [
                {
                    "id": 1,
                    "title": "Foreign objects in the lens",
                    "count": 1,
                    "created_at": "2022-06-21 14:16:59",
                    "updated_at": "2022-06-21 14:16:59"
                }
            ],
            "is_ip_reserved": false,
            "count_issues": 1,
            "source": "manual",
            "archive_storage_days": 15,
            "is_archive_recording": true,
            "archive_recording_type": "fulltime",
            "is_increased_reconnect": 0,
            "is_sound_enabled": false,
            "is_bridge": false,
            "is_auto_create_streams": false,
            "is_provisioning_enable": false
        },
        {
            "id": 758,
            "group_id": 101,
            "status": "active",
            "type": "media_server_v2",
            "pretty_text": "Cameras",
            "short_pretty": "Cameras",
            "start_at": "2022-06-07 12:06:09",
            "created_at": "2022-01-27 19:54:45",
            "name": "Camera 10",
            "can_edit": true,
            "origin": null,
            "group_type": "public",
            "shared_from": null,
            "ip": "192.168.7.31",
            "lat": null,
            "lng": null,
            "azimuth": null,
            "is_sensitive": 0,
            "is_public": 1,
            "issues": [
                {
                    "id": 1,
                    "title": "Foreign objects in the lens",
                    "count": 1,
                    "created_at": "2022-06-21 14:53:41",
                    "updated_at": "2022-06-21 14:53:41"
                }
            ],
            "is_ip_reserved": false,
            "count_issues": 1,
            "source": "manual",
            "archive_storage_days": 15,
            "is_archive_recording": true,
            "archive_recording_type": "fulltime",
            "is_increased_reconnect": 0,
            "is_sound_enabled": false,
            "is_bridge": false,
            "is_auto_create_streams": false,
            "is_provisioning_enable": false
        },
        {
            "id": 759,
            "group_id": 101,
            "status": "active",
            "type": "media_server_v2",
            "pretty_text": "Cameras",
            "short_pretty": "Cameras",
            "start_at": "2022-06-07 12:06:09",
            "created_at": "2022-01-27 19:55:17",
            "name": "Camera 11",
            "can_edit": true,
            "origin": null,
            "group_type": "public",
            "shared_from": null,
            "ip": "192.168.7.33",
            "lat": null,
            "lng": null,
            "azimuth": null,
            "is_sensitive": 0,
            "is_public": 1,
            "issues": [
                {
                    "id": 1,
                    "title": "Foreign objects in the lens",
                    "count": 1,
                    "created_at": "2022-06-21 14:39:51",
                    "updated_at": "2022-06-21 14:39:51"
                }
            ],
            "is_ip_reserved": false,
            "count_issues": 1,
            "source": "manual",
            "archive_storage_days": 15,
            "is_archive_recording": true,
            "archive_recording_type": "fulltime",
            "is_increased_reconnect": 0,
            "is_sound_enabled": false,
            "is_bridge": false,
            "is_auto_create_streams": false,
            "is_provisioning_enable": false
        },
        {
            "id": 763,
            "group_id": 100,
            "status": "inactive",
            "type": "media_server_v2",
            "pretty_text": "Cameras",
            "short_pretty": "Cameras",
            "start_at": "",
            "created_at": "2022-01-27 20:13:33",
            "name": "Camera 12",
            "can_edit": true,
            "origin": null,
            "group_type": "public",
            "shared_from": null,
            "ip": "192.168.7.113",
            "lat": 53.899705136753,
            "lng": 27.563136887374,
            "azimuth": null,
            "is_sensitive": 0,
            "is_public": 1,
            "issues": [
                {
                    "id": 4,
                    "title": "Interruptions in work",
                    "count": 1,
                    "created_at": "2022-05-30 11:12:36",
                    "updated_at": "2022-05-30 11:12:36"
                }
            ],
            "is_ip_reserved": false,
            "count_issues": 1,
            "source": "manual",
            "archive_storage_days": 15,
            "is_archive_recording": true,
            "archive_recording_type": "fulltime",
            "is_increased_reconnect": 0,
            "is_sound_enabled": false,
            "is_bridge": false,
            "is_auto_create_streams": false,
            "is_provisioning_enable": false
        },
        {
            "id": 766,
            "group_id": 100,
            "status": "active",
            "type": "media_server_v2",
            "pretty_text": "Cameras",
            "short_pretty": "Cameras",
            "start_at": "2022-06-07 12:06:09",
            "created_at": "2022-01-27 20:17:25",
            "name": "Camera 13",
            "can_edit": true,
            "origin": null,
            "group_type": "public",
            "shared_from": null,
            "ip": "192.168.7.212",
            "lat": null,
            "lng": null,
            "azimuth": null,
            "is_sensitive": 0,
            "is_public": 1,
            "issues": [
                {
                    "id": 2,
                    "title": "No sound",
                    "count": 1,
                    "created_at": "2022-06-15 11:02:05",
                    "updated_at": "2022-06-15 11:02:05"
                }
            ],
            "is_ip_reserved": false,
            "count_issues": 1,
            "source": "manual",
            "archive_storage_days": 15,
            "is_archive_recording": true,
            "archive_recording_type": "fulltime",
            "is_increased_reconnect": 0,
            "is_sound_enabled": false,
            "is_bridge": false,
            "is_auto_create_streams": false,
            "is_provisioning_enable": false
        },
        {
            "id": 832,
            "group_id": 124,
            "status": "active",
            "type": "media_server_v2",
            "pretty_text": "Cameras",
            "short_pretty": "Cameras",
            "start_at": "2022-06-21 12:06:09",
            "created_at": "2022-02-18 15:03:58",
            "name": "Camera 14",
            "can_edit": true,
            "origin": null,
            "group_type": "public",
            "shared_from": null,
            "ip": "192.168.16.228",
            "lat": null,
            "lng": null,
            "azimuth": null,
            "is_sensitive": 0,
            "is_public": 0,
            "issues": [
                {
                    "id": 2,
                    "title": "No sound",
                    "count": 1,
                    "created_at": "2022-06-07 11:06:29",
                    "updated_at": "2022-06-07 11:06:29"
                },
                {
                    "id": 4,
                    "title": "Interruptions in work",
                    "count": 2,
                    "created_at": "2022-06-21 11:46:38",
                    "updated_at": "2022-06-21 11:46:40"
                }
            ],
            "is_ip_reserved": false,
            "count_issues": 3,
            "source": "manual",
            "archive_storage_days": 1,
            "is_archive_recording": true,
            "archive_recording_type": "fulltime",
            "is_increased_reconnect": 0,
            "is_sound_enabled": true,
            "is_bridge": false,
            "is_auto_create_streams": false,
            "is_provisioning_enable": false
        },
        {
            "id": 837,
            "group_id": 124,
            "status": "active",
            "type": "media_server_v2",
            "pretty_text": "Cameras",
            "short_pretty": "Cameras",
            "start_at": "2022-06-21 12:06:09",
            "created_at": "2022-02-18 15:12:41",
            "name": "Camera 15",
            "can_edit": true,
            "origin": null,
            "group_type": "public",
            "shared_from": null,
            "ip": "192.168.16.138",
            "lat": null,
            "lng": null,
            "azimuth": null,
            "is_sensitive": 0,
            "is_public": 0,
            "issues": [
                {
                    "id": 2,
                    "title": "No sound",
                    "count": 1,
                    "created_at": "2022-06-13 11:04:42",
                    "updated_at": "2022-06-13 11:04:42"
                },
                {
                    "id": 3,
                    "title": "No picture",
                    "count": 1,
                    "created_at": "2022-06-09 13:55:29",
                    "updated_at": "2022-06-09 13:55:29"
                },
                {
                    "id": 5,
                    "title": "Swing mechanism defective",
                    "count": 1,
                    "created_at": "2022-06-09 13:55:37",
                    "updated_at": "2022-06-09 13:55:37"
                }
            ],
            "is_ip_reserved": false,
            "count_issues": 3,
            "source": "manual",
            "archive_storage_days": 1,
            "is_archive_recording": true,
            "archive_recording_type": "fulltime",
            "is_increased_reconnect": 0,
            "is_sound_enabled": true,
            "is_bridge": false,
            "is_auto_create_streams": false,
            "is_provisioning_enable": false
        }
    ],
    "links": {
        "first": "https://vms.local/api/admin/v1/issues?page=1",
        "last": "https://vms.local/api/admin/v1/issues?page=2",
        "prev": null,
        "next": "https://vms.local/api/admin/v1/issues?page=2"
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 2,
        "links": [
            {
                "url": null,
                "label": "pagination.previous",
                "active": false
            },
            {
                "url": "https://vms.local/api/admin/v1/issues?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": "https://vms.local/api/admin/v1/issues?page=2",
                "label": "2",
                "active": false
            },
            {
                "url": "https://vms.local/api/admin/v1/issues?page=2",
                "label": "pagination.next",
                "active": false
            }
        ],
        "path": "https://vms.local/api/admin/v1/issues",
        "per_page": 15,
        "to": 15,
        "total": 21
    }
}

401 Unauthorized

Authorization token is not provided or is invalid. Obtaining a token

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

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

If this problem persists, please contact our support.