UNPKG

@itentialopensource/adapter-opsgenie

Version:

This adapter integrates with system described as: opsgenieRestApi.

166 lines 4.64 kB
{ "actions": [ { "name": "listNotificationRules", "protocol": "REST", "method": "GET", "entitypath": "{base_path}/{version}/v2/users/{pathv1}/notification-rules?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "" } ] }, { "name": "createNotificationRule", "protocol": "REST", "method": "POST", "entitypath": "{base_path}/{version}/v2/users/{pathv1}/notification-rules?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "" } ] }, { "name": "getNotificationRule", "protocol": "REST", "method": "GET", "entitypath": "{base_path}/{version}/v2/users/{pathv1}/notification-rules/{pathv2}?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "sendGetBody": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "" } ] }, { "name": "deleteNotificationRule", "protocol": "REST", "method": "DELETE", "entitypath": "{base_path}/{version}/v2/users/{pathv1}/notification-rules/{pathv2}?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/deleteNotificationRule-default.json" } ] }, { "name": "updateNotificationRule", "protocol": "REST", "method": "PATCH", "entitypath": "{base_path}/{version}/v2/users/{pathv1}/notification-rules/{pathv2}?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "" } ] }, { "name": "enableNotificationRule", "protocol": "REST", "method": "POST", "entitypath": "{base_path}/{version}/v2/users/{pathv1}/notification-rules/{pathv2}/enable?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/enableNotificationRule-default.json" } ] }, { "name": "disableNotificationRule", "protocol": "REST", "method": "POST", "entitypath": "{base_path}/{version}/v2/users/{pathv1}/notification-rules/{pathv2}/disable?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/disableNotificationRule-default.json" } ] }, { "name": "changeNotificationRuleOrder", "protocol": "REST", "method": "POST", "entitypath": "{base_path}/{version}/v2/users/{pathv1}/notification-rules/{pathv2}/change-order?{query}", "requestSchema": "schema.json", "responseSchema": "schema.json", "timeout": 0, "sendEmpty": false, "requestDatatype": "JSON", "responseDatatype": "JSON", "headers": {}, "responseObjects": [ { "type": "default", "key": "", "mockFile": "mockdatafiles/changeNotificationRuleOrder-default.json" } ] } ] }