Read list of Working config summaries
No Parameters
Key |
Type |
Value |
---|---|---|
results |
Array |
List of Working config summaries |
GET https://*.sacm.jp/public-api/v1/user/tsa99990001/sa/tss99990001/config/working
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:29" }, { "moduleId": 1, "moduleName": "update-firmware", "version": "0.0.0-0", "binary": false, "lastModified": "2012/06/18 10:36:31" }, { "moduleId": null, "moduleName": null, "version": null, "binary": null, "lastModified": "2012/06/18 10:36:33" } ] }
Save blank Working config to a module which has not had a config saved to it
No Parameters
204
Content-Type: text/plain
No Body
PUT https://*.sacm.jp/public-api/v1/user/tsa99990001/sa/tss99990001/config/working/blank
Content-Type: application/json
No Body
Content-Type: application/json
No Body
A module which has not yet had a config saved to it cannot reflect a config onto the Startup config or Running config
Update the Working config module information for the specified module
Content-Type: application/json
Key |
Type |
Value |
---|---|---|
version |
String |
Module version (required) |
204
Content-Type: text/plain
No Body
PUT https://*.sacm.jp/public-api/v1/user/tsa99990001/sa/tss99990001/config/working/0
Content-Type: application/json
{ "version": "3.91.0-0" }
Content-Type: application/json
No Body
Read Working 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/working/0/plain
Content-Type: text/plain
hostname "sample" interface lan0 add 192.168.0.1/24 interface lan1 add dhcp route add default dhcp telnetd enable
Read Working 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/working/0/binary
Content-Type: application/octet-stream
Config (binary)
Update Working config (text format) of specified module
Content-Type: text/plain
Config (text)
204
Content-Type: text/plain
No Body
PUT https://*.sacm.jp/public-api/v1/user/tsa99990001/sa/tss99990001/config/working/0/plain
Content-Type: text/plain
hostname "sample" interface lan0 add 192.168.0.1/24 interface lan1 add dhcp route add default dhcp telnetd enable
Content-Type: text/plain
No Body
Update Working config (binary format) of specified module
Content-Type: multipart/form-data
Config (binary)
Content-Type: text/plain
true
PUT https://*.sacm.jp/public-api/v1/user/tsa99990001/sa/tss99990001/config/working/0/binary
Content-Type: multipart/form-data; boundary=----5laI4vTCiCNvt98A
------5laI4vTCiCNvt98A Content-Disposition: form-data; name="binary-config-file"; filename="sample" Content-Type: application/octet-stream (Binary-data) ------5laI4vTCiCNvt98A--
Content-Type: text/plain
true