Read list of Startup config summaries
No Parameters
Key |
Type |
Value |
---|---|---|
results |
Array |
List of Running config summaries |
GET https://*.sacm.jp/public-api/v1/user/tsa99990001/sa/tss99990001/config/startup
Content-Type: application/json
{ "results": [ { "moduleId": 0, "moduleName": "SEIL/B1 3.71 (Symphony8)", "version": "3.71.0-0", "binary": false, "lastModified": "2012/06/18 10:36:48" }, { "moduleId": 1, "moduleName": "update-firmware", "version": "0.0.0-0", "binary": false, "lastModified": "2012/06/18 10:36:48" } ] }
Reflect Working config, or template set content onto Startup config
No Parameters
204
Content-Type: text/plain
No Body
Recipe-compatible service adaptors only. Reflect fails if the system determines the config cannot be reflected on the equipment
400
Content-Type: application/json
Key |
Type |
Value |
---|---|---|
results |
Array |
List of fail reasons
|
PUT https://*.sacm.jp/public-api/v1/user/tsa99990001/sa/tss99990001/config/startup
No Body
Content-Type: text/plain
No Body
Content-Type: application/json
{ "results": [ { "row": 3, "column ":null, "error": "invalidaddress:dhcpd", "line": "route.ipv4.0.gateway", "label": "syntax" }, { "row": 4, "column" :null, "error": "unknownkey.", "line": "key", "label": "syntax" }, { "row": 4, "column": null, "error": "refusekeyname.", "line": "key", "label": "recipe" } ] }
Read Startup config (text format) of specified module
No Parameters
Content-Type: text/plain
Config (text)
GET https://*.sacm.jp/public-api/v1/user/tsa99990001/sa/tss99990001/config/startup/0/plain
Content-Type: application/json
hostname "sample" interface lan0 add 192.168.0.1/24 interface lan1 add dhcp route add default dhcp telnetd enable
Read Startup config (binary format) of specified module
No Parameters
Content-Type: application/octet-stream
Config (binary)
GET https://*.sacm.jp/public-api/v1/user/tsa99990001/sa/tss99990001/config/startup/0/binary
Content-Type: application/octet-stream
Config (binary)