User Configuration Command - Cisco D9800 Reference Manual

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

Advertisement

User Configuration Command

In GET URIs only, the index argument must contain a value for the transcoder, all other arguments so not
Note
contain values.
curl -X GET -i -H "Accept: application/json" -H
"X-SESSION-ID: $token" -k "https://192.168.0.1/ws/v2/service_cfg/transcode/
subt?index=5&langmenu"
If successful, the following is an example of the return body:
{
"transcode": {
}
}
Example 5: GET multiple SUBT transcoder values for a specific transcoder
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 multiple parameter values from
the HD transcoder settings for transcoder 5.
The user must always specify the port number in the URI followed by the URI arguments the user wishes
Note
to retrieve. This example retrieves the langmenu, langentry, and foregndcol values from transcoder 5.
In GET URIs only, the index argument must contain a value for the transcoder, all other arguments do
Note
not contain values.
curl -X GET -i
"https://192.168.0.1/ws/v2/service_cfg/transcode/subt?index=5&langmenu&langentry&foregndcol"
If successful, the return body will be:
{
}
User Configuration Command
Table 213: Command Details
Command Detail
Command URL
Command Information
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
256
"subt": {
"index": "5",
"langmenu": "PMT Order"
}
-H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"transcode": {
"subt": {
"index": "5",
"foregndcol": "Auto",
"langentry": "eng",
"langmenu": "PMT Order"
}
}
Description
https://192.168.0.1/ws/v2/service_cfg/user
Allows set or get of user configuration.
API Definitions

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents