Cisco D9800 Reference Manual page 177

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

Advertisement

API Definitions
change the IP to the specific unit IP in use. The following example changes the name of an existing ABR
entry to "Prog5".
curl -X POST -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/input/abr?stream=2&name=Prog5
If successful, the return body will be:
"response": {
}
Example 2: Changing multiple ABR Parameters
The following example assumes that the user has successfully logged onto the unit, received the session ID,
and set it to the variable token. In addition, it is assumed that the IP of the unit is 192.168.0.1. You must
change the IP to the specific unit IP in use. The following example changes several ABR parameters for an
existing entry. It will set the netid to 12345, sdten to Yes, paten to Yes and niten to Yes.
curl -X POST -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/input/abr?stream=2&netid=12345&sdten=Yes&paten=Yes&niten=Yes"
If successful, the return body will be:
"response": {
}
GET Examples:
Example 3: GET the full ABR tuning values for a specific ABR entry
The following example assumes that the user has successfully logged onto the unit, received the session ID,
and set it to the variable token. In addition, it is assumed that the IP of the unit is 192.168.0.1. You must
change the IP to the specific unit IP in use. The following example retrieves all of the ABR settings for stream
2.
curl -X GET -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/input/abr?stream=2"
If successful, the return body will be:
"input": {
}
}
Example 4: GET a specific ABR value for a specific ABR entry
The following example assumes that the user has successfully logged onto the unit, received the session ID,
and set it to the variable token. In addition, it is assumed that the IP of the unit is 192.168.0.1. You must
change the IP to the specific unit IP in use. The following example retrieves one specific parameter value,
camode, from the ABR settings for ABR stream 2.
"code": "10",
"result": "success",
"message": ""
"code": "10",
"result": "success",
"message": ""
"abr": {
"stream": "2",
"act": "No",
"netid": "1",
"camode": "Std",
"inputsel": "UserCfg",
"freqmode": "User Cfg",
"svclstmode": "Rigorous",
"baten": "No",
"niten": "No",
"sdten": "Yes",
"paten": "Yes",
"name": "ABR2",
"url": "",
"latency": "0",
"phyport": "Mngmt",
"cmdrow": "Inactive",
"minlatency": "0"
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
ABR Input Configuration Command
165

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents