Skip to main content

Validate a Subscription Filter

POST 

/trigger-subscriptions/validate-filter

Validates a JSONPath filter expression against a provided mock input. Request requires a security scope of:

Request

Body

required

    input objectrequired

    Mock input to evaluate filter expression against.

    filter stringrequired

    JSONPath filter to conditionally invoke trigger when expression evaluates to true.

Responses

Boolean whether specified filter expression is valid against the input.

Schema

    isValid boolean

    When this field is true, the filter expression is valid against the input.

    isValidJSONPath boolean

    When this field is true, the filter expression is using a valid JSON path.

    isPathExist boolean

    When this field is true, the filter expression is using an existing path.

Loading...