Skip to main content
Skip table of contents

View a deleted intercom

View a deleted intercom

GET /api/admin/v1/deleted-intercoms/{intercom}

Parameters

int intercom, Unique identifier of the deleted intercom

200 OK

Successful response

JSON
{
    "id": 12,
    "title": "interconnection_intercom",
    "is_online": true,
    "is_registered": null,
    "is_restricted_live": false,
    "is_restricted_archive": false,
    "is_open_door_key": true,
    "is_open_door_code": true,
    "is_open_door_app": true,
    "is_open_door_face": false,
    "group_id": null,
    "camera_id": 13,
    "flat_from": null,
    "flat_to": null,
    "flat_offset": null,
    "department": null,
    "department_name": null,
    "department_type": null,
    "department_type_pretty": null,
    "uuid": "a05d8566-b7e8-476d-95ed-8a7a7679fe07",
    "address": null,
    "group": null,
    "camera": {
        "id": 13,
        "group_id": 41,
        "status": "deleted",
        "type": "media_server_v2",
        "start_at": null,
        "created_at": "2024-06-11T13:20:16.000000Z",
        "name": "Стенд 1 (DE/W(T5) + микрофон)",
        "streams": [
            {
                "id": 845,
                "type": "high",
                "camera_id": 13,
                "status": "deleted",
                "url": "rtsp://login:password@127.0.0.1:554/Streaming/Channels/101",
                "bitrate": null,
                "resolution": null,
                "output_rate": null,
                "ip": "192.168.204.33",
                "uuid": "18796c79-e22f-4eb1-a871-8bf6a37a1220",
                "streams_count": null,
                "created_at": "2024-09-10T09:58:47.000000Z",
                "updated_at": "2024-09-23T14:51:29.000000Z",
                "is_preview_from_server": true,
                "is_archive_from_server": null,
                "is_enabled": false,
                "is_can_transfer": true,
                "source": "auto",
                "is_sound_enabled": null,
                "reconnect_attempt": null,
                "reconnect_total": null,
                "reconnect_time": null,
                "disconnections_count": 0,
                "is_actual": true,
                "condition": "active",
                "stopped_at": "",
                "video_codec": null,
                "audio_codec": null
            },
            {
                "id": 2096,
                "type": "low",
                "camera_id": 13,
                "status": "deleted",
                "url": "rtsp://login:password@127.0.0.1:554:554/Streaming/Channels/102",
                "bitrate": null,
                "resolution": null,
                "output_rate": null,
                "ip": "192.168.204.33",
                "uuid": "45015ac2-01c1-49b1-a763-e17f43224078",
                "streams_count": null,
                "created_at": "2024-09-11T08:24:35.000000Z",
                "updated_at": "2024-09-23T14:51:29.000000Z",
                "is_preview_from_server": true,
                "is_archive_from_server": null,
                "is_enabled": false,
                "is_can_transfer": true,
                "source": "auto",
                "is_sound_enabled": null,
                "reconnect_attempt": null,
                "reconnect_total": null,
                "reconnect_time": null,
                "disconnections_count": 0,
                "is_actual": true,
                "condition": "active",
                "stopped_at": "",
                "video_codec": null,
                "audio_codec": null
            }
        ],
        "can_edit": true,
        "origin": null,
        "group_type": "public",
        "ip": "192.168.204.33",
        "lat": 58.73447,
        "lng": 27.799226,
        "azimuth": null,
        "is_sensitive": false,
        "is_buffer_enabled": false,
        "is_public": 0,
        "archive_ranges": [],
        "archive_recording_timetable": null,
        "motion_detaction_timetable": [],
        "is_onvif_configured": true,
        "onvif_configuration": {
            "credentials": {
                "ip": "192.168.204.27",
                "port": "80",
                "login": "admin",
                "password": "123Camera_stand",
                "auth_method": "digest",
                "onvif_network": null
            }
        },
        "streams_rtsp": {
            "low": "rtsp://login:password@127.0.0.1:554:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif",
            "high": "rtsp://login:password@127.0.0.1:554:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif"
        },
        "can_change_archive_timetable": true,
        "is_can_manage_archive_storage_days": true,
        "is_ip_reserved": false,
        "count_issues": 0,
        "source": "auto",
        "archive_storage_days": 1,
        "is_archive_recording": false,
        "is_can_manage_archive_recording": false,
        "archive_recording_type": "fulltime",
        "is_local_archive_enabled": false,
        "local_archive_storage_days": null,
        "is_increased_reconnect": 0,
        "is_sound_enabled": true,
        "profile": {
            "id": 11,
            "data": {
                "key1": "value1",
                "key2": "value2",
                "key3": "value3",
                "key4": "value4",
                "key5": "value5"
            },
            "created_at": "2024-06-11T13:20:16.000000Z"
        },
        "is_bridge": false,
        "is_agent": false,
        "is_auto_create_streams": true,
        "is_provisioning_enable": true,
        "is_can_manage_streams": false,
        "streams_source": "auto",
        "is_editable": true,
        "status_changed_at": "2024-08-22T14:03:43.000000Z",
        "is_intercom": true,
        "deleted_at": "2024-09-23T14:51:29.000000Z",
        "is_need_replace": false,
        "is_visible_on_map": true
    },
    "created_at": "2024-09-16T14:37:33.000000Z",
    "updated_at": "2024-09-23T14:51:29.000000Z",
    "deleted_at": "2024-09-23T14:51:29.000000Z",
    "deleted_by_user": {
        "id": 1,
        "name": "admin",
        "login": "admin@mail.com",
        "created_by": null,
        "created_at": "2024-06-03T11:53:35.000000Z",
        "updated_at": "2024-09-13T12:43:20.000000Z",
        "expired_at": null,
        "user_type": "admin",
        "parent_id": null,
        "is_system": false,
        "is_licence_limit_reached": true,
        "ptz_priority": 10,
        "access_token_id": null
    },
    "mac": null,
    "vendor": "interconnection",
    "vendor_pretty": "Interconnection",
    "status": "active",
    "status_pretty": "models.intercoms.statuses.active",
    "switch": null,
    "switch_pretty": null,
    "schema": "http",
    "ip": "192.168.18.207",
    "port": 8080,
    "login": "root",
    "password": "123456",
    "commutators_count": null,
    "connection_type": null,
    "connection_type_pretty": null,
    "key_count": null,
    "is_analytic_available": true,
    "timetable": []
}

401 Unauthorized

Authorization token not sent or not valid

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

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

If this problem persists, please contact our support.