UNPKG

@itentialopensource/adapter-sevone_v2

Version:

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

166 lines 4.73 kB
{ "actions": [ { "name": "getThresholds", "protocol": "REST", "method": "GET", "entitypath": "{base_path}/{version}/thresholds?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/getThresholds-default.json" } ] }, { "name": "createThreshold", "protocol": "REST", "method": "POST", "entitypath": "{base_path}/{version}/thresholds/flow/{pathv1}?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/createThreshold-default.json" } ] }, { "name": "getThresholdById", "protocol": "REST", "method": "GET", "entitypath": "{base_path}/{version}/thresholds/flow/{pathv1}/{pathv2}?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/getThresholdById-default.json" } ] }, { "name": "updateThreshold", "protocol": "REST", "method": "PUT", "entitypath": "{base_path}/{version}/thresholds/flow/{pathv1}/{pathv2}?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/updateThreshold-default.json" } ] }, { "name": "deleteThresholdById", "protocol": "REST", "method": "DELETE", "entitypath": "{base_path}/{version}/thresholds/flow/{pathv1}/{pathv2}?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/deleteThresholdById-default.json" } ] }, { "name": "createThresholdCondition", "protocol": "REST", "method": "POST", "entitypath": "{base_path}/{version}/thresholds/flow/{pathv1}/{pathv2}/{pathv3}/conditions?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/createThresholdCondition-default.json" } ] }, { "name": "updateThresholdConditionById", "protocol": "REST", "method": "PUT", "entitypath": "{base_path}/{version}/thresholds/flow/{pathv1}/{pathv2}/{pathv3}/conditions/{pathv4}?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/updateThresholdConditionById-default.json" } ] }, { "name": "deleteThresholdConditionById", "protocol": "REST", "method": "DELETE", "entitypath": "{base_path}/{version}/thresholds/flow/{pathv1}/{pathv2}/{pathv3}/conditions/{pathv4}?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/deleteThresholdConditionById-default.json" } ] } ] }