Skip to navigation
ReferenceMOP

Validate a command template

Validates a command template without saving it. Ensures that no UI-based rules are ignored on the create and update endpoints.

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Request

request body
mopobjectOptional
A mop template object

Response

Validation result: { isValid, errors, warnings }

isValidbooleanOptional

Whether the template passed every deep-validation check.

errorslist of objectsOptional

Errors found, each shaped { path, message }. Empty when isValid is true.

warningslist of objectsOptional

Non-blocking issues found, each shaped { path, message }.

Errors

500
Internal Server Error