We're using OctopusDeploy to release our software to various environments, and within the process we're querying the Site24x7 API to put servers in to maintenance mode so we're not alerted during releases. Once a successful release is finished, the last step of the process ends the maintenance object via the API. Unfortunately if the release process does not end successfully, we lose access to the maintenance ID object carried through the process, so servers are left in maintenance.
I'm trying to query the API to list all current maintenance as we see in the Site24x7 interface (www.site24x7.com/app/client#/admin/operations/view-maintenance-monitors), however /api/maintenance lists all maintenance instances that have ever existed, and there are no parameters that can be given to list only current maintenance. I can see that the aforementioned page gets its data from /api/current_maintenance_list, which returns JSON as attached.
Please can the /api/current_maintenance_list be exposed for end users to access via the API? Or can functionality be considered to enable us to list active maintenance objects?