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 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 |
|
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 |
---|---|---|---|---|
extensionName | string |
The name of the requested extension 2.0. |
path | required |
extensionVersion | 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 |
Response
Response codes
Code | Description |
---|---|
200 | Success |
404 | Failed. The requested resource doesn't exist. |
406 | Not acceptable |
Response body
The Extension object
Element | Type | Description |
---|---|---|
extensionName | string | Extension name |
version | string | Extension version |
author | AuthorDto | |
dataSources | string[] | Datasources that extension uses to gather data |
variables | string[] | Custom variables used in extension configuration |
featureSets | string[] | Available feature sets |
minDynatraceVersion | string | Minimal Dynatrace version that works with the extension |
The AuthorDto object
Extension author
Element | Type | Description |
---|---|---|
name | string | Author name |
{
"extensionName": "string",
"version": "1.2.3",
"author": {
"name": "string"
},
"dataSources": [
"string"
],
"variables": [
"string"
],
"featureSets": [
"string"
],
"minDynatraceVersion": "string"
}