Try it free

Hub capabilities API - GET an extension v1 artifact

  • Reference
  • Published Feb 07, 2023

Downloads the ZIP file of a version 1 extension.

GETManagedDynatrace for Governmenthttps://{your-domain}/e/{your-environment-id}/api/v2/hub/extensions1/{extension1FQN}/releases/{version}
GETEnvironment and Cluster ActiveGate (default port 9999)https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/hub/extensions1/{extension1FQN}/releases/{version}

Authentication

Api-Token:

To execute this request, you need an access token with hub.read scope.

One of the following permissions is required for personal access tokens:

  • environment:roles:viewer

To learn how to obtain and use it, see Personal access tokens.

Parameters

ParameterTypeDescriptionInRequired
extension1FQNstring

Fully qualified name of the extension1/plugin

pathRequired
versionstring

Version of the release of the extension1/plugin

pathRequired

Response

Response codes

CodeTypeDescription
200-

Ok - download file

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"
}
}