Closed Caption (Cc) Decode Configuration Command - Cisco D9800 Reference Manual

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

Advertisement

Decode Configuration Commands
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/subt"
If successful, the return body will look:
"decode": {
}
Example 3: Retrieve specific Subtitle 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 retrieves the imitext Position and the
Foreground Color.
curl -X GET -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/decode/subt?&imitext&foregndcol"
If successful, the return body will look like:
"decode": {
}

Closed Caption (CC) Decode Configuration Command

Table 175: Command Details
Command Detail
Command URL
Command Information
HTTP Methods
Access Type
Access Level
GET Syntax
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
210
"subt": {
"opmode": "Off",
"langmenu": "Language Entry",
"langlist": "eng",
"langentry": "eng",
"pmtorder": "First",
"imitext": "Standard",
"foregndcol": "Auto",
"backgndcol": "Auto"
}
"subt": {
"foregndcol": "Auto",
"imitext": "Standard"
}
Description
https://192.168.0.1/ws/v2/service_cfg/decode/cc
Allows set or get of closed caption decode settings parameters.
GET, POST
Read, Write
User, Admin
One of the following:
GET "https://192.168.0.1/ws/v2/service_cfg/decode/cc", or
GET "https://192.168.0.1/ws/v2/service_cfg/decode/cc?prefccmode"
API Definitions

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents