Retrieve an Existing Snapshot
To retrieve information about a snapshot, send a GET request to /v2/snapshots/$SNAPSHOT_ID.
The response will be a JSON object with a key called snapshot. The value of this will be an snapshot object containing the standard snapshot attributes.
Path parameters
Either the ID of an existing snapshot. This will be an integer for a Droplet snapshot or a string for a volume snapshot.
Response
A JSON object with a key called snapshot.
Example response
{
"snapshot": {
"id": "6372321",
"name": "web-01-1595954862243",
"created_at": "2020-07-28T16:47:44Z",
"regions": [
"nyc3",
"sfo3"
],
"min_disk_size": 25,
"size_gigabytes": 2.34,
"resource_id": "200776916",
"resource_type": "droplet",
"tags": [
"web",
"env:prod"
]
}
}Changes
Changed in 4 of the 8 revisions of this API.14
- ○
api tag
DigitalOcean-public.v2-new_Snapshotsaddedapi-tag-added
- ○
api tag
Snapshotsremovedapi-tag-removed
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
This revision also has 70 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 436 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
This revision also has 70 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○