Cisco D9800 Reference Manual page 234

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

Advertisement

Decode Configuration Commands
All of the URI Arguments below apply to both GET and POST. For GET, the URI arguments do not need
Note
any values. For POST at least one of the arguments must be specified along with the associated value the
user would like to set. In-depth CURL examples can be seen below following the table.
Table 184: URI Query/Set Arguments
URI Argument
device
streamid
POST Example
Example 1: Set Audio ST302 Device Stream ID
curl -X POST -i -H "Accept: application/json" -H "X-SESSION-ID:$token" -k
"https://192.168.0.1/ws/v2/service_cfg/decode/aud_st302?streamid=2"
If successful, the return body will look like:
"response": {
}
GET Example
Example 2: Retrieve the Audio ST302 Device Stream ID
curl -X GET -i -H "Accept: application/json" -H "X-SESSION-ID:$token" -k
"https://192.168.0.1/ws/v2/service_cfg/decode/aud_302"
If successful, the return body will look like:
"decode": {
}
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
222
Description
ST302 Device ID
Type: String
Value: "1"
ST302 Stream ID
Type: String
Value: "1", "2", "3", "4"
"code": "10",
"result": "success",
"message": ""
"aud_st302": {
"device": "1",
"streamid": "2"
}
API Definitions

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents