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
  • Managed 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 ActiveGate https://{your-activegate-domain}/e/{your-environment-id}/api/v2/extensions/schemas/{schemaVersion}

Authentication

To execute this request, you need the Read extensions (extensions.read) permission assigned to your API token. 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 Description
200

Success

404

Failed. The requested resource doesn't exist.

406

Not acceptable

Response body

The SchemaFiles object

Element Type Description
files string[]

A list of schema files.