UNPKG

@itentialopensource/adapter-sevone_v2

Version:

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

167 lines 4.67 kB
{ "actions": [ { "name": "getDeviceGroupsRules", "protocol": "REST", "method": "GET", "entitypath": "{base_path}/{version}/devicegroups/rules?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/getDeviceGroupsRules-default.json" } ] }, { "name": "createDeviceGroupRule", "protocol": "REST", "method": "POST", "entitypath": "{base_path}/{version}/devicegroups/rules?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/createDeviceGroupRule-default.json" } ] }, { "name": "applyDeviceGroupRules", "protocol": "REST", "method": "POST", "entitypath": "{base_path}/{version}/devicegroups/rules/apply?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/applyDeviceGroupRules-default.json" } ] }, { "name": "getDeviceGroupRule", "protocol": "REST", "method": "GET", "entitypath": "{base_path}/{version}/devicegroups/rules/{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/getDeviceGroupRule-default.json" } ] }, { "name": "updateDeviceGroupRule", "protocol": "REST", "method": "PUT", "entitypath": "{base_path}/{version}/devicegroups/rules/{pathv1}?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/updateDeviceGroupRule-default.json" } ] }, { "name": "deleteDeviceGroupRule", "protocol": "REST", "method": "DELETE", "entitypath": "{base_path}/{version}/devicegroups/rules/{pathv1}?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/deleteDeviceGroupRule-default.json" } ] }, { "name": "getDeviceGroupRules", "protocol": "REST", "method": "GET", "entitypath": "{base_path}/{version}/devicegroups/{pathv1}/rules?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/getDeviceGroupRules-default.json" } ] }, { "name": "applyDeviceGroupRulesByGroupId", "protocol": "REST", "method": "POST", "entitypath": "{base_path}/{version}/devicegroups/{pathv1}/rules/apply?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/applyDeviceGroupRulesByGroupId-default.json" } ] } ] }