UNPKG

@itentialopensource/adapter-sevone_v2

Version:

This adapter integrates with system described as: SevOne v2 api.

126 lines 3.44 kB
{ "actions": [ { "name": "getDevicesInDiscovery", "protocol": "REST", "method": "GET", "entitypath": "{base_path}/{version}/discovery?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/getDevicesInDiscovery-default.json" } ] }, { "name": "filterDevicesInDiscovery", "protocol": "REST", "method": "POST", "entitypath": "{base_path}/{version}/discovery/filter?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/filterDevicesInDiscovery-default.json" } ] }, { "name": "runDiscoveryAllDevices", "protocol": "REST", "method": "POST", "entitypath": "{base_path}/{version}/discovery/run?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/runDiscoveryAllDevices-default.json" } ] }, { "name": "getDeviceStatusById", "protocol": "REST", "method": "GET", "entitypath": "{base_path}/{version}/discovery/{pathv1}?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/getDeviceStatusById-default.json" } ] }, { "name": "updateDevicePriority", "protocol": "REST", "method": "PATCH", "entitypath": "{base_path}/{version}/discovery/{pathv1}?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/updateDevicePriority-default.json" } ] }, { "name": "runDiscoverDevice", "protocol": "REST", "method": "POST", "entitypath": "{base_path}/{version}/discovery/{pathv1}/run?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/runDiscoverDevice-default.json" } ] } ] }