Read list of Running 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/running
Content-Type: application/json
{ "results": [ { "moduleId": 0, "moduleName": "SEIL/B1 3.75 (Saraband)", "version": "3.75.0-0", "binary": false, "lastModified": "2012/04/16 10:07:52" }, { "moduleId": 1, "moduleName": "update-firmware", "version": "0.0.0-0", "binary": false, "lastModified": "2012/04/16 10:07:52" } ] }
Reflect Working config, or template set content onto Running config
Content-Type: application/json
Key |
Type |
Value |
---|---|---|
date |
String |
Reflect schedule date/time (required)
|
deployStartup |
boolean |
Whether or not to reflect on the Startup config at the same time as the Running config (option)
|
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/running
{ "date": null, "deployStartup": true }
Content-Type: text/plain
No Body
Recipe-compatible service adaptors only
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 Running 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/running/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 Running 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/running/0/binary
Content-Type: application/octet-stream
Config (binary)