Extensions 2.0 API - GET all files
Lists all files in the specified version of the Extensions 2.0 extension schema.
The request produces an application/json
payload.
GET | ManagedDynatrace for Government | https://{your-domain}/e/{your-environment-id}/api/v2/extensions/schemas/{schemaVersion} |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/extensions/schemas/{schemaVersion} | |
Environment and Cluster ActiveGate (default port 9999) | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/extensions/schemas/{schemaVersion} |
Authentication
To execute this request, you need an access token with extensions.read
scope.
To learn how to obtain and use it, see Tokens and authentication.
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
schemaVersion | 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 |
Response
Response codes
Code | Type | Description |
---|---|---|
200 | SchemaFiles | Success |
404 | ErrorEnvelope | Failed. The requested resource doesn't exist. |
406 | ErrorEnvelope | Not acceptable |
Response body objects
The SchemaFiles
object
Element | Type | Description |
---|---|---|
files | string[] | A list of schema files. |
Response body JSON model
1{2 "files": [3 "string"4 ]5}