Download a finished OneAgent support archive as a ZIP file in Dynatrace with the Fleet Management API to share diagnostics with Dynatrace support.
| GET | SaaS | https://{your-environment-id}.apps.dynatrace.com/v1/oneagent/support-archives/{smartscape-node-id}/{support-archive-id}:download |
You use the smartscape-node-id and support-archive-id path parameters to download one support archive for a OneAgent as a ZIP file. A 200 response returns the archive. Typical usage is attaching the diagnostics to a Dynatrace support case after the collection you started has finished.
To execute this request, you need a platform token or OAuth access token with fleet-management:oneagent.support-archives:download scope. To learn how to obtain and use it, see Tokens and authentication.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| smartscape-node-id | string | The Smartscape node ID of the entity. Valid node types: ONEAGENT, PROCESS. | path | Required |
| support-archive-id | string | The ID of the support archive. | path | Required |
| Code | Type | Description |
|---|---|---|
| 200 | string | Support archive ZIP. |
| 4XX | Error | Client side error. |
| 5XX | Error | Server side error. |
ResponseBody objectErrorEnvelope object| Element | Type | Description |
|---|---|---|
| error | Error | - |
Error object| Element | Type | Description |
|---|---|---|
| code | integer | The HTTP status code |
| constraintViolations | Constraint | A list of constraint violations |
| message | string | The error message |
ConstraintViolation objectA list of constraint violations
| Element | Type | Description |
|---|---|---|
| location | string | - |
| message | string | - |
| parameterLocation | string | -The element can hold these values
|
| path | string | - |
{"error": {"code": 1,"constraintViolations": [{"location": "string","message": "string","parameterLocation": "HEADER","path": "string"}],"message": "string"}}