Export System Preset
Retrieves a preset of the entire device, including route configurations.
Authorizations: Administrator
Requests
GET /api/gateway/[Device ID]/system/preset
cookie: sessionID: [Session ID] |
Parameters
N/A
Response
Response type is a downloadable file with Content-Disposition: attachment
where the contents of the file are of type application/json
. This file can be POSTed back to the Media Gateway/SRT Gateway using the Import System Preset command to return the system to the state captured by the preset at the moment of export.
{
"preset_version": "1.0",
"product_version": "3.0.0.79",
"routes": [
{
"name": "Test route",
"source": {
"name": "Source Name",
"networkInterface": "",
"mode": "unicast",
"address": "0.0.0.0",
"protocol": "udp",
"port": 1234,
"encryption": "none",
"srtLatency": null,
"srtPassPhrase": null
},
"destinations": [
{
"name": "Destination Name",
"protocol": "udp",
"port": 7890,
"mode": "unicast",
"networkAddress": null,
"networkInterface": "",
"address": "1.2.3.4",
"ttl": 64,
"mtu": 1496,
"tos": 184,
"encryption": "none",
"fec": "none",
"shaping": false,
"maxBitrate": 10000
}
]
}
]
} |