@itentialopensource/adapter-opsgenie
Version:
This adapter integrates with system described as: opsgenieRestApi.
166 lines • 4.31 kB
JSON
{
"actions": [
{
"name": "listIntegrations",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/v2/integrations?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "createIntegration",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/v2/integrations?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "getIntegration",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/v2/integrations/{pathv1}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "updateIntegration",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/v2/integrations/{pathv1}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "deleteIntegration",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/v2/integrations/{pathv1}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/deleteIntegration-default.json"
}
]
},
{
"name": "enableIntegration",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/v2/integrations/{pathv1}/enable?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "disableIntegration",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/v2/integrations/{pathv1}/disable?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "authenticateIntegration",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/v2/integrations/authenticate?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/authenticateIntegration-default.json"
}
]
}
]
}