request-config

request-config
request-config

Model that represents a webhook template entry.

JSON Example
{
    "endpoint": "string",
    "headers": [
        {
            "key": "string",
            "value": "string"
        }
    ],
    "method": "string",
    "payload": "string"
}
string
endpoint
Optional

Endpoint in URL format

array of key-value
headers
Optional

Collection of headers. Header "Content-type" should be provided in this list

string
method
Required

Request method

Possible values are : POST, PUT,
string
payload
Required

Request payload. The following keys can be used for payload construction and should be prefixed by $ : CREATE_TIME, UPDATE_TIME, CANCEL_TIME, ALERT_ID, ALERT_STATUS, ALERT_DEFINITION, ALERT_DEFINITION_DESCRIPTION, ALERT_RECOMMENDATIONS, RESOURCE_NAME, RESOURCE_KIND, RESOURCE_ID, ADAPTER_KIND, RESOURCE_KIND_TYPE, ALERT_IMPACT, CONTROL_STATE, ALERT_CRITICALITY, ALERT_TYPE, ALERT_SUBTYPE, OBJECT_HEALTH_STATE, OBJECT_RISK_STATE, OBJECT_EFFICIENCY_STATE, SYMPTOMS, ADAPTER_INSTANCE, LINK_TO_ALERT