Hub capabilities API - PUT an extension 2.0 release notes

  • Reference
  • Published Feb 07, 2023

Sets the release notes of an extension 2.0 release. Any notes are overwritten.

The request consumes an application/json payload.

PUTManagedDynatrace for Governmenthttps://{your-domain}/e/{your-environment-id}/api/v2/hub/extensions2/{extensionName}/releases/{version}/releaseNotes
Environment and Cluster ActiveGate (default port 9999)https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/hub/extensions2/{extensionName}/releases/{version}/releaseNotes

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
versionstring

Version of the extension release

pathRequired
bodyExtensionReleaseNotes

The JSON body of the request. Contains the markdown for release notes

bodyOptional

Request body objects

The ExtensionReleaseNotes object

ElementTypeDescriptionRequired
markdownstring

Release notes in markdown format

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.

{
"markdown": "string"
}

Response

Response codes

CodeTypeDescription
204-

Extension release notes updated

400ErrorEnvelope

Bad request

404ErrorEnvelope

Not found

503ErrorEnvelope

Unavailable

4XXErrorEnvelope

Client side error.

5XXErrorEnvelope

Server side error.

Response body objects

The ErrorEnvelope object

ElementTypeDescription
errorError-

The Error object

ElementTypeDescription
codeinteger

The HTTP status code

constraintViolationsConstraintViolation[]

A list of constraint violations

messagestring

The error message

The ConstraintViolation object

A list of constraint violations

ElementTypeDescription
locationstring-
messagestring-
parameterLocationstring-
The element can hold these values
  • HEADER
  • PATH
  • PAYLOAD_BODY
  • QUERY
pathstring-

Response body JSON models

{
"error": {
"code": 1,
"constraintViolations": [
{
"location": "string",
"message": "string",
"parameterLocation": "HEADER",
"path": "string"
}
],
"message": "string"
}
}