@itentialopensource/adapter-opsgenie
Version:
This adapter integrates with system described as: opsgenieRestApi.
127 lines • 3.3 kB
JSON
{
"actions": [
{
"name": "getIncidentRequestStatus",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/v1/incidents/requests/{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": "createIncident",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/v1/incidents/create?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/createIncident-default.json"
}
]
},
{
"name": "getIncident",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/v1/incidents/{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": "deleteIncident",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/v1/incidents/{pathv1}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/deleteIncident-default.json"
}
]
},
{
"name": "listIncidents",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/v1/incidents/?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "closeIncident",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/v1/incidents/{pathv1}/close?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/closeIncident-default.json"
}
]
}
]
}