Using the below API I will get the list of all the snapshots but how will I get the snapshot id of the latest on-demand backup from that list?
curl -X GET -i --digest -u “{PUBLIC-KEY}:{PRIVATE-KEY}” “https://cloud.mongodb.com/api/atlas/v1.0/groups/6c7498dg87d9e6526801572b/clusters/Cluster0/snapshots”