Description
URI Argument
Language Menu Options
Type: String
Value: "Language List", "Language Entry", "PMT Order"
langmenu
Language Entry
Type: String
Value: 3 character language string
langentry
PMT Order of Subtitle PID
Type: String
Values: "First", "Second", "Third", "Fourth", "Fifth", "Sixth",
"Seventh", "Eighth"
pmtorder
imitext Position
Type: String
Values: "Standard", "Extended"
imitext
Foreground Color
Type: String
Values: "Auto", "Yellow", "White"
foregndcol
Foreground Color
Type: String
Values: "None", "Auto", "Shadow", "Opaque", "Semi"
backgndcol
POST Examples:
Example 1: Set various Subtitle Setting Arguments
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. This example sets the imitext Position to Standard and the
Foreground Color to Auto.
curl -X POST -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/decode/subt?imitext=Standard&foregndcol=Auto"
If successful, the return body will look like:
"response": {
"code": "10",
"result": "success",
"message": ""
}
GET Examples:
Example 2: Retrieve the full Subtitle Settings
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
209
API Definitions
Decode Configuration Commands