Extensions 2.0 API - GET an extension
Lists the properties of the specified Extensions 2.0 extension or downloads the extension's ZIP file.
The request produces one of the following types of payload, depending on the value of the Accept request header:
application/json
—a JSON payload containing properties of the extension.application/octet-stream
—a download of the ZIP file of the extension.
If no Accept header is provided with the request, an application/json
payload is returned.
GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/extensions/{extensionName}/{extensionVersion} |
Environment ActiveGateCluster ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/extensions/{extensionName}/{extensionVersion} |
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
The name of the requested extension 2.0.
The version of the requested extension 2.0
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.
Response
Response codes
Response body objects
The Extension
object
Data sources that extension uses to gather data
Extension name
Available feature sets
Details of feature sets
SHA-256 hash of uploaded Extension file
Minimal Dynatrace version that works with the extension
Minimal Extension Execution Controller version that works with the extension
Custom variables used in extension configuration
Extension version
The AuthorDto
object
Extension author
Author name
The FeatureSetDetails
object
Additional information about a Feature Set
The MetricDto
object
Metric gathered by an extension
Metric key
The MetricMetadataDto
object
Metric metadata
A short description of the metric
The name of the metric in the user interface
The unit of the metric
Response body JSON model
{"author": {"name": "string"},"dataSources": ["string"],"extensionName": "string","featureSets": ["string"],"featureSetsDetails": {},"fileHash": "string","minDynatraceVersion": "string","minEECVersion": "string","variables": ["string"],"version": "1.2.3"}