List Extension 2.0 schema files in Dynatrace with the Extensions API for a specific schema version and inspect the available files.
| GET | SaaS | https://{your-environment-id}.apps.dynatrace.com/platform/extensions/v2/schemas/{schema-version} |
You list all schema files for a specified schema version by providing the schema-version path parameter. The Accept header controls which part of the Extension 2.0 is returned, and the operation returns 200.
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.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| schema-version | string | The version of the schema. | path | Required |
| Accept | string | Accept header. Specifies part of the Extension 2.0 that will be returned:
| header | Optional |
| Code | Type | Description |
|---|---|---|
| 200 | Schema | Success. |
| 4XX | - | Client error. |
| 5XX | - | Server error. |
SchemaFileList objectA list of schema files.
| Element | Type | Description |
|---|---|---|
| items | string[] | A list of schema files. |
{"items": ["string"]}