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.

GETSaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/extensions/schemas/{schemaVersion}
Environment ActiveGateCluster ActiveGatehttps://{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

ParameterTypeDescriptionInRequired
schemaVersionstring

The version of the schema.

pathrequired
Acceptstring

Accept header. Specifies part of the extension 2.0 that will be returned:

  • application/json; charset=utf-8 - returns extension 2.0 metadata in JSON
  • application/octet-stream - returns extension 2.0 zip package stored on the server.
headeroptional

Response

Response codes

CodeTypeDescription
200SchemaFiles

Success

4XXErrorEnvelope

Client side error.

5XXErrorEnvelope

Server side error.

Response body objects

The SchemaFiles object

ElementTypeDescription
filesstring[]

A list of schema files.

Response body JSON model

{
"files": [
"string"
]
}