• Home
  • Dynatrace API
  • Environment
  • Extensions 2.0
  • Schemas
  • GET all files

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.

GETManagedDynatrace for Governmenthttps://{your-domain}/e/{your-environment-id}/api/v2/extensions/schemas/{schemaVersion}
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/extensions/schemas/{schemaVersion}
Environment ActiveGatehttps://{your-activegate-domain}/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

404ErrorEnvelope

Failed. The requested resource doesn't exist.

406ErrorEnvelope

Not acceptable

Response body objects

The SchemaFiles object

ElementTypeDescription
filesstring[]

A list of schema files.

Response body JSON model

json
{ "files": [ "string" ] }
Related topics
  • Extensions

    Learn about the extensions framework offered by Dynatrace.