Request traceroute
Content-Type: application/json
Key |
Type |
Value |
---|---|---|
sa |
Object |
Requested service adaptor information (required)
|
targetTime |
String |
Execution schedule date/time (required)
|
targetAddress |
String |
Traceroute recipient IP address (required) |
maxHop |
int |
Maximum hop count (0 - 255) (required) |
count |
int |
Packet count per hop (1 - 10) (required) |
201
Key |
Type |
Value |
---|---|---|
targetAddress |
String |
Traceroute recipient IP address |
maxHop |
int |
maximum hop count (0 - 255) |
count |
int |
Packet count per hop (1 - 10) (required) |
resultNodeInfo |
Array |
List of traceroute results
|
Other than the above |
Shared parameters
|
POST https://*.sacm.jp/public-api/v1/user/tsa99990001/request/traceroute
Content-Type: application/json
{ "sa": { "code": "tss99990001" }, "targetTime": "2012/06/27 14:51:25", "targetAddress": "210.130.137.80", "maxHop": 100, "count": 5 }
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": "traceroute", "targetTime": "2012/06/27 14:51:25", "status": "initial", "proxyStatus": "none", "resultCode": "none", "targetAddress": "210.130.137.80", "maxHop": 100, "count": 5, "resultNodeInfo": null }
Read information for requested traceroute
No Parameters
Key |
Type |
Value |
---|---|---|
targetAddress |
String |
Traceroute recipient IP address |
maxHop |
int |
maximum hop count (0 - 255) |
count |
int |
Packet count per hop (1 - 10) (required) |
resultNodeInfo |
Array |
List of traceroute results (only when request is done)
|
Other than the above |
Shared parameters
|
GET https://*.sacm.jp/public-api/v1/user/tsa99990001/request/traceroute/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": "traceroute", "targetTime": "2012/06/27 14:51:25", "status": "successed", "proxyStatus": "success", "resultCode": "success", "targetAddress": "210.130.137.80", "maxHop": 100, "count": 5, "resultNodeInfo": [ { "hop": 1, "address": "192.168.0.1" }, { "hop": 2, "address": "210.149.34.69" }, { "hop": 3, "address": "210.149.34.133" }, { "hop": 4, "address": "210.149.34.97" }, { "hop": 5, "address": "58.138.100.213" }, { "hop": 6, "address": "58.138.80.45" }, { "hop": 7, "address": "58.138.80.242" }, { "hop": 8, "address": "58.138.104.30" }, { "hop": 9, "address": "210.130.137.80" } ] }
Update information for requested traceroute (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 |
---|---|---|
targetAddress |
String |
Traceroute recipient IP address |
maxHop |
int |
maximum hop count (0 - 255) |
count |
int |
Packet count per hop (1 - 10) (required) |
resultNodeInfo |
Array |
List of traceroute results
|
Other than the above |
Shared parameters
|
PUT https://*.sacm.jp/public-api/v1/user/tsa99990001/request/traceroute/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": "traceroute", "targetTime": "2012/06/27 14:51:25", "status": "canceled", "proxyStatus": "none", "resultCode": "none", "targetAddress": "210.130.137.80", "maxHop": 100, "count": 5, "resultNodeInfo": null }
PUT https://*.sacm.jp/public-api/v1/user/tsa99990001/request/traceroute/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": "traceroute", "targetTime": "2012/06/27 16:00:00", "status": "initial", "proxyStatus": "none", "resultCode": "none", "targetAddress": "210.130.137.80", "maxHop": 100, "count": 5, "resultNodeInfo": null }
ID may be updated if the execution schedule date/time is updated
Simultaneous execution cancel and execution schedule date/time update not allowed