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

ParameterTypeDescriptionInRequired
extensionNamestring

Fully qualified name of the extension

pathrequired
bodyobject-bodyoptional

Request body objects

The RequestBody object

ElementTypeDescriptionRequired
descriptionstring-optional
logostring

Logo of the extension

optional
namestring

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

CodeTypeDescription
204-

Extension metadata uploaded

4XXErrorEnvelope

Client side error.

5XXErrorEnvelope

Server side error.