Cisco D9800 Reference Manual page 255

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

Advertisement

API Definitions
URI Argument
strmval
strminst
oper
GET Examples:
Example 1: Retrieve all the CICOMP Settings
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.
curl -X GET -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/ca/cicomp"
If successful, the following is an example of the return body:
{
"ca": {
}
}
POST Examples:
Note
POST requires previous knowledge of target row (idx – key) from GET command.
Description
User Stream Type Value
Type: Integer
Value: 0..255
User Stream Instance
Type: Integer
Value: 1..64
Component operation
Type: String
Value: "Add", "Delete", "Edit"
"cicomp": [
{
"idx": "1",
"peid": "1",
"mode": "PID",
"pid": "8192",
"strmcat": "USER",
"strmval": "0",
"strminst": "1",
"oper": "Inactive"
},
...
{
"idx": "64",
"peid": "1",
"mode": "PID",
"pid": "8192",
"strmcat": "USER",
"strmval": "0",
"strminst": "1",
"oper": "Inactive"
}
]
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
CA (Conditonal Access) Configuration Commands
243

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents