GET Examples:
Example 2: Retrieve the full VBI 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/decode/vbi"
If successful, the following is an example of the return body:
"decode": {
"vbi": {
"wstinstart": "Standard",
"vitspal17": "Disable",
"vitspal18": "Disable",
"vitspal330": "Disable",
"vitspal331": "Disable",
"vitcmode": "Passthrough",
"vitctmcode": "LTC",
"vitcdropfr": "Enable"
}
}
Example 3: Retrieve specific VBI 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. The following example will retrieve the VITC Color Mode and
the VITC Drop Frame.
curl -X GET -i
-H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/decode/vbi?vitcdropfr"
If successful, the following is an example of the return body:
"decode": {
"vbi": {
"vitcdropfr": "Enable"
}
}
CA (Conditonal Access) Configuration Commands
This section lists the conditional access configuration commands.
PowerVu (PVU) CA Configuration Command
Table 197: Command Details
Description
Command Detail
https://192.168.0.1/ws/v2/service_cfg/ca/pvu
Command URL
Allows set or get of PowerVu Conditonal Access configuration.
Command Information
GET, POST
HTTP Methods
Read, Write
Access Type
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
233
API Definitions
CA (Conditonal Access) Configuration Commands