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

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:

  • 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.
header
optional

Response

Response codes

Code
Type
Description
200

Success

4XX

Client side error.

5XX

Server side error.

Response body objects

The SchemaFiles object

Element
Type
Description
files
string[]

A list of schema files.

Response body JSON model

{
"files": [
"string"
]
}