Cisco D9800 Reference Manual page 221

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

Advertisement

API Definitions
URI Argument
langmenu
langentry
pmtorder
imitext
foregndcol
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": {
}
GET Examples:
Example 2: Retrieve the full Subtitle Settings
"code": "10",
"result": "success",
"message": ""
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
Description
Language Menu Options
Type: String
Value: "Language List", "Language Entry", "PMT Order"
Language Entry
Type: String
Value: 3 character language string
PMT Order of Subtitle PID
Type: String
Values: "First", "Second", "Third", "Fourth", "Fifth", "Sixth",
"Seventh", "Eighth"
imitext Position
Type: String
Values: "Standard", "Extended"
Foreground Color
Type: String
Values: "Auto", "Yellow", "White"
Foreground Color
Type: String
Values: "None", "Auto", "Shadow", "Opaque", "Semi"
Decode Configuration Commands
209

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents