Request Md command execution
Content-Type: multipart/form-data
Key |
Type |
Value |
---|---|---|
code |
String |
SA code |
targetTime |
String |
Execution schedule time
|
{moduleId}/{type} |
int / String |
Module ID config format
|
Key |
Type |
Value |
---|---|---|
requestModuleMdData |
Object |
List of requested module IDs
|
resultModuleMdData |
Object |
List of Module results
|
Other than the above |
Shared parameters
|
POST https://*.sacm.jp/public-api/v1/user/tsa99990001/request/md-command
Content-Type: multipart/form-data; boundary=----pQ1z2mxlsg6koFX5
------pQ1z2mxlsg6koFX5 Content-Disposition: form-data; name="0/plain" show system ------pQ1z2mxlsg6koFX5 Content-Disposition: form-data; name="code" tss99990001 ------pQ1z2mxlsg6koFX5 Content-Disposition: form-data; name="targetTime" 2012/06/27 14:51:25 ------pQ1z2mxlsg6koFX5--
Content-Type: text/plain
{ "id": "1:1", "sa": { "code": "tss99990001", "name": "Service adapter 001", "description": "MEMO", "distributionId": "0001-0000-0101-0000-0000-0000-1234-5678", "up": true }, "type": "md-command", "targetTime": "2012/06/27 14:51:25", "status": "initial", "proxyStatus": "none", "resultCode": "none", "requestModuleMdData": { "id": 0, "result": null, "binary": false }, "resultModuleMdData": null }
Read information for requested Md command execution
No Parameters
Key |
Type |
Value |
---|---|---|
requestModuleMdData |
Object |
List of requested module IDs
|
resultModuleMdData |
Object |
List of Module results
|
Other than the above |
Shared parameters
|
GET https://*.sacm.jp/public-api/v1/user/tsa99990001/request/md-command/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": "md-command", "targetTime": "2012/06/27 14:51:25", "status": "successed", "proxyStatus": "success", "resultCode": "success", "requestModuleMdData": { "id": 0, "result": null, "binary": false }, "resultModuleMdData": { "id": 0, "result": 100, "binary": false } }
Update content of requested Md command execution (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 |
---|---|---|
requestModuleMdData |
Object |
List of requested module IDs
|
resultModuleMdData |
Object |
List of Module results
|
Other than the above |
Shared parameters
|
PUT https://*.sacm.jp/public-api/v1/user/tsa99990001/request/md-command/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": "md-command", "targetTime": "2012/06/27 14:51:25", "status": "canceled", "proxyStatus": "none", "resultCode": "none", "requestModuleMdData":{ "id": 0, "result": null, "binary": false }, "resultModuleMdData": null }
PUT https://*.sacm.jp/public-api/v1/user/tsa99990001/request/md-command/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": "md-command", "targetTime": "2012/06/27 16:00:00", "status": "initial", "proxyStatus": "none", "resultCode": "none", "requestModuleMdData": { "id": 0, "result": null, "binary": false }, "resultModuleMdData": 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 content of requested Md command execution (text format)
No Parameters
Content-Type: text/plain
Command (text)
GET https://*.sacm.jp/public-api/v1/user/tsa99990001/request/md-command/1:1/request/module/0/plain
Content-Type: text/plain
show system
Read content of requested Md command execution (binary format)
No Parameters
Content-Type: application/octet-stream
Command (binary)
GET https://*.sacm.jp/public-api/v1/user/tsa99990001/request/md-command/1:1/request/module/0/binary
Content-Type: application/octet-stream
Command (binary)
Read results of requested Md command execution (text format)
No Parameters
Content-Type: text/plain
Operation result (text)
GET https://*.sacm.jp/public-api/v1/user/tsa99990001/request/md-command/1:1/result/module/0/plain
Content-Type: application/json
SEIL/B1 IPL Monitor version 1.01 SEIL/B1 Ver. 3.91 (Ritornello) Arch : SEIL/B1 Rev. A CPU : IXP43X 400.0MHz step A-1 (XScale core) Vendor : OEM Serial : UT509-##00XXX Host : "sample" Bootinfo: rebooting by software reset Bootdev : flash Date : 2001/01/03 13:53:18 (JST) Up : 2 days 4:53 (since 2001/01/01 09:00:00) Users : 0 users Loadavg : 0.00 (1min), 0.00 (5min), 0.00 (15min) CPUstat : Used 0%, Interrupts 0% Memory : Total 128MB, Used 58MB (45%), Avail 69MB (54%)
Read results of requested Md command execution (binary format)
No Parameters
Content-Type: application/octet-stream
Operation result (binary)
GET https://*.sacm.jp/public-api/v1/user/tsa99990001/request/md-command/1:1/result/module/0/binary
Content-Type: application/octet-stream
Operation result (binary)