Read service adaptor information
No Parameters
Key |
Type |
Value |
---|---|---|
results |
Array |
Service adaptor list
|
GET https://*.sacm.jp/public-api/v1/user/tsa99990001/sa
Content-Type: application/json
{ "results": [ { "code": "tss99990001", "name": "SEIL/B1 001", "description": "MEMO", "distributionId": "0001-0000-0101-0000-0000-0000-1234-5678", "up": true, "configState": "pushready", "group": { "id": 1, "name": "Folder1" }, "template": { "id": 1, "name": "Template1" }, "monitor": { "id": 1, "name": "Monitor1" }, "date": { "lastPushReady": "2012/06/05 16:00:09", "lastHeartbeatReport": "2012/05/11 17:10:02", "lastPulled": "2012/05/11 17:06:22", "firstPulled": "2012/04/11 17:07:00" }, type: 0, mode: null }, { "code": "tsw99990002", "name": "SA-W1 001", "description": "MEMO", "distributionId": "0001-0000-0101-0000-0000-0000-5678-1234", "up": true, "configState": "pushready", "group": { "id": 2, "name": "Folder2" }, "template": { "id": 2, "name": "Template2" }, "monitor": { "id": 2, "name": "Monitor2" }, "date": { "lastPushReady": "2012/06/05 16:00:09", "lastHeartbeatReport": "2012/05/11 17:10:02", "lastPulled": "2012/05/11 17:06:22", "firstPulled": "2012/04/11 17:07:00" }, "type": 1, "mode": "R0001" } ] }
Read service adaptor details
No Parameters
Key |
Type |
Value |
---|---|---|
code |
String |
SA code |
name |
String |
SA label |
description |
String |
Memo |
distributionId |
String |
Distribution ID |
up |
boolean |
Connection status
|
ipAddress |
String |
Connection source IP address |
port |
int |
Port used by the connection |
pulledTrigger |
String |
Config Pull reason
|
configState |
String |
Config status
|
pushMethod |
String |
Connection mode used by the service adaptor
|
preferredPushMethod |
String |
Connection mode proposed by RS
|
date |
Object |
Date/time information
|
graph |
Object |
Information required to access graph
|
group |
Object |
Assigned folder (null if not assigned)
|
template |
Object |
Assigned Template (null if not assigned)
|
monitor |
Object |
Assigned Monitor group (null if not assigned)
|
type: |
int |
Service adaptor type
|
mode |
String |
Recipe-compatible service adaptor recipe code (null if not assigned) |
GET https://*.sacm.jp/public-api/v1/user/tsa99990001/sa/tss99990001
Content-Type: application/json
{ "code": "tss99990001", "name": "SEIL/B1 001", "description": "MEMO", "distributionId": "0001-0000-0101-0000-0000-0000-1234-5678", "up": true, "configState": "pushready", "group": { "id": 1, "name": "Folder1" }, "template": { "id": 1, "name": "Template1" }, "monitor": { "id": 1, "name": "Monitor1" }, "ipAddress": "10.0.0.1", "port": 65525, "pulledTrigger": "power-on-boot", "pushMethod": "tunnel", "preferredPushMethod": "tunnel", "date": { "lastPushReady": "2012/06/05 16:00:09", "lastHeartbeatReport": "2012/05/11 17:10:02", "lastPulled": "2012/05/11 17:06:22", "firstPulled": "2012/04/11 17:07:00" }, "graph": { "uri": "hb500/grapher.cgi", "keyCode": "graphkeycodesample" }, "type": 0, "mode": null }
Update service adaptor details
Content-Type: application/json
Key |
Type |
Value |
---|---|---|
name |
String |
SA level (1 - 100 characters) (option) |
description |
String |
Memo (1 - 500 characters) (option) |
distributionId |
String |
Distribution ID (39 characters) or null (option)
|
preferredPushMethod |
String |
Connection mode proposed by RS (option)
|
Key |
Type |
Value |
---|---|---|
code |
String |
SA code |
name |
String |
SA label |
description |
String |
Memo |
distributionId |
String |
Distribution ID |
up |
boolean |
Connection status
|
ipAddress |
String |
Connection source IP address |
port |
int |
Port used by the connection |
pulledTrigger |
String |
Config Pull reason
|
configState |
String |
Config status
|
pushMethod |
String |
Connection mode used by the service adaptor
|
preferredPushMethod |
String |
Connection mode proposed by RS
|
date |
Object |
Date/time information
|
graph |
Object |
Information required to access graph
|
group |
Object |
Assigned folder (null if not assigned)
|
template |
Object |
Assigned Template (null if not assigned)
|
monitor |
Object |
Assigned Monitor group (null if not assigned)
|
type: |
int |
Service adaptor type
|
mode |
String |
Recipe-compatible service adaptor recipe code (null if not assigned) |
PUT https://*.sacm.jp/public-api/v1/user/tsa99990001/sa/tss99990001
Content-Type: application/json
{ "name": "SEIL/B1 002", "description": "MEMO-CHANGED", "distributionId": "0001-0000-0101-0000-0000-0000-5678-1234", "preferredPushMethod": "simple" }
Content-Type: application/json
{ "code": "tss99990001", "name": "SEIL/B1 002", "description": "MEMO-CHANGED", "distributionId": "0001-0000-0101-0000-0000-0000-5678-1234", "up": true, "configState": "pushready", "group": { "id": 1, "name": "Folder1" }, "template": { "id": 1, "name": "Template1" }, "monitor": { "id": 1, "name": "Monitor1" }, "ipAddress": "10.0.0.1", "port": 65525, "pulledTrigger": "power-on-boot", "pushMethod": "tunnel", "preferredPushMethod": "simple", "date": { "lastPushReady": "2012/06/05 16:00:09", "lastHeartbeatReport": "2012/05/11 17:10:02", "lastPulled": "2012/05/11 17:06:22", "firstPulled": "2012/04/11 17:07:00" }, "graph": { "uri": "hb500/grapher.cgi", "keyCode": "graphkeycodesample" }, "type": 0, "mode": null }
Key |
Type |
Value |
---|---|---|
code |
String |
SA code |
name |
String |
SA label |
description |
String |
Memo |
distributionId |
String |
Distribution ID |
up |
boolean |
Connection status
|
configState |
String |
Config status
|
group |
Object |
Assigned folder (null if not assigned)
|
template |
Object |
Assigned Template (null if not assigned)
|
monitor |
Object |
Assigned Monitor group (null if not assigned)
|
date |
Object |
Date/time information
|
type: |
int |
Service adaptor type
|
mode |
String |
Recipe-compatible service adaptor recipe code (null if not assigned) |