Fetch All Maintenance Request History

Use this API to retrieve the entire upgrade and rollback request history. The history provides the overall maintenance

Format:

GET /maintenance/history

Request Example:

curl --location --request GET 'https://demo.saas.appdynamics.com/zero/v1beta/maintenance/history' --header 'Authorization: Bearer {AuthToken}'

Response Example:

{
"total": 2,
"items": [
{
"maintenanceId": "d601aacc-97a4-479e-b2b3-db095fef34fc",
"operation": "UPGRADE",
"status": "PENDING",
"startedAt": "2021-10-25T18:20:55.196Z",
"updatedAt": "2021-10-25T18:20:55.196Z",
"maintAgentVersions": [
{
"type": "JAVA",
"version": "20.3.0.1183"
}
],
"affectedSystemIds": [
"d601aacc-97a4-479e-b2b3-db095fef34fc"
],
"failedSystemMaintenanceIds": [
"d601aacc-97a4-479e-b2b3-db095fef34fc"
]
},
{
"maintenanceId": "d601aacc-97a4-479e-b2b3-db095fef34fd",
"operation": "UPGRADE",
"status": "SUCEEDED",
"startedAt": "2022-05-11T18:20:55.196Z",
"updatedAt": "2022-05-11T18:20:55.196Z",
"applicationName": null,
"maintAgentVersions": [
{
"type": "MACHINE_WINDOWS",
"version": "22.4.0.3344"
}
],
"affectedSystemIds": [
"c44f978d-8db6-452f-9387-9b852d8df03a"
],
"failedSystemMaintenanceIds": null
}
]
}