Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

GET channels/config

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Returns a list of all channels in the system, with its main configuration data. If a stack is defined, the list will include all devices on that stack.

Resource URL

http://{host}/api/2.0/channels/config/.format

Example Request

GET 

  1. http://44.235.52.211/api/2.0/channels/config/.json

Expand
titleRESPONSE
Code Block
languagejson
[
    {
	    
        "ChannelSource": {
            "id": 59,
            "access_type_id": 3,
            "title": "new_GEvPd339fg",
            "uuid": "B3FF2503-9466-4B8C-9A3D-5D7F33F41486",
            "network_id": 1,
            "snooze_on_profile_change": 10,
            "channel_source_pid_behavior_id": 1,
            "monitoring_level": 1,
            "audio_standard_type_id": 1,
            "service_type_id": 1,
            "standard_type_id": 1,
            "is_monitored": 0,
            "device_id": null,
            "is_record_enabled": 0,
            "is_scanned": 0,
            "is_descrambling_enabled": 0,
            "t2mi_plp": -1,
            "encryption_type_id": 0,
            "parent_id": null,
            "note": "",
            "tally_settings": "",
            "modified": "1611142282208",
            "created": "1611142282208",
            "main_url": "234.22.22.22",
            "bandwidth": null,
            "program_id": null,
            "codec": null,
            "audio": null,
            "resolution": null,
            "stream_url": null,
            "is_scrambled": 0,
            "session_ttl": 0,
            "ChannelProfile": [
                {
                    "id": 61,
                    "title": "new_xZsd1gOBpV",
                    "notification_set_id": 4,
                    "event_rule_set_id": 2,
                    "title_color_id": 5,
                    "border_color_id": 4,
                    "is_default": 0,
                    "rst_running_state_id": 0,
                    "is_scanned": 0,
                    "is_scrambled": 0
                }
            ]
        }
    },
    {
        "ChannelSource": {
            "id": 60,
            "access_type_id": 2,
            "title": "test_Channel1",
            "uuid": "E7B4DAB3-7496-460B-9601-316173C7943B",
            "network_id": 1,
            "snooze_on_profile_change": 10,
            "channel_source_pid_behavior_id": 1,
            "monitoring_level": 1,
            "audio_standard_type_id": 1,
            "service_type_id": 1,
            "standard_type_id": 1,
            "is_monitored": 1,
            "device_id": 9011,
            "is_record_enabled": 0,
            "is_scanned": 0,
            "is_descrambling_enabled": 0,
            "t2mi_plp": -1,
            "encryption_type_id": 0,
            "parent_id": null,
            "note": null,
            "tally_settings": null,
            "modified": "1619182767517",
            "created": "1619182700771",
            "ip_address": "224.0.1.1",
            "ssm_ip_address": null,
            "port": 1000,
            "program_number": 200,
            "ts_id": 1,
            "secondary_ip_address": null,
            "secondary_ssm_ip_address": null,
            "secondary_port": null,
            "secondary_network_id": 0,
            "ChannelProfile": []
        }
    }
]


GET channels/config/{id}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Returns an extended single channel configuration view, specified by the required {id} parameter.

Resource URL

http://{host}/api/2.0/channels/config/{id}/.format

Parameters

Parameter

Data Type

Description

id
(required)

integer

The ID of the desired channel.

Example Request

GET 

  1. http://44.235.52.211/api/2.0/channels/config/1/.json

Expand
titleRESPONSE
Code Block
languagejson
{
    "ChannelSource": {
        "id": 60,
        "access_type_id": 2,
        "title": "test_Channel1",
        "uuid": "E7B4DAB3-7496-460B-9601-316173C7943B",
        "network_id": 1,
        "snooze_on_profile_change": 10,
        "channel_source_pid_behavior_id": 1,
        "monitoring_level": 1,
        "audio_standard_type_id": 1,
        "service_type_id": 1,
        "standard_type_id": 1,
        "is_monitored": 1,
        "device_id": 9011,
        "is_record_enabled": 0,
        "is_scanned": 0,
        "is_descrambling_enabled": 0,
        "t2mi_plp": -1,
        "encryption_type_id": 0,
        "encryption_constant_cw": null,
        "parent_id": null,
        "note": null,
        "tally_settings": null,
        "modified": "1619182767517",
        "created": "1619182700771",
        "is_scheduling_enabled": 1,
        "cut_margin": 0,
        "ip_address": "224.0.1.1",
        "ssm_ip_address": null,
        "port": 1000,
        "program_number": 200,
        "ts_id": 1,
        "ts_bitrate": 0,
        "carrier_encoder_manufacturer": "",
        "carrier_encoder_serial_number": "",
        "carrier_identifier": "",
        "carrier_telephone_number": "",
        "carrier_longitude": "",
        "carrier_latitude": "",
        "carrier_user_information": "",
        "atsc_vct_type_id": 0,
        "atsc_service_type": null,
        "atsc_source_id": null,
        "atsc_major_channel_number": null,
        "atsc_minor_channel_number": null,
        "sdt_name": null,
        "sdt_provider": null,
        "secondary_ip_address": null,
        "secondary_ssm_ip_address": null,
        "secondary_port": null,
        "secondary_network_id": 0,
        "channel_source_rtp_mode_id": 1,
        "ChannelProfile": [
            {
                "id": 62,
                "title": "Default",
                "notification_set_id": 1,
                "event_rule_set_id": 1,
                "is_default": 1,
                "is_scanned": 0,
                "title_color_id": 0,
                "border_color_id": 0,
                "pixelate_level": 0,
                "service_bitrate_min": 0,
                "service_bitrate_max": 0,
                "rst_running_state_id": 0,
                "is_scrambled": 0,
                "ProfileEvent": [],
                "ProfilePid": []
            }
        ]
    }
}


POST channels/config

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

POST

Add a new channel, configured according to the attached data request.

Resource URL

http://{host}/api/2.0/channels/config/.format

Example Request

POST 

  1. http://192.168.0.203/api/2.0/channels/config/.json

Expand
titleBODY
Code Block
languagejson
{
    "ChannelSource": {
        "id": 60,
        "access_type_id": 2,
        "title": "test_Channel_POST",

       "uuid": "Z9B4DAB3-7496-460B-9601-316173C7943B",
        "network_id": 1,
        "snooze_on_profile_change": 10,
        "channel_source_pid_behavior_id": 1,
        "monitoring_level": 1,
        "audio_standard_type_id": 1,
        "service_type_id": 1,
        "standard_type_id": 1,
        "is_monitored": 1,
        "device_id": 9011,
        "is_record_enabled": 0,
        "is_scanned": 0,
        "is_descrambling_enabled": 0,
        "t2mi_plp": -1,
        "encryption_type_id": 0,
        "encryption_constant_cw": null,
        "parent_id": null,
        "note": null,
        "tally_settings": null,
        "modified": "1619182767517",
        "created": "1619182700771",
        "is_scheduling_enabled": 1,
        "cut_margin": 0,
        "ip_address": "224.0.1.1",
        "ssm_ip_address": null,
        "port": 1000,
        "program_number": 200,
        "ts_id": 1,
        "ts_bitrate": 0,
        "carrier_encoder_manufacturer": "",
        "carrier_encoder_serial_number": "",
        "carrier_identifier": "",
        "carrier_telephone_number": "",
        "carrier_longitude": "",
        "carrier_latitude": "",
        "carrier_user_information": "",
        "atsc_vct_type_id": 0,
        "atsc_service_type": null,
        "atsc_source_id": null,
        "atsc_major_channel_number": null,
        "atsc_minor_channel_number": null,
        "sdt_name": null,
        "sdt_provider": null,
        "secondary_ip_address": null,
        "secondary_ssm_ip_address": null,
        "secondary_port": null,
        "secondary_network_id": 0,
        "channel_source_rtp_mode_id": 1,
        "ChannelProfile": [
            {
                "id": 62,
                "title": "Default",
                "notification_set_id": 1,
                "event_rule_set_id": 1,
                "is_default": 1,
                "is_scanned": 0,
                "title_color_id": 0,
                "border_color_id": 0,
                "pixelate_level": 0,
                "service_bitrate_min": 0,
                "service_bitrate_max": 0,
                "rst_running_state_id": 0,
                "is_scrambled": 0,
                "ProfileEvent": [],
                "ProfilePid": []
            }
        ]
    }
}
Expand
titleRESPONSE
Code Block
languagejson
{
    "ChannelSource": {
        "id": 60,
        "access_type_id": 2,
        "title": "test_Channel_POST",
        "uuid": "Z9B4DAB3-7496-460B-9601-316173C7943B",
        "network_id": 1,
        "snooze_on_profile_change": 10,
        "channel_source_pid_behavior_id": 1,
        "monitoring_level": 1,
        "audio_standard_type_id": 1,
        "service_type_id": 1,
        "standard_type_id": 1,
        "is_monitored": 0,
        "device_id": null,
        "is_record_enabled": 0,
        "is_scanned": 0,
        "is_descrambling_enabled": 0,
        "t2mi_plp": -1,
        "encryption_type_id": 0,
        "encryption_constant_cw": null,
        "parent_id": null,
        "note": null,
        "tally_settings": null,
        "modified": "1620291252944",
        "created": "1620291252939",
        "is_scheduling_enabled": 1,
        "cut_margin": 0,
        "ip_address": "224.0.1.1",
        "ssm_ip_address": null,
        "port": 1000,
        "program_number": 200,
        "ts_id": 1,
        "ts_bitrate": 0,
        "carrier_encoder_manufacturer": "",
        "carrier_encoder_serial_number": "",
        "carrier_identifier": "",
        "carrier_telephone_number": "",
        "carrier_longitude": "",
        "carrier_latitude": "",
        "carrier_user_information": "",
        "atsc_vct_type_id": 0,
        "atsc_service_type": null,
        "atsc_source_id": null,
        "atsc_major_channel_number": null,
        "atsc_minor_channel_number": null,
        "sdt_name": null,
        "sdt_provider": null,
        "secondary_ip_address": null,
        "secondary_ssm_ip_address": null,
        "secondary_port": null,
        "secondary_network_id": 0,
        "channel_source_rtp_mode_id": 1,
        "ChannelProfile": [
            {
                "id": 62,
                "title": "Default",
                "notification_set_id": 1,
                "event_rule_set_id": 1,
                "is_default": 1,
                "is_scanned": 0,
                "title_color_id": 0,
                "border_color_id": 0,
                "pixelate_level": 0,
                "service_bitrate_min": 0,
                "service_bitrate_max": 0,
                "rst_running_state_id": 0,
                "is_scrambled": 0,
                "ProfileEvent": [],
                "ProfilePid": []
            }
        ]
    }
}


POST channels/config/{id}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

POST

Copies a channel configuration to a new channel.

Resource URL

http://{host}/api/2.0/channels/config/{id}/.format

Parameters

Parameter

Data Type

Description

id
(required)

integer

The ID of the channel to be copied.

Example Request

POST 

  1. http://44.235.52.211/api/2.0/channels/config/60/.json

Expand
titleRESPONSE
Code Block
languagejson
{
    "ChannelSource": {
        "id": 63,
        "access_type_id": 2,
        "title": "test_Channel1_1",
        "uuid": "F5EB6292-A293-45ED-B476-AAEDA2269828",
        "network_id": 1,
        "snooze_on_profile_change": 10,
        "channel_source_pid_behavior_id": 1,
        "monitoring_level": 1,
        "audio_standard_type_id": 1,
        "service_type_id": 1,
        "standard_type_id": 1,
        "is_monitored": 0,
        "device_id": null,
        "is_record_enabled": 0,
        "is_scanned": 0,
        "is_descrambling_enabled": 0,
        "t2mi_plp": -1,
        "encryption_type_id": 0,
        "encryption_constant_cw": null,
        "parent_id": null,
        "note": null,
        "tally_settings": null,
        "modified": "1619183690178",
        "created": "1619183690173",
        "is_scheduling_enabled": 1,
        "cut_margin": 0,
        "ip_address": "224.0.1.1",
        "ssm_ip_address": null,
        "port": 1000,
        "program_number": 200,
        "ts_id": 1,
        "ts_bitrate": 0,
        "carrier_encoder_manufacturer": "",
        "carrier_encoder_serial_number": "",
        "carrier_identifier": "",
        "carrier_telephone_number": "",
        "carrier_longitude": "",
        "carrier_latitude": "",
        "carrier_user_information": "",
        "atsc_vct_type_id": 0,
        "atsc_service_type": null,
        "atsc_source_id": null,
        "atsc_major_channel_number": null,
        "atsc_minor_channel_number": null,
        "sdt_name": null,
        "sdt_provider": null,
        "secondary_ip_address": null,
        "secondary_ssm_ip_address": null,
        "secondary_port": null,
        "secondary_network_id": 0,
        "channel_source_rtp_mode_id": 1,
        "ChannelProfile": [
            {
                "id": 65,
                "title": "Default",
                "notification_set_id": 1,
                "event_rule_set_id": 1,
                "is_default": 1,
                "is_scanned": 0,
                "title_color_id": 0,
                "border_color_id": 0,
                "pixelate_level": 0,
                "service_bitrate_min": 0,
                "service_bitrate_max": 0,
                "rst_running_state_id": 0,
                "is_scrambled": 0,
                "ProfileEvent": [],
                "ProfilePid": []
            }
        ]
    }
}


PUT channels/config/{id}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

PUT

Edit a channel configuration.

Resource URL

http://{host}/api/2.0/channels/config/{id}/.format

Parameters

Parameter

Data Type

Description

id
(required)

integer

The Id of the channel to be edited.

Example Request

PUT 

  1. http://44.235.52.211/api/2.0/channels/config/61/.json

Expand
titleBODY
Code Block
languagejson
{
    "ChannelSource": {
   "id": 1,
   "title": "EDIT_Channel",
   "uuid": null,
   "ip_address": "225.0.5.1",
   "ssm_ip_address": null,
   "port": 2000,
   "network_id": 3,
   "program_number": 1,
   "is_monitored": 1,
   "is_record_enabled": 0,
   "device_id": 621,
   "is_scanned": 0,
   "service_type_id": 1,
   "standard_type_id": 1,
   "audio_standard_type_id": 1,
   "note": null,
   "atsc_vct_type_id": 1,
   "atsc_service_type": null,
   "atsc_source_id": null,
   "atsc_major_channel_number": null,
   "atsc_minor_channel_number": null,
   "is_scheduling_enabled": 1,
   "snooze_on_profile_change": 10,
   "sdt_name": "Ch 1",
   "sdt_provider": "Idan +",
   "channel_source_pid_behavior_id": 3,
   "ts_id": 2,
   "cut_margin": 1,
   "ts_bitrate": 13276475,
   "carrier_encoder_manufacturer": "",
   "carrier_encoder_serial_number": "",
   "carrier_identifier": "",
   "carrier_telephone_number": "",
   "carrier_longitude": "",
   "carrier_latitude": "",
   "carrier_user_information": "",
   "modified": "1384761459857",
   "created": "1384348483830",
   "ChannelProfile": [   {
      "id": 1,
      "title": "default",
      "notification_set_id": 1,
      "event_rule_set_id": 1,
      "is_default": 1,
      "is_scanned": 0,
      "title_color_id": 0,
      "border_color_id": 0,
      "pixelate_level": 0,
      "service_bitrate_min": 0,
      "service_bitrate_max": 0,
      "is_scrambled": 0,
      "ProfileEvent": [],
      "ProfilePid":       [
                  {
            "id": 2,
            "is_monitored": 1,
            "is_content_monitored": 1,
            "is_outofband": 0,
            "pid": 1025,
            "pid_content_type_id": 4,
            "bitrate_min": 3135,
            "bitrate_max": 3135,
            "is_scrambled": 0,
            "is_pcr": 0,
            "PidAttribute":             [
                              {
                  "id": 2,
                  "pid_attribute_type_id": 41,
                  "pid_attribute_type_value": "heb"
               },
                              {
                  "id": 1,
                  "pid_attribute_type_id": 42,
                  "pid_attribute_type_value": "1"
               }
            ]
         },
                  {
            "id": 1,
            "is_monitored": 1,
            "is_content_monitored": 1,
            "is_outofband": 0,
            "pid": 2560,
            "pid_content_type_id": 7,
            "bitrate_min": 24266,
            "bitrate_max": 24266,
            "is_scrambled": 0,
            "is_pcr": 0,
            "PidAttribute": []
         },
                  {
            "id": 3,
            "is_monitored": 1,
            "is_content_monitored": 1,
            "is_outofband": 0,
            "pid": 2561,
            "pid_content_type_id": 2,
            "bitrate_min": 1637746,
            "bitrate_max": 1637746,
            "is_scrambled": 0,
            "is_pcr": 1,
            "PidAttribute":             [
                              {
                  "id": 3,
                  "pid_attribute_type_id": 21,
                  "pid_attribute_type_value": "2"
               },
                              {
                  "id": 4,
                  "pid_attribute_type_id": 22,
                  "pid_attribute_type_value": "720x576i"
               },
                              {
                  "id": 8,
                  "pid_attribute_type_id": 23,
                  "pid_attribute_type_value": "2"
               },
                              {
                  "id": 7,
                  "pid_attribute_type_id": 24,
                  "pid_attribute_type_value": "1"
               },
                              {
                  "id": 9,
                  "pid_attribute_type_id": 25,
                  "pid_attribute_type_value": "3"
               },
                              {
                  "id": 5,
                  "pid_attribute_type_id": 26,
                  "pid_attribute_type_value": "25.000"
               },
                              {
                  "id": 6,
                  "pid_attribute_type_id": 27,
                  "pid_attribute_type_value": "1"
               }
            ]
         },
                  {
            "id": 4,
            "is_monitored": 1,
            "is_content_monitored": 1,
            "is_outofband": 0,
            "pid": 2562,
            "pid_content_type_id": 3,
            "bitrate_min": 53169,
            "bitrate_max": 53169,
            "is_scrambled": 0,
            "is_pcr": 0,
            "PidAttribute":             [
                              {
                  "id": 13,
                  "pid_attribute_type_id": 31,
                  "pid_attribute_type_value": ""
               },
                              {
                  "id": 10,
                  "pid_attribute_type_id": 32,
                  "pid_attribute_type_value": "9"
               },
                              {
                  "id": 11,
                  "pid_attribute_type_id": 33,
                  "pid_attribute_type_value": "4"
               },
                              {
                  "id": 12,
                  "pid_attribute_type_id": 34,
                  "pid_attribute_type_value": "1"
               }
            ]
         }
      ]
   }]
}}
Expand
titleRESPONSE
Code Block
languagejson
{
    "ChannelSource": {
        "id": 61,
        "access_type_id": 6,
        "title": "EDIT_Channel",
        "uuid": null,
        "network_id": 3,
        "snooze_on_profile_change": 10,
        "channel_source_pid_behavior_id": 3,
        "monitoring_level": 1,
        "audio_standard_type_id": 1,
        "service_type_id": 1,
        "standard_type_id": 1,
        "is_monitored": 1,
        "device_id": 9011,
        "is_record_enabled": 0,
        "is_scanned": 0,
        "is_descrambling_enabled": 0,
        "t2mi_plp": -1,
        "encryption_type_id": 0,
        "encryption_constant_cw": null,
        "parent_id": null,
        "note": null,
        "tally_settings": null,
        "modified": "1619183776539",
        "created": "1619182741502",
        "is_scheduling_enabled": 1,
        "cut_margin": 1,
        "main_url": "225.0.5.1",
        "hls_version": null,
        "min_chunk_duration": 0,
        "max_chunk_duration": 0,
        "bandwidth": null,
        "program_id": null,
        "codec": null,
        "audio": null,
        "resolution": null,
        "stream_url": null,
        "delay": null,
        "is_scrambled": 0,
        "key_manager_server_id": 0,
        "session_ttl": 0,
        "ChannelProfile": [
            {
                "id": 66,
                "title": "default",
                "notification_set_id": 1,
                "event_rule_set_id": 1,
                "is_default": 1,
                "is_scanned": 0,
                "title_color_id": 0,
                "border_color_id": 0,
                "pixelate_level": 0,
                "service_bitrate_min": 0,
                "service_bitrate_max": 0,
                "rst_running_state_id": 0,
                "is_scrambled": 0,
                "ProfileEvent": [],
                "ProfilePid": [
                    {
                        "id": 198,
                        "is_enabled": 1,
                        "is_monitored": 1,
                        "is_content_monitored": 1,
                        "is_outofband": 0,
                        "pid": 1025,
                        "pid_content_type_id": 4,
                        "bitrate_min": 3135,
                        "bitrate_max": 3135,
                        "is_scrambled": 0,
                        "is_pcr": 0,
                        "PidAttribute": [
                            {
                                "id": 735,
                                "pid_attribute_type_id": 41,
                                "pid_attribute_type_value": "heb"
                            },
                            {
                                "id": 736,
                                "pid_attribute_type_id": 42,
                                "pid_attribute_type_value": "1"
                            }
                        ]
                    },
                    {
                        "id": 199,
                        "is_enabled": 1,
                        "is_monitored": 1,
                        "is_content_monitored": 1,
                        "is_outofband": 0,
                        "pid": 2560,
                        "pid_content_type_id": 7,
                        "bitrate_min": 24266,
                        "bitrate_max": 24266,
                        "is_scrambled": 0,
                        "is_pcr": 0,
                        "PidAttribute": []
                    },
                    {
                        "id": 200,
                        "is_enabled": 1,
                        "is_monitored": 1,
                        "is_content_monitored": 1,
                        "is_outofband": 0,
                        "pid": 2561,
                        "pid_content_type_id": 2,
                        "bitrate_min": 1637746,
                        "bitrate_max": 1637746,
                        "is_scrambled": 0,
                        "is_pcr": 1,
                        "PidAttribute": [
                            {
                                "id": 737,
                                "pid_attribute_type_id": 21,
                                "pid_attribute_type_value": "2"
                            },
                            {
                                "id": 738,
                                "pid_attribute_type_id": 22,
                                "pid_attribute_type_value": "720x576i"
                            },
                            {
                                "id": 739,
                                "pid_attribute_type_id": 23,
                                "pid_attribute_type_value": "2"
                            },
                            {
                                "id": 740,
                                "pid_attribute_type_id": 24,
                                "pid_attribute_type_value": "1"
                            },
                            {
                                "id": 741,
                                "pid_attribute_type_id": 25,
                                "pid_attribute_type_value": "3"
                            },
                            {
                                "id": 742,
                                "pid_attribute_type_id": 26,
                                "pid_attribute_type_value": "25.000"
                            },
                            {
                                "id": 743,
                                "pid_attribute_type_id": 27,
                                "pid_attribute_type_value": "1"
                            }
                        ]
                    },
                    {
                        "id": 201,
                        "is_enabled": 1,
                        "is_monitored": 1,
                        "is_content_monitored": 1,
                        "is_outofband": 0,
                        "pid": 2562,
                        "pid_content_type_id": 3,
                        "bitrate_min": 53169,
                        "bitrate_max": 53169,
                        "is_scrambled": 0,
                        "is_pcr": 0,
                        "PidAttribute": [
                            {
                                "id": 744,
                                "pid_attribute_type_id": 31,
                                "pid_attribute_type_value": null
                            },
                            {
                                "id": 745,
                                "pid_attribute_type_id": 32,
                                "pid_attribute_type_value": "9"
                            },
                            {
                                "id": 746,
                                "pid_attribute_type_id": 33,
                                "pid_attribute_type_value": "4"
                            },
                            {
                                "id": 747,
                                "pid_attribute_type_id": 34,
                                "pid_attribute_type_value": "1"
                            },
                            {
                                "id": 748,
                                "pid_attribute_type_id": 35,
                                "pid_attribute_type_value": null
                            }
                        ]
                    }
                ]
            }
        ]
    }
}


DELETE channels/config/{id}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

DELETE

Delete a specific channel.

Resource URL

http://{host}/api/2.0/channels/config/{id}/.format

Parameters

Parameter

Data Type

Description

id
(required)

integer

The ID of the channel to be deleted.

Example Request

DELETE 

  1. http://44.235.52.211/api/2.0/channels/config/61/.json

Expand
titleRESPONSE
Code Block
languagejson
{
    "success": true
}


Multi DELETE channels/config/.format?remove[]={id}&remove[]{id}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

DELETE

Delete a multiple channel.

Resource URL

http://{host}/api/2.0/channels/config/.format?remove[]={id}&remove[]{id}

Parameters

Parameter

Data Type

Description

id
(required)

integer

The ID of the channel to be deleted.

Example Request

DELETE 

  1. http://192.168.10.132/api/2.0/channels/config/.json?remove[]=2&remove[]3

Expand
titleRESPONSE
Code Block
languagejson
{
    "success": true
}


GET channels/config/meta

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Returns all meta data used by channel configuration.

Resource URL

http://{host}/api/2.0/channels/config/meta/.format

Example Request

GET 

  1. http://44.235.52.211/api/2.0/channels/config/meta/.json

Expand
titleRESPONSE
Code Block
languagejson
{
    "Channels": {
        "AccessTypes": {
            "1": "SPTS",
            "2": "MPTS",
            "3": "HLS",
            "4": "RTMP",
            "5": "Uncompressed",
            "6": "MPEG-DASH",
            "7": "MSS",
            "8": "CTP"
        },
        "ChannelSourcePidBehaviors": {
            "1": "Monitor Undefined",
            "2": "Ignore Undefined",
            "3": "Raise Error"
        },
        "ChannelSourceMonitorLevels": {
            "1": "Full",
            "5": "Light",
            "10": "Extra Light"
        },
        "ServiceTypes": {
            "1": "SD Video",
            "2": "HD Video",
            "3": "Audio",
            "4": "Data",
            "5": "Low Res Video",
            "6": "Contribution Feed",
            "7": "Wide SD",
            "8": "SD/HEVC",
            "9": "HD/25/30/HEVC",
            "10": "UHD/HEVC",
            "11": "HD/50/60/HEVC/J2K",
            "12": "Contribution UHD/HEVC"
        },
        "StandardTypes": {
            "1": "DVB",
            "2": "ATSC"
        },
        "AudioStandardTypes": {
            "1": "EBU R128",
            "2": "ATSC A/85 (no gating)"
        },
        "AtscVctTypes": {
            "0": "Don't Care",
            "1": "Terrestrial",
            "2": "Cable"
        },
        "ChannelSourceRtpMode": {
            "1": "Dont Care",
            "2": "MPEGTS/UDP",
            "3": "MPEGTS/RTP"
        },
        "EncryptionTypes": {
            "0": "None",
            "65537": "Simulcrypt, AES-128-CBC",
            "65539": "Verimatrix, AES-128-CBC",
            "65540": "Generic, AES-128-CBC",
            "131074": "Huawei PlayReady, AES-128-CTR",
            "131077": "Verimatrix MultiRights, CENC",
            "196614": "SKY CKS, CENC",
            "196615": "Irdeto, CENC",
            "262145": "Simulcrypt, DVB-CSA",
            "524289": "Simulcrypt, AES-128-ECB"
        }
    },
    "Profiles": {
        "TitleColors": {
            "0": "Default",
            "1": "Red",
            "2": "Blue",
            "3": "Green",
            "4": "Orange",
            "5": "Yellow",
            "6": "Light Blue",
            "7": "Light Green",
            "8": "Pink",
            "9": "Black",
            "10": "White"
        },
        "BorderColors": {
            "0": "Default",
            "1": "Red",
            "2": "Blue",
            "3": "Green",
            "4": "Orange",
            "5": "Yellow",
            "6": "Light Blue",
            "7": "Light Green",
            "8": "Pink",
            "9": "Black",
            "10": "White"
        },
        "ChannelProfilePixelateLevel": {
            "0": "None",
            "16": "16",
            "24": "24",
            "32": "32",
            "40": "40",
            "48": "48",
            "56": "56",
            "64": "64"
        },
        "RstRunningStates": [
            "Don't Care",
            "Not running",
            "Starts in a few seconds",
            "Pausing",
            "Running",
            "Service off-air",
            "Reserved 6",
            "Reserved 7"
        ]
    },
    "Pids": {
        "PidContentTypes": {
            "1": "Other",
            "2": "Video",
            "3": "Audio",
            "4": "Subtitles",
            "5": "Teletext",
            "6": "PCR",
            "7": "PMT",
            "8": "ECM",
            "9": "EMM",
            "10": "DSM_CC",
            "29": "AES3",
            "30": "ID3 Metadata",
            "31": "AES67",
            "32": "2110/Video",
            "33": "2110/Audio",
            "34": "2110/Metadata",
            "35": "Ancillary Data"
        }
    },
    "PidAttributes": {
        "PidAttributeTypes": {
            "21": {
                "id": "21",
                "title": "Codec Type",
                "data_type": "enum",
                "pid_content_type_id": "2",
                "range": "pid_attribute_video_types",
                "units": null
            },
            "22": {
                "id": "22",
                "title": "Resolution",
                "data_type": "string",
                "pid_content_type_id": "2",
                "range": null,
                "units": null
            },
            "23": {
                "id": "23",
                "title": "Aspect Ratio",
                "data_type": "enum",
                "pid_content_type_id": "2",
                "range": "pid_attribute_video_aspect_types",
                "units": null
            },
            "24": {
                "id": "24",
                "title": "Profile/Level",
                "data_type": "enum",
                "pid_content_type_id": "2",
                "range": "pid_attribute_video_profiles",
                "units": null
            },
            "25": {
                "id": "25",
                "title": "Color Space",
                "data_type": "enum",
                "pid_content_type_id": "2",
                "range": "pid_attribute_video_colorspace_types",
                "units": null
            },
            "26": {
                "id": "26",
                "title": "Frame Rate",
                "data_type": "string",
                "pid_content_type_id": "2",
                "range": null,
                "units": null
            },
            "27": {
                "id": "27",
                "title": "Closed Captions",
                "data_type": "enum",
                "pid_content_type_id": "2",
                "range": "pid_attribute_cc_display",
                "units": null
            },
            "31": {
                "id": "31",
                "title": "Language",
                "data_type": "string",
                "pid_content_type_id": "3",
                "range": null,
                "units": null
            },
            "32": {
                "id": "32",
                "title": "Codec Type",
                "data_type": "enum",
                "pid_content_type_id": "3",
                "range": "pid_attribute_audio_types",
                "units": null
            },
            "33": {
                "id": "33",
                "title": "Channels",
                "data_type": "enum",
                "pid_content_type_id": "3",
                "range": "pid_attribute_audio_channels",
                "units": null
            },
            "34": {
                "id": "34",
                "title": "Display",
                "data_type": "enum",
                "pid_content_type_id": "3",
                "range": "pid_attribute_audio_display_priority",
                "units": null
            },
            "35": {
                "id": "35",
                "title": "DialNorm",
                "data_type": "string",
                "pid_content_type_id": "3",
                "range": null,
                "units": null
            },
            "41": {
                "id": "41",
                "title": "Language",
                "data_type": "string",
                "pid_content_type_id": "4",
                "range": null,
                "units": null
            },
            "42": {
                "id": "42",
                "title": "Display",
                "data_type": "enum",
                "pid_content_type_id": "4",
                "range": "pid_attribute_subtitle_display",
                "units": null
            },
            "51": {
                "id": "51",
                "title": "Language",
                "data_type": "string",
                "pid_content_type_id": "5",
                "range": null,
                "units": null
            },
            "52": {
                "id": "52",
                "title": "Display",
                "data_type": "enum",
                "pid_content_type_id": "5",
                "range": "pid_attribute_subtitle_display",
                "units": null
            },
            "53": {
                "id": "53",
                "title": "Display page",
                "data_type": "string",
                "pid_content_type_id": "5",
                "range": null,
                "units": null
            },
            "61": {
                "id": "61",
                "title": "Vendor ID",
                "data_type": "string",
                "pid_content_type_id": "8",
                "range": null,
                "units": null
            },
            "62": {
                "id": "62",
                "title": "Private Data",
                "data_type": "string",
                "pid_content_type_id": "8",
                "range": null,
                "units": null
            },
            "71": {
                "id": "71",
                "title": "Vendor ID",
                "data_type": "string",
                "pid_content_type_id": "9",
                "range": null,
                "units": null
            },
            "72": {
                "id": "72",
                "title": "Private Data",
                "data_type": "string",
                "pid_content_type_id": "9",
                "range": null,
                "units": null
            },
            "81": {
                "id": "81",
                "title": "Language",
                "data_type": "string",
                "pid_content_type_id": "29",
                "range": null,
                "units": null
            },
            "82": {
                "id": "82",
                "title": "Bit per Sample",
                "data_type": "enum",
                "pid_content_type_id": "29",
                "range": "pid_attribute_aes3_bits",
                "units": null
            },
            "83": {
                "id": "83",
                "title": "Codec Type",
                "data_type": "enum",
                "pid_content_type_id": "29",
                "range": "pid_attribute_aes3_types",
                "units": null
            },
            "84": {
                "id": "84",
                "title": "Channels",
                "data_type": "enum",
                "pid_content_type_id": "29",
                "range": "pid_attribute_aes3_channels",
                "units": null
            },
            "85": {
                "id": "85",
                "title": "Display",
                "data_type": "enum",
                "pid_content_type_id": "29",
                "range": "pid_attribute_audio_display_priority",
                "units": null
            },
            "86": {
                "id": "86",
                "title": "Mapping",
                "data_type": "string",
                "pid_content_type_id": "29",
                "range": null,
                "units": null
            },
            "91": {
                "id": "91",
                "title": "Language",
                "data_type": "string",
                "pid_content_type_id": "30",
                "range": null,
                "units": null
            },
            "92": {
                "id": "92",
                "title": "Display",
                "data_type": "enum",
                "pid_content_type_id": "30",
                "range": "pid_attribute_subtitle_display",
                "units": null
            },
            "101": {
                "id": "101",
                "title": "Bit per Sample",
                "data_type": "enum",
                "pid_content_type_id": "33",
                "range": "pid_attribute_aes3_bits",
                "units": null
            },
            "102": {
                "id": "102",
                "title": "Mapping",
                "data_type": "string",
                "pid_content_type_id": "33",
                "range": null,
                "units": null
            },
            "104": {
                "id": "104",
                "title": "IP Address",
                "data_type": "string",
                "pid_content_type_id": "33",
                "range": null,
                "units": null
            },
            "105": {
                "id": "105",
                "title": "Port",
                "data_type": "string",
                "pid_content_type_id": "33",
                "range": null,
                "units": null
            },
            "106": {
                "id": "106",
                "title": "SSM IP Address",
                "data_type": "string",
                "pid_content_type_id": "33",
                "range": null,
                "units": null
            },
            "107": {
                "id": "107",
                "title": "Secondary IP Address",
                "data_type": "string",
                "pid_content_type_id": "33",
                "range": null,
                "units": null
            },
            "108": {
                "id": "108",
                "title": "Secondary Port",
                "data_type": "string",
                "pid_content_type_id": "33",
                "range": null,
                "units": null
            },
            "109": {
                "id": "109",
                "title": "Secondary SSM IP Address",
                "data_type": "string",
                "pid_content_type_id": "33",
                "range": null,
                "units": null
            },
            "110": {
                "id": "110",
                "title": "Payload Type",
                "data_type": "string",
                "pid_content_type_id": "33",
                "range": null,
                "units": null
            },
            "111": {
                "id": "111",
                "title": "Sample Frequency",
                "data_type": "enum",
                "pid_content_type_id": "33",
                "range": "pid_attribute_aes3_frequencies",
                "units": null
            },
            "131": {
                "id": "131",
                "title": "Closed Captions",
                "data_type": "enum",
                "pid_content_type_id": "34",
                "range": "pid_attribute_cc_display",
                "units": null
            },
            "132": {
                "id": "132",
                "title": "IP Address",
                "data_type": "string",
                "pid_content_type_id": "34",
                "range": null,
                "units": null
            },
            "133": {
                "id": "133",
                "title": "Port",
                "data_type": "string",
                "pid_content_type_id": "34",
                "range": null,
                "units": null
            },
            "134": {
                "id": "134",
                "title": "SSM IP Address",
                "data_type": "string",
                "pid_content_type_id": "34",
                "range": null,
                "units": null
            },
            "135": {
                "id": "135",
                "title": "Secondary IP Address",
                "data_type": "string",
                "pid_content_type_id": "34",
                "range": null,
                "units": null
            },
            "136": {
                "id": "136",
                "title": "Secondary Port",
                "data_type": "string",
                "pid_content_type_id": "34",
                "range": null,
                "units": null
            },
            "137": {
                "id": "137",
                "title": "Secondary SSM IP Address",
                "data_type": "string",
                "pid_content_type_id": "34",
                "range": null,
                "units": null
            },
            "138": {
                "id": "138",
                "title": "Payload Type",
                "data_type": "string",
                "pid_content_type_id": "34",
                "range": null,
                "units": null
            },
            "140": {
                "id": "140",
                "title": "Resolution",
                "data_type": "string",
                "pid_content_type_id": "32",
                "range": null,
                "units": null
            },
            "141": {
                "id": "141",
                "title": "Color Space",
                "data_type": "enum",
                "pid_content_type_id": "32",
                "range": "pid_attribute_video_colorspace_types",
                "units": null
            },
            "142": {
                "id": "142",
                "title": "Frame Rate",
                "data_type": "string",
                "pid_content_type_id": "32",
                "range": null,
                "units": null
            },
            "143": {
                "id": "143",
                "title": "Aspect Ratio",
                "data_type": "enum",
                "pid_content_type_id": "32",
                "range": "pid_attribute_video_aspect_types",
                "units": null
            },
            "144": {
                "id": "144",
                "title": "Payload Type",
                "data_type": "string",
                "pid_content_type_id": "32",
                "range": null,
                "units": null
            }
        },
        "PidAttributeVideoTypes": {
            "1": "Dont Care",
            "2": "H.264",
            "3": "MPEG2",
            "4": "MPEG1",
            "5": "JPEG2000",
            "6": "H.265",
            "7": "SMPTE-2022-6",
            "8": "SMPTE-2110-20"
        },
        "PidAttributeAudioTypes": {
            "1": "Dont Care",
            "2": "MPEG",
            "3": "AC3",
            "4": "E-AC3",
            "5": "DTS",
            "6": "ADTS/AAC",
            "7": "ADTS/HE-AAC",
            "8": "LATM/AAC",
            "9": "LATM/HE-AAC",
            "10": "ATMOS"
        },
        "PidAttributeVideoAspectTypes": {
            "1": "Dont Care",
            "2": "4:3",
            "3": "16:9",
            "4": "221:100"
        },
        "PidAttributeVideoColorspaceTypes": {
            "1": "Dont Care",
            "2": "Gray",
            "3": "YUV420",
            "4": "YUV422",
            "5": "YUV444",
            "6": "YUV422-10Bit",
            "7": "YUV420-10Bit"
        },
        "PidAttributeVideoProfiles": {
            "1": "Dont Care",
            "302": "SP@ML",
            "303": "MP@LL",
            "304": "MP@ML",
            "305": "MP@H-14",
            "306": "MP@HL",
            "307": "HP@ML",
            "308": "HP@H-14",
            "309": "HP@HL",
            "310": "SNR@LL",
            "311": "SNR@ML",
            "312": "SPT@H-14",
            "2110": "BP@1.0",
            "2111": "BP@1.1",
            "2112": "BP@1.2",
            "2113": "BP@1.3",
            "2120": "BP@2.0",
            "2121": "BP@2.1",
            "2122": "BP@2.2",
            "2130": "BP@3.0",
            "2131": "BP@3.1",
            "2132": "BP@3.2",
            "2140": "BP@4.0",
            "2141": "BP@4.1",
            "2142": "BP@4.2",
            "2150": "BP@5.0",
            "2151": "BP@5.1",
            "2210": "MP@1.0",
            "2211": "MP@1.1",
            "2212": "MP@1.2",
            "2213": "MP@1.3",
            "2220": "MP@2.0",
            "2221": "MP@2.1",
            "2222": "MP@2.2",
            "2230": "MP@3.0",
            "2231": "MP@3.1",
            "2232": "MP@3.2",
            "2240": "MP@4.0",
            "2241": "MP@4.1",
            "2242": "MP@4.2",
            "2250": "MP@5.0",
            "2251": "MP@5.1",
            "2310": "XP@1.0",
            "2311": "XP@1.1",
            "2312": "XP@1.2",
            "2313": "XP@1.3",
            "2320": "XP@2.0",
            "2321": "XP@2.1",
            "2322": "XP@2.2",
            "2330": "XP@3.0",
            "2331": "XP@3.1",
            "2332": "XP@3.2",
            "2340": "XP@4.0",
            "2341": "XP@4.1",
            "2342": "XP@4.2",
            "2350": "XP@5.0",
            "2351": "XP@5.1",
            "2410": "HiP@1.0",
            "2411": "HiP@1.1",
            "2412": "HiP@1.2",
            "2413": "HiP@1.3",
            "2420": "HiP@2.0",
            "2421": "HiP@2.1",
            "2422": "HiP@2.2",
            "2430": "HiP@3.0",
            "2431": "HiP@3.1",
            "2432": "HiP@3.2",
            "2440": "HiP@4.0",
            "2441": "HiP@4.1",
            "2442": "HiP@4.2",
            "2450": "HiP@5.0",
            "2451": "HiP@5.1",
            "2510": "Hi10P@.01",
            "2511": "Hi10P@1.1",
            "2512": "Hi10P@1.2",
            "2513": "Hi10P@1.3",
            "2520": "Hi10P@2.0",
            "2521": "Hi10P@2.1",
            "2522": "Hi10P@2.2",
            "2530": "Hi10P@3.0",
            "2531": "Hi10P@3.1",
            "2532": "Hi10P@3.2",
            "2540": "Hi10P@4.0",
            "2541": "Hi10P@4.1",
            "2542": "Hi10P@4.2",
            "2550": "Hi10P@5.0",
            "2551": "Hi10P@5.1",
            "2610": "Hi422P@1.0",
            "2611": "Hi422P@1.1",
            "2612": "Hi422P@1.2",
            "2613": "Hi422P@1.3",
            "2620": "Hi422P@2.0",
            "2621": "Hi422P@2.1",
            "2622": "Hi422P@2.2",
            "2630": "Hi422P@3.0",
            "2631": "Hi422P@3.1",
            "2632": "Hi422P@3.2",
            "2640": "Hi422P@4.0",
            "2641": "Hi422P@4.1",
            "2642": "Hi422P@4.2",
            "2650": "Hi422P@5.0",
            "2651": "Hi422P@5.1",
            "2710": "Hi444PP@1.0",
            "2711": "Hi444PP@1.1",
            "2712": "Hi444PP@1.2",
            "2713": "Hi444PP@1.3",
            "2720": "Hi444PP@2.0",
            "2721": "Hi444PP@2.1",
            "2722": "Hi444PP@2.2",
            "2730": "Hi444PP@3.0",
            "2731": "Hi444PP@3.1",
            "2732": "Hi444PP@3.2",
            "2740": "Hi444PP@4.0",
            "2741": "Hi444PP@4.1",
            "2742": "Hi444PP@4.2",
            "2750": "Hi444PP@5.0",
            "2751": "Hi444PP@5.1"
        },
        "PidAttributeAudioChannels": {
            "1": "Dont Care",
            "2": "1",
            "4": "2",
            "5": "2.1",
            "7": "3.1",
            "10": "5.0",
            "11": "5.1",
            "15": "7.1",
            "19": "5.1.4",
            "23": "7.1.4"
        },
        "PidAttributeAudioDisplayPriority": {
            "1": "Any",
            "2": "Hide",
            "3": "Position A",
            "4": "Position B",
            "5": "Position C",
            "6": "Position D",
            "7": "Position E",
            "8": "Position F",
            "9": "Position G",
            "10": "Position H"
        },
        "PidAttributeSubtitleDisplay": {
            "1": "Hide",
            "2": "Show",
            "3": "Position A",
            "4": "Position B",
            "5": "Position C",
            "6": "Position D"
        },
        "PidAttributeCcDisplay": {
            "1": "Hide",
            "2": "CEA-608 CC1",
            "3": "CEA-608 CC2",
            "4": "CEA-608 CC3",
            "5": "CEA-608 CC4",
            "6": "CEA-708 CC1",
            "7": "CEA-708 CC2",
            "8": "CEA-708 CC3",
            "9": "CEA-708 CC4",
            "10": "All"
        },
        "PidAttributeAes3Bits": {
            "1": "Dont Care",
            "2": "16 Bit",
            "3": "20 Bit",
            "4": "24 Bit"
        },
        "PidAttributeAes3Channels": {
            "1": "Dont Care",
            "2": "5.1+2",
            "3": "5.1+1+1",
            "4": "4+4",
            "5": "4+2+2",
            "6": "4+2+1+1",
            "7": "4+1+1+1+1",
            "8": "2+2+2+2",
            "9": "2+2+2+1+1",
            "10": "2+2+1+1+1+1",
            "11": "2+1+1+1+1+1+1",
            "12": "1+1+1+1+1+1+1+1",
            "13": "5.1",
            "14": "4+2",
            "15": "4+1+1",
            "16": "2+2+2",
            "17": "2+2+1+1",
            "18": "2+1+1+1+1",
            "19": "1+1+1+1+1+1+1",
            "20": "4",
            "21": "2+2",
            "22": "2+1+1",
            "23": "1+1+1+1",
            "24": "7.1",
            "25": "7.1S",
            "26": "2"
        },
        "PidAttributeAes3Types": {
            "1": "Dont Care",
            "2": "PCM",
            "3": "Dolby-E"
        },
        "PidAttributeAes3Frequencies": {
            "1": "Dont Care",
            "2": "48Khz",
            "3": "96Khz",
            "4": "44.1Khz"
        }
    }
}