API Definitions
Command Detail
POST Syntax
Setting Parameters using
command line arguments is
limited to maximum of 26
arguments after the ?.
URI Parameters (extension to the Command URL separated by /): N/A
The following table lists the URI arguments:
Note
Table 178: URI Query/Set Arguments (possible fields and values preceded by ? and separated by &)
URI Argument
device (key)
mode
ac3comp
left
Description
POST
"https://192.168.0.1/ws/v2/service_cfg/decode/audio?device=[device#]
&mode=[value]&...", or
POST "https://192.168.0.1/ws/v2/service_cfg/decode/audio?
device=all&langmenu=Language%20List"
Note
Unlike the device=[device#] format, this command variation allows
values of specific fields to be set simultaneously for all of the available
Audio device instances.
All of the URI Arguments below apply to both GET and POST and are the same names used in the
GET output fields. For GET, the URI arguments do not need any values, except the device which
must be specified. For POST, the device must be specified followed by any of the below URI
arguments and the associated value the user would like to set. In-depth CURL examples can be seen
below following the table.
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
This option is available in Version 2.75 or
later.
Description
Audio Device Instance
Type: Integer
Value: 1 .. 2, all
Audio Mode
Type: String
Value: "Stereo", "Mixed", "L-MONO", "R-MONO"
AC3 Compression
Type: String
Value: "RF Mode", "Line Mode", "Custom 1", "Custom 0"
Left volume
Type : Float
Value: -6.0 .. 6.0
Decode Configuration Commands
213