Devuelve detalles de todas las instantáneas del clúster compartido especificado. Para usar este recurso, la cuenta de servicio o la clave API solicitantes deben tener el rol de solo lectura del proyecto.
Esta API también funciona con clústeres Flex creados con el punto de conexión "Crear clúster" o con clústeres M 2/M anteriores5 que se hayan migrado a clústeres Flex, hasta el de enero 22 del, 2026 fecha en la que este punto de conexión dejará de estar disponible. Utilice el punto de conexión listFlexBackups en su lugar.
OBTENER /api/atlas/v1.0/grupos/{ID de grupo}/clústeres/{nombre del clúster}/copia de seguridad/inquilino/instantáneas
curl \
--request GET 'https://cloud.mongodb.com/api/atlas/v1.0/groups/32b6e34b3d91647abb20e7b8/clusters/{clusterName}/backup/tenant/snapshots' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Ejemplos de respuestas (200)
{
"links": [
{
"href": "https://cloud.mongodb.com/api/atlas",
"rel": "self"
}
],
"results": [
{
"expiration": "2026-05-04T09:42:00Z",
"finishTime": "2026-05-04T09:42:00Z",
"id": "32b6e34b3d91647abb20e7b8",
"links": [
{
"href": "https://cloud.mongodb.com/api/atlas",
"rel": "self"
}
],
"mongoDBVersion": "string",
"scheduledTime": "2026-05-04T09:42:00Z",
"startTime": "2026-05-04T09:42:00Z",
"status": "PENDING"
}
],
"totalCount": 42
}
Ejemplos de respuestas (400)
{
"error": 400,
"detail": "(This is just an example, the exception may not be related to this endpoint) No provider AWS exists.",
"reason": "Bad Request",
"errorCode": "VALIDATION_ERROR"
}
Ejemplos de respuestas (401)
{
"error": 401,
"detail": "(This is just an example, the exception may not be related to this endpoint)",
"reason": "Unauthorized",
"errorCode": "NOT_ORG_GROUP_CREATOR"
}
Ejemplos de respuestas (403)
{
"error": 403,
"detail": "(This is just an example, the exception may not be related to this endpoint)",
"reason": "Forbidden",
"errorCode": "CANNOT_CHANGE_GROUP_NAME"
}
Ejemplos de respuestas (404)
{
"error": 404,
"detail": "(This is just an example, the exception may not be related to this endpoint) Cannot find resource AWS",
"reason": "Not Found",
"errorCode": "RESOURCE_NOT_FOUND"
}
Ejemplos de respuestas (500)
{
"error": 500,
"detail": "(This is just an example, the exception may not be related to this endpoint)",
"reason": "Internal Server Error",
"errorCode": "UNEXPECTED_ERROR"
}