Extensions 2.0 API - GET all extensions
Lists all Extensions 2.0 extensions available in your Dynatrace environment.
The request produces an application/json
payload.
GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/extensions |
Environment ActiveGateCluster ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/extensions |
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
Parameter | Type | Description | In | Required |
---|---|---|---|---|
nextPageKey | string | The cursor for the next page of results. You can find it in the nextPageKey field of the previous response. The first page is always returned if you don't specify the nextPageKey query parameter. When the nextPageKey is set to obtain subsequent pages, you must omit all other query parameters. | query | optional |
pageSize | integer | The amount of extensions in a single response payload. The maximal allowed page size is 100. If not set, 20 is used. | query | optional |
name | string | Filters the resulting set of extensions 2.0 by name. You can specify a partial name. In that case, the CONTAINS operator is used. | query | optional |
Response
Response codes
Code | Type | Description |
---|---|---|
200 | Extension | Success |
4XX | Error | Client side error. |
5XX | Error | Server side error. |
Response body objects
The ExtensionList
object
Element | Type | Description |
---|---|---|
extensions | Minimal | A list of extensions. |
nextPageKey | string | The cursor for the next page of results. Has the value of Use it in the nextPageKey query parameter to obtain subsequent pages of the result. |
pageSize | integer | The number of entries per page. |
totalCount | integer | The total number of entries in the result. |
The MinimalExtension
object
A list of extensions.
Element | Type | Description |
---|---|---|
extensionName | string | Extension name |
version | string | Extension version |
Response body JSON model
{"extensions": [{"extensionName": "string","version": "1.2.3"}],"nextPageKey": "AQAAABQBAAAABQ==","pageSize": 1,"totalCount": 1}