OpenPipeline API - POST verify a matcher
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.
Parameters
Request body objects
The MatcherRequest
object
The matcher query to process.
Request body JSON model
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\")"}
Response
Response codes
Response body objects
The VerifyResponse
object
Verify response.
True if the supplied input string is valid.
The MetadataNotification
object
The 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.
The TokenPosition
object
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.
The PositionInfo
object
The exact position in the query string.
Input string position column zero based index.
Input string position index.
Input string position line zero based index.
Response body JSON model
{"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`."}]}
JSON models
The ErrorResponseEnvelope
object
Encloses the encountered error.
The ErrorResponse
object
Basic information of the encountered error.
The returned HTTP status code.
Description of the encountered error.
The ErrorResponseDetails
object
Detailed information of the error.
Defines the actual set of fields depending on the value. See one of the following objects:
constraintViolation
-> ConstraintViolationDetails
constraintViolation
The ConstraintViolationDetails
object
List of encountered constraint violations.
The ConstraintViolation
object
Information about a single constraint violation.
Description of the constraint violation.