dots.v2.snapshots.bySnapshot_id().get()
Generated on 5 Nov 2026
from DoTs version
v1.23.0
Usage
client.v2.snapshots.bySnapshot_id(snapshot_id).get(requestConfiguration?: RequestConfiguration<object>): Promise<undefined | WithSnapshot_GetResponse>Description
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.
Parameters
snapshot_idinteger or string requiredExample:
6372321Either the ID of an existing snapshot. This will be an integer for a Droplet snapshot or a string for a volume snapshot.
Request Sample
Response Example
More Information
See /v2/snapshots/{snapshot_id} in the API reference for additional detail on responses, headers, parameters, and more.