Validate constraint
Validates a constraint definition. Checks whether the context field exists and whether the applied configuration is valid. Additional properties are not allowed on data objects that you send to this endpoint.
Request body
Example request
{
"contextName": "appName",
"operator": "IN",
"values": [
"my-app",
"my-other-app"
],
"value": "my-app"
}Response
The constraint is valid
Changes
Changed in 2 of the 7 revisions of this API.13
- ▲
the
request property's minLength was increased from0to1request-property-min-length-increased
- ○
added the new
SEMVER_GTEenum value to the request propertyrequest-property-enum-value-added
- ○
added the new
SEMVER_LTEenum value to the request propertyrequest-property-enum-value-added
- ▲
- ○
added the new
REGEXenum value to the request propertyrequest-property-enum-value-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○