Get details of a specific Extension 2.0 version in Dynatrace, with optional Accept header control over returned content.
| GET | SaaS | https://{your-environment-id}.apps.dynatrace.com/platform/extensions/v2/extensions/{extension-name}/{extension-version} |
You provide the extension name and extension version in the path to retrieve details for one version of the extension. The Accept header specifies which part of Extension 2.0 is returned, and the operation returns a 200 success response.
To execute this request, you need a platform token or OAuth access token with extensions:definitions:read scope. To learn how to obtain and use it, see Tokens and authentication.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| extension-name | string | The name of the requested Extension 2.0. | path | Required |
| extension-version | string | The version of the requested Extension 2.0 | path | Required |
| Accept | string | Accept header. Specifies part of the Extension 2.0 that will be returned:
| header | Optional |
| Code | Type | Description |
|---|---|---|
| 200 | Extension | Success. |
| 4XX | - | Client error. |
| 5XX | - | Server error. |
Extension object| Element | Type | Description |
|---|---|---|
| author | Author | Extension author |
| dataSources | string[] | Data sources that extension uses to gather data |
| extensionName | string | Extension name |
| featureSets | string[] | Available feature sets |
| featureSetsDetails | object | Details of feature sets |
| fileHash | string | SHA-256 hash of uploaded Extension file |
| minDynatraceVersion | string | Minimal Dynatrace version that works with the extension |
| minEECVersion | string | Minimal Extension Execution Controller version that works with the extension |
| variables | string[] | Custom variables used in extension configuration |
| version | string | Extension version |
Author objectExtension author
| Element | Type | Description |
|---|---|---|
| name | string | Author name |
FeatureSetDetails objectAdditional information about a Feature Set
| Element | Type | Description |
|---|---|---|
| description | string | Optional description for the feature set |
| displayName | string | Optional display name of the feature set |
| isRecommended | boolean | Marks the feature set as recommended (selected by default during activation) |
| metrics | Metric[] | Feature set metrics |
Metric objectMetric gathered by an extension
| Element | Type | Description |
|---|---|---|
| key | string | Metric key |
| metadata | Metric | Metric metadata |
MetricMetadata objectMetric metadata
| Element | Type | Description |
|---|---|---|
| description | string | A short description of the metric |
| displayName | string | The name of the metric in the user interface |
| unit | string | The unit of the metric |
{"author": {"name": "string"},"dataSources": ["string"],"extensionName": "string","featureSets": ["string"],"featureSetsDetails": {},"fileHash": "string","minDynatraceVersion": "string","minEECVersion": "string","variables": ["string"],"version": "1.2.3"}