Request read config
Content-Type: application/json
Key |
Type |
Value |
---|---|---|
sa |
Object |
Requested service adaptor information
|
targetTime |
String |
Execution schedule time
|
storage |
String |
Config type to be read
|
201
Key |
Type |
Value |
---|---|---|
storage |
String |
Config type to be read
|
moduleMdData |
Array |
Module information
|
Other than the above |
Shared parameters
|
POST https://*.sacm.jp/public-api/v1/user/tsa99990001/request/read-storage
Content-Type: application/json
{ "sa": { "code": "tss99990001" }, "targetTime": "2012/06/27 14:51:25", "storage": "running" }
Content-Type: application/json
{ "id": "1:1", "sa": { "code": "tss99990001", "name": "Service adapter 001", "description": "MEMO", "distributionId": "0001-0000-0101-0000-0000-0000-1234-5678", "up": true }, "type": "read-storage", "targetTime": "2012/06/27 14:51:25", "status": "initial", "proxyStatus": "none", "resultCode": "none", "storage": "running", "moduleMdData": null }
Read information for requested read config
No Parameters
Key |
Type |
Value |
---|---|---|
storage |
String |
Config type to be read
|
moduleMdData |
Array |
Module information
|
Other than the above |
Shared parameters
|
GET https://*.sacm.jp/public-api/v1/user/tsa99990001/request/read-storage/1:1
Content-Type: application/json
{ "id": "1:1", "sa": { "code": "tss99990001", "name": "Service adapter 001", "description": "MEMO", "distributionId": "0001-0000-0101-0000-0000-0000-1234-5678", "up": true }, "type": "read-storage", "targetTime": "2012/06/27 14:51:25", "status": "successed", "proxyStatus": "success", "resultCode": "success", "storage": "running", "moduleMdData": [ { "id": 0, "result": 0, "binary": false }, { "id": 1, "result": 0, "binary": false } ] }
Update information for read config (stop execution, update execution schedule date/time)
Content-Type: application/json
Key |
Type |
Value |
---|---|---|
status |
int |
Request status
|
targetTime |
String |
Execute schedule date/time
|
Key |
Type |
Value |
---|---|---|
storage |
String |
Config type to be read
|
moduleMdData |
Array |
Module information
|
Other than the above |
Shared parameters
|
PUT https://*.sacm.jp/public-api/v1/user/tsa99990001/request/read-storage/1:1
Content-Type: application/json
{"status": 3}
Content-Type: application/json
{ "id": "1:1", "sa": { "code": "tss99990001", "name": "Service adapter 001", "description": "MEMO", "distributionId": "0001-0000-0101-0000-0000-0000-1234-5678", "up": true }, "type": "read-storage", "targetTime": "2012/06/27 14:51:25", "status": "canceled", "proxyStatus": "none", "resultCode": "none", "storage": "startup", "moduleMdData": null }
PUT https://*.sacm.jp/public-api/v1/user/tsa99990001/request/read-storage/1:1
Content-Type: application/json
{"targetTime": "2012/06/27 16:00:00"}
Content-Type: application/json
{ "id": "1:1", "sa": { "code": "tss99990001", "name": "Service adapter 001", "description": "MEMO", "distributionId": "0001-0000-0101-0000-0000-0000-1234-5678", "up": true }, "type": "read-storage", "targetTime": "2012/06/27 16:00:00", "status": "initial", "proxyStatus": "none", "resultCode": "none", "storage": "startup", "moduleMdData": null }
ID may be updated if the execution schedule date/time is updated
Simultaneous execution cancel and execution schedule date/time update not allowed
Read execution results of requested read config (text format)
No Parameters
Content-Type: text/plain
Config (text)
GET https://*.sacm.jp/public-api/v1/user/tsa99990001/request/read-storage/1:1/result/module/0/plain
Content-Type: text/plain
hostname "SEIL/B1 001" interface lan0 add 192.168.0.1/24 interface lan1 add dhcp route add default dhcp telnetd enable
Read execution results of requested read config (binary format)
No Parameters
Content-Type: application/octet-stream
Config (binary)
GET https://*.sacm.jp/public-api/v1/user/tsa99990001/request/read-storage/1:1/result/module/0/binary
Content-Type: application/octet-stream
Config (binary)