Hub capabilities API - PUT an extension 2.0 metadata
Updates the metadata of an extension 2.0 that doesn't have Dynatrace-defined metadata. Any existing metadata is overwritten.
The request consumes a multipart/form-data
payload.
PUT | ManagedDynatrace for Government | https://{your-domain}/e/{your-environment-id}/api/v2/hub/extensions2/{extensionName}/metadata |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/hub/extensions2/{extensionName}/metadata | |
Environment and Cluster ActiveGate (default port 9999) | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/hub/extensions2/{extensionName}/metadata |
Authentication
To execute this request, you need an access token with hub.write
scope.
To learn how to obtain and use it, see Tokens and authentication.
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
extensionName | string | Fully qualified name of the extension | path | required |
body | object | - | body | optional |
Request body objects
The RequestBody
object
Element | Type | Description | Required |
---|---|---|---|
description | string | - | optional |
logo | string | Logo of the extension | optional |
name | string | If left empty or blank, the extension name will be used as name | optional |
Request body JSON model
This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.
1{2 "description": "string",3 "logo": "string",4 "name": "string"5}
Response
Response codes
Code | Description |
---|---|
204 | Extension metadata uploaded |