List labels accessible to you in Dynatrace with the Document API, filtering by substring and document type and sorting alphabetically.
| GET | SaaS | https://{your-environment-id}.apps.dynatrace.com/platform/document/v1/labels |
Lists labels accessible to you. Accepts optional parameters for filtering by label substring (contains) and by document type (documentTypes); when both are provided they apply together. When onlyAppSupportedDocTypes is true, the document types supported by installed apps are used for filtering. If documentTypes and onlyAppSupportedDocTypes are provided both filters get intersected (set intersection) and the result of this intersection is used as the effective type filter. Results are sorted alphabetically.
To execute this request, you need a platform token or OAuth access token with document:documents:read scope. To learn how to obtain and use it, see Tokens and authentication.
The request doesn't provide any configurable parameters.
| Code | Description |
|---|---|
| 200 | - |
| 400 | - |
| 401 | - |
| 403 | - |
| 500 | - |
| 503 | - |
| default | - |