API to list clusters that has snapshots on it- even deleted clusters
Today we use the API below to list the clusters that exists in a project
GET https://cloud.mongodb.com/api/atlas/v1.0/groups/{GROUP-ID}/clusters?pretty=true
After having the clusters list, we can list the snapshots from one specific clusters using the API:
https://www.mongodb.com/docs/atlas/reference/api/cloud-backup/backup/get-all-backups/
GET https://cloud.mongodb.com/api/atlas/v1.0/groups/{GROUP-ID}/clusters/{CLUSTER-NAME}/backup/snapshots
Now on Mongo Atlas I can delete a cluster and ask not to delete their snapshots. So if I want to use the same functions I can't, because the list of the clusters do not show the clusters that have been deleted but still has snapshots on atlas.
It would be great if the API that lists the cluster also give us those clusters that have been deleted (at list the ones that still has backups on Atlas).
We use these APIs to be able to migrate our snapshots for a Google cloud storage. So not having this option for the clusters that have been deleted causes problems if we need to migrate snapshots from old clusters.