List Extension 2.0 schema versions in Dynatrace with the Extensions API so you can see which versions are available in the environment.
| GET | SaaS | https://{your-environment-id}.apps.dynatrace.com/platform/extensions/v2/schemas |
You list all schema versions of Extension 2.0 available in the environment. The operation returns 200 with the schema version list.
To execute this request, you need a platform token or OAuth access token with extensions:definitions:read scope. To learn how to obtain and use it, see Tokens and authentication.
The request doesn't provide any configurable parameters.
| Code | Type | Description |
|---|---|---|
| 200 | Schema | Success. |
| 4XX | Error | Client error. |
| 5XX | Error | Server error. |
SchemaVersionList objectA list of available schema versions.
| Element | Type | Description |
|---|---|---|
| items | string[] | A list of schema versions. |
ErrorEnvelope object| Element | Type | Description |
|---|---|---|
| error | Error | - |
Error object| Element | Type | Description |
|---|---|---|
| code | integer | The HTTP status code. |
| details | Error | The error details. |
| message | string | The error message. |
ErrorDetails objectThe error details.
| Element | Type | Description |
|---|---|---|
| constraintViolations | Constraint | A list of constraint violations. |
ConstraintViolation objectA list of constraint violations.
| Element | Type | Description |
|---|---|---|
| location | string | - |
| message | string | - |
| parameterLocation | string | -The element can hold these values
|
| path | string | - |
{"items": ["1.2.3"]}
{"error": {"code": 1,"details": {"constraintViolations": [{"location": "string","message": "string","parameterLocation": "HEADER","path": "string"}]},"message": "string"}}