Verifies if the given matcher is valid.
The request produces an application/json
payload.
POST | SaaS | https://{your-environment-id}.apps.dynatrace.com/platform/openpipeline/v1/matcher/verify |
You can execute this request also with an OAuth2 client with openpipeline:configurations:read
permission.
To learn how to obtain and use it, see OAuth clients.
MatcherRequest
objectThe matcher query to process.
This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.
{"query": "matchesValue(type, \"security\")"}
VerifyResponse
objectVerify response.
True if the supplied input string is valid.
MetadataNotification
objectThe message that provides additional information about the execution of the input string.
The arguments for the message format.
The complete message of the notification.
The message format of the notification, string.format based
The corresponding types for each format specifier used in the error message format.
The notification type.
The severity of the notification, currently: INFO, WARN, ERROR.
The position of a token in the input string used for errors and notification to map the message to a specific part of the input.
TokenPosition
objectThe position of a token in the input string used for errors and notification to map the message to a specific part of the input.
PositionInfo
objectThe exact position in the query string.
Input string position column zero based index.
Input string position index.
Input string position line zero based index.
{"valid": false,"notifications": [{"severity": "ERROR","syntaxPosition": {"start": {"column": 1,"index": 0,"line": 1},"end": {"column": 6,"index": 5,"line": 1}},"message": "There's been an error during parsing: There's no command `parsee`."}]}
ErrorResponseEnvelope
objectEncloses the encountered error.
ErrorResponse
objectBasic information of the encountered error.
The returned HTTP status code.
Description of the encountered error.
ErrorResponseDetails
objectDetailed information of the error.
Defines the actual set of fields depending on the value. See one of the following objects:
constraintViolation
-> ConstraintViolationDetailsconstraintViolation
ConstraintViolationDetails
objectList of encountered constraint violations.
ConstraintViolation
objectInformation about a single constraint violation.
Description of the constraint violation.