Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
GET channels/command/unMonitor/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Stop monitoring a channel, specified by the required {id} parameter.
Resource URL
http://{host}/api/2.0/channels/command/unMonitor/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired channel. |
Example Request
GET
http://19244.168235.052.101211/api/2.0/channels/command/unmonitorunMonitor/1/.json
Code Block |
---|
{ "Task": { "id": 595649786122, "device_id": 8309011, "type": "Toggle Monitoring State", "type_id": 15, "mode": "Starting", "mode_id": 1, "status": null, "description": null, "total": 0, "completed": 0, "time_remained": 0, "modified": "13846929376391618156036339" } } |
GET channels/command/monitor/{id}/{dev_id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Start monitoring a channel on a specific device, specified by the required {id} and {dev_id} parameters.
Resource URL
http://{host}/api/2.0/channels/command/monitor/{id}/{dev_id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired channel. |
dev_id | integer | The ID of the target device to monitor the channel. |
Example Request
GET
Code Block |
---|
{ "Task": { "id": 896170336160, "device_id": 6219011, "type": "Toggle Monitoring State", "type_id": 15, "mode": "Starting", "mode_id": 1, "status": null, "description": null, "total": 0, "completed": 0, "time_remained": 0, "modified": "13846930628731618155948474" } } |
GET channels/command/enableRecord/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Set a specific channel to be recordable. The recording could be handled manually or by trigger event.
Resource URL
http://{host}/api/2.0/channels/command/enableRecord/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired channel. |
Example Request
GET
Code Block |
---|
{ "Task": { "id": 6155623936, "device_id": 6219011, "type": "Toggle Recording Support", "type_id": 16, "mode": "mode": "Starting", "mode_id": 1, "status": null, "description": null, "total": 0, "completed": 0, "time_remained": 0, "modified": "13846934531261618157255630" } } |
GET channels/command/disableRecord/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Stops a specific channel from being recordable.
Resource URL
http://{host}/api/2.0/channels/command/disableRecord/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired channel. |
Example Request
GET
Code Block |
---|
{ "Task": { "id": 728757317048, "device_id": 8309011, "type": "Toggle Recording Support", "type_id": 16, "mode": "Starting", "mode_id": 1, "status": null, "description": null, "total": 0, "completed": 0, "time_remained": 0, "modified": "13846935544711618157430897" } } |
GET channels/command/forceProfile/{id}/{profile_id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Force a monitored channel to use a specific profile, overriding any default and scheduled profile changes. Also used to release a channel from a forced profile.
Resource URL
http://{host}/api/2.0/channels/command/forceProfile/{id}/{profile_id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired channel. |
profile_id | other | Values may be either an Integer profile ID to force that profile or "false" to release the channel. |
Example Request
GET
Code Block |
---|
{ "Task": { "id": 35709795288, "device_id": 6219011, "type": "Force Profile", "type_id": 13, "mode": "Starting", "mode_id": 1, "status": null, "status": null, "description": null, "total": 0, "completed": 0, "time_remained": 0, "modified": "13846937547801618157487325" } } |
GET channels/command/startRecord/{ch_id}/{agent_id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Start recording the channel. The recording will continue until "stopRecord" action is sent or record timeout limit reached.
Resource URL
http://{host}/api/2.0/channels/command/startRecord/{ch_id}/{agent_id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
ch_id | integer | The ID of the desired channel. |
agent_id | integer | The ID of the file agent to be used for this record action. |
Example Request
GET
Code Block |
---|
{ "Task": { "id": 334798237030, "device_id": 6303311, "type": "Toggle Recording", "type_id": 18, "mode": "Starting", "mode_id": 1, "status": null, "descriptionstatus": null, "description": null, "total": 0, "completed": 0, "time_remained": 0, "modified": "13846945095151619164215132" } } |
GET channels/command/stopRecord/{ch_id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Stops the recording task on this channel.
Resource URL
http://{host}/api/2.0/channels/command/stopRecord/{ch_task_id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
ch_task_id | integer | The task ID of the currently recording channel. |
Example Request
GET
Code Block |
---|
{"Task": { "idcode": 334798409, "device_idurl": 630,"/api/2.0/channels/command/stopRecord/237030/.json", "typemessage": "Toggle RecordingConflict", "type_iderrors": 18,"Recording has been "modestopped": "Canceling", "mode_id": 3, "status": "", "description": "", "total": 100, "completed": 15, "time_remained": 105, "modified": "1384694525052" }} |
} |
GET channels/command/setSnooze/{id}/{remark}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Set Snooze on channel, disabling error notifications till snooze is cleared.
Resource URL
http://{host}/api/2.0/channels/command/setSnooze/{id}/{remark}/.format
Resource Information
Requires Authentication?
Response Formats
json
HTTP Methods
GET
Set Snooze on channel, disabling error notifications till snooze is cleared.
Resource URL
http://{host}/api/2.0/channels/command/setSnooze/{id}/{remark}/.format
Parameters
Parameter
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired channel. |
remark | string | The string to use as a remark. |
Example Request
GET
Code Block | ||
---|---|---|
| ||
{ "ChannelStatistics": { "id": 1, "is_snoozedid": 1, "snoozemonitoring_remarklevel": 1, "this is a snooze remark", "titleaccess_type_id": "Ch 1"3, "uuid": null, "ipis_addresssnoozed": "225.0.5.1", "ssmsnooze_ip_addressremark": null,"this is a snooze "portremark": 2000, "network_id": 3, "ifacetitle": "eth0channel_1", "program_number "uuid": "B938C5D8-89E1-462C-8853-A1C02B372E18", "network_id": 1, "ts_idiface": 2"eth0", "total_bit_rate": 01345436, "null_padding_count": null, "mux_bitrate_by_pcr": null1501420, "mux_bitrate_by_time": null1501420, "cc_errors": 0, "source_address": "", "service_type_id": 17, "device_id": 6219011, " "is_record_enabled": 1, "highestis_active_event_severity_iddescrambling_enabled": 20, "clock": null, "ChannelProfilet2mi_plp": [-1, { ""highest_active_event_severity_id": 1, "titleclock": "default"null, "notificationsource_set_idaddress": 1,"23.45.112.17:80", "eventsecondary_rulesource_set_idaddress": 1"", "is_defaultsource_transport_mode_id": 16, "is_scannedmodified": 0"1618161801841", "ismain_activeurl": 1,"http://testURL.m3u8", "is_forcedbandwidth": 01757064, "isprogram_scrambledid": 0null, }], "ChannelPidStatisticscodec": [],"avc1.4D401F,ac-3", "modifiedaudio": "1384695051231audio3" }} |
GET channels/command/clearSnooze/{id}
Resource Information
Requires Authentication?
Response Formats
json
HTTP Methods
GET
Clears the Snooze state from a channel.
Resource URL
http://{host}/api/2.0/channels/command/clearSnooze/{id}/.format
Parameters
Parameter
Data Type
Description
is
(required)
integer
The ID of the desired channel.
Example Request
GET
Code Block |
---|
{"ChannelStatistics": { "id": 1,, "resolution": "960x540", "stream_url": "http://testURL_Stream.m3u8", "segment_duration": 8.007, "is_snoozedscrambled": 0, "snooze_remark "ChannelProfile": null,[ "title": "Ch 1", "uuid": null, { "ip_address": "225.0.5.1", "ssm_ip_address": null, "port": 2000, "network_id": 31, "iface": "eth1", "program_number": 1, "ts_idtitle": 2"Default", "total_bit_rate": 1860718, "null_padding_count": 617619, "muxnotification_bitrateset_by_pcrid": 132705941, "mux_bitrate_by_time": 13075190, "cc_errors": 0, "source_address": "192.168.0.98:17035", "serviceevent_rule_typeset_id": 1, "device_id": 621, "is_record_enableddefault": 1, "highest_active_event_severity_id": 1, "clock": "Jitter 28.24ms, Interval 35ms", "ChannelProfileis_scanned": [0, { "id": 1, "titleis_active": "default"1, "notification_set_id": 1, "event_rule_set_idis_forced": 10, "is_default": 1, "is_scannedscrambled": 0, "is_active": 1, } "is_forced": 0, ], "is_scrambled": 0 }], "ChannelPidStatistics": [] { "content_type": "PAT", "pid": 0, "cc_errors": 0, "bitrate": 24402, "is_scrambled": 0, "parent_pid": null, "ChannelPidStatisticsDescriptors": [ { "id": 401, "type": "Content", "value": "PAT" }] }, { "content_type": "NIT", "pid": 16, "cc_errors": 0, "bitrate": 3050, "is_scrambled": 0, "parent_pid": null, "ChannelPidStatisticsDescriptors": [ { "id": 401, "type": "Content", "value": "NIT" }, { "id": 508, "type": "Network Name", "value": "Harashut Hashnia" } ] }, { "content_type": "SDT", "pid": 17, "cc_errors": 0, "bitrate": 4575, "is_scrambled": 0, "parent_pid": null, "ChannelPidStatisticsDescriptors": [ { "id": 401, "type": "Content", "value": "SDT" }, { "id": 328, "type": "Service Provider", "value": "Idan +" }, { "id": 329, "type": "Service Name", "value": "Ch 1" } ] }, { "content_type": "EIT", "pid": 18, "cc_errors": 0, "bitrate": 175395, "is_scrambled": 0, "parent_pid": null, "ChannelPidStatisticsDescriptors": [ { "id": 401, "type": "Content", "value": "EIT" }, { "id": 77, "type": "Short event", "value": "17/11/2013 13:59:00 (00:03:00) שגית המושג" }, { "id": 77, "type": "Short event", "value": "17/11/2013 13:35:00 (00:24:00) האחים דה גמ" }, { "id": 77, "type": "Short event", "value": "17/11/2013 13:30:00 (00:05:00) מלמולים עו" } ] }, { "content_type": "TDT", "pid": 20, "cc_errors": 0, "bitrate": 3050, "is_scrambled": 0, "parent_pid": null, "ChannelPidStatisticsDescriptors": [ { "id": 401, "type": "Content", "value": "TDT" }] }, { "content_type": "Subtitles", "pid": 1025, "cc_errors": 0, "bitrate": 3050, "is_scrambled": 0, "parent_pid": 2560, "ChannelPidStatisticsDescriptors": [ { "id": 401, "type": "Content", "value": "Subtitles" }, { "id": 10, "type": "Language", "value": "heb" } ], "is_pcr": 0, "language": "heb" }, { "content_type": "PMT", "pid": 2560, "cc_errors": 0, "bitrate": 22877, "is_scrambled": 0, "parent_pid": null, "ChannelPidStatisticsDescriptors": [ { "id": 401, "type": "Content", "value": "PMT" }, { "id": 509, "type": "PCR", "value": "Jitter 28.24ms, Interval 35ms" } ] }, { "content_type": "Video", "pid": 2561, "cc_errors": 0, "bitrate": 1779885, "is_scrambled": 0, "parent_pid": 2560, "ChannelPidStatisticsDescriptors": [ { "id": 400, "type": "Encoding", "value": "H.264" }, { "id": 401, "type": "Content", "value": "Video" }, { "id": 505, "type": "Frame Rate", "value": "25.000" }, { "id": 500, "type": "Resolution", "value": "720x576i" }, { "id": 503, "type": "Aspect Ratio", "value": "4:3 SAR 1.09 DAR 1.36" }, { } } |
GET channels/command/clearSnooze/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Clears the Snooze state from a channel.
Resource URL
http://{host}/api/2.0/channels/command/clearSnooze/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
is | integer | The ID of the desired channel. |
Example Request
GET
Code Block |
---|
{ "ChannelStatistics": { "id": 5011, "type"monitoring_level": "Color Space"1, "value"access_type_id": "YUV420"3, }"is_snoozed": 0, "snooze_remark": null, "title": "channel_1", { "uuid": "B938C5D8-89E1-462C-8853-A1C02B372E18", "network_id": 5041, "type"iface": "Profile@Leveleth0", "total_bit_rate": 994886, "value "null_padding_count": "MP@3.0"null, "mux_bitrate_by_pcr": 1121269, } ]"mux_bitrate_by_time": 1121269, "payloadcc_typeerrors": "H.264"0, "isservice_type_pcrid": 17, }, "device_id": 9011, { "is_record_enabled": 1, "contentis_descrambling_typeenabled": "Audio"0, "pidt2mi_plp": 2562-1, "cc_errors"highest_active_event_severity_id": 01, "bitrateclock": 54906null, "is_scrambled": 0, "source_address": "23.45.112.17:80", "parentsecondary_source_pidaddress": 2560"", "ChannelPidStatisticsDescriptors"source_transport_mode_id": 6, [ "modified": "1618161923131", "main_url": "http://mainURL.m3u8", "bandwidth": 1757064, { ""program_id": 400, null, "typecodec": "Encodingavc1.4D401F,ac-3", "audio": "audio3", "valueresolution": "LATM/HE-AAC960x540", "stream_url": "http://stream_url.m3u8", }, "segment_duration": 8.007, "is_scrambled": 0, { "ChannelProfile": [ { "id": 401, "typeid": "Content"1, "valuetitle": "AudioDefault", }, "notification_set_id": 1, {"event_rule_set_id": 1, "idis_default": 5101, "typeis_scanned": "Channels"0, "valueis_active": "2"1, } "is_forced": 0, ], "payloadis_typescrambled": "LATM/HE-AAC",0 "is_pcr": 0 } } ], "modifiedChannelPidStatistics": "1384695423234"[] } } |