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.

PUTSaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/hub/extensions2/{extensionName}/metadata
Environment ActiveGateCluster ActiveGatehttps://{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.

{
"description": "string",
"logo": "string",
"name": "string"
}

Response

Response codes

Code
Type
Description
204
-

Extension metadata uploaded

4XX

Client side error.

5XX

Server side error.