Validate a DS2 expression

post/validations/expressionValidations
Internal-Use Only

Validates a DS2 expression.

Request Samples

1

Response Samples

1{
2 "valid": true,
3 "version": 1
4}

Request Body

Representation of a DS2 expression to validate with optional signature.

Contains information about an expression to be validated. The expression may contain literals, terms, built in functions and custom functions.

NameTypeRequiredDescription
signature
array [Decision Condition Term]
false

An optional set of terms that may be used in the expression.

expression
string
true

The expression to be validated.

Responses

StatusMeaningDescription
200OKThe body of the request was valid. The expression was successfully validated as valid or invalid.HeadersSchema
400Bad RequestThe body of the validation request was invalid.HeadersSchema