UNPKG

@itentialopensource/adapter-opsgenie

Version:

This adapter integrates with system described as: opsgenieRestApi.

146 lines 4.22 kB
{ "actions": [ { "name": "listNotificationRuleSteps", "protocol": "REST", "method": "GET", "entitypath": "{base_path}/{version}/v2/users/{pathv1}/notification-rules/{pathv2}/steps?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "" } ] }, { "name": "createNotificationRuleStep", "protocol": "REST", "method": "POST", "entitypath": "{base_path}/{version}/v2/users/{pathv1}/notification-rules/{pathv2}/steps?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "" } ] }, { "name": "getNotificationRuleStep", "protocol": "REST", "method": "GET", "entitypath": "{base_path}/{version}/v2/users/{pathv1}/notification-rules/{pathv2}/steps/{pathv3}?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "" } ] }, { "name": "deleteNotificationRuleStep", "protocol": "REST", "method": "DELETE", "entitypath": "{base_path}/{version}/v2/users/{pathv1}/notification-rules/{pathv2}/steps/{pathv3}?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/deleteNotificationRuleStep-default.json" } ] }, { "name": "updateNotificationRuleStep", "protocol": "REST", "method": "PATCH", "entitypath": "{base_path}/{version}/v2/users/{pathv1}/notification-rules/{pathv2}/steps/{pathv3}?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/updateNotificationRuleStep-default.json" } ] }, { "name": "disableNotificationRuleStep", "protocol": "REST", "method": "POST", "entitypath": "{base_path}/{version}/v2/users/{pathv1}/notification-rules/{pathv2}/steps/{pathv3}/disable?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/disableNotificationRuleStep-default.json" } ] }, { "name": "enableNotificationRuleStep", "protocol": "REST", "method": "POST", "entitypath": "{base_path}/{version}/v2/users/{pathv1}/notification-rules/{pathv2}/steps/{pathv3}/enable?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/enableNotificationRuleStep-default.json" } ] } ] }