Audio St302 Device Settings Command - Cisco D9800 Reference Manual

Network transport receiver
Hide thumbs Also See for D9800:
Table of Contents

Advertisement

API Definitions
As seen above, the possible URIs are seen. The SDI 1 and 2 Output Modes are still a part of audio. Place the
specific URI (see above) into the CURL command and the user will be able to POST and GET the SDI 1 and
2 Output Modes.
POST Example
Example 1: Set Audio Device SDI1Output:
curl -X POST -i
"https://192.168.0.1/ws/v2/service_cfg/decode/audio?sdi1output=PVO"
If successful, the return body will look like:
"response": {
}
GET Example
Example 2: Retrieve the Audio Device SDI1Output setting
curl -X GET -i
"https://192.168.0.1/ws/v2/service_cfg/decode/audio?sdi1output"
If successful, the return body will look like:
"decode": {
}

Audio ST302 Device Settings Command

Table 183: Command Details
Command Detail
Command URL
Command Information
HTTP Method(s)
Access Type
Access Level
Syntax
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
URI Query/Set Arguments (possible fields and values preceded by ? and separated by &):
-H "Accept: application/json" -H "X-SESSION-ID:$token" -k
"code": "10",
"result": "success",
"message": ""
-H "Accept: application/json" -H "X-SESSION-ID:$token" -k
"audio": {
"sdi1output": "PVO"
}
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
Description
https://192.168.0.1/ws/v2/service_cfg/decode/aud_302
Allows set or get of audio ST302 decoder settings.
GET, POST
Read, Write
User, Admin
GET "https://192.168.0.1/ws/v2/service_cfg/decode/aud_st302
POST "https://192.168.0.1/ws/v2/service_cfg/decode/aud_st302?
streamid=2"
Decode Configuration Commands
221

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents