SubscriptionRequest

SubscriptionRequest
SubscriptionRequest

LDAP sync response.

JSON Example
{
    "name": "router-wh",
    "description": "webhook to get router events",
    "url": "https://play/in/e_y1sI1Dy8IvkYQcgYQy5yoHAtR7E/",
    "vsafilter": {
        "filterlist": [
            {
                "condition": "OR",
                "propfilter": [
                    {
                        "propname": "ClassName",
                        "matchtype": "EQ",
                        "values": [
                            "Router"
                        ]
                    }
                ]
            }
        ]
    }
}
string As ^[a-zA-Z0-9_-]+$
name
Required

unique name for subscription

string
description
Required

Description about the webhook

string As ^(https?)://[^\s/$.?#].[^\s]*$
url
Required

A publicly accessible URL where user wants to receive notifications

object
headers
Optional

Additional headers users wants to receive along with notification

vsafilter
Required

The VSAFilter object defines how the filters has to be applied on queries.

boolean
disabled
Optional

Defines subscriptions is active or inactive.