pydo.volume_snapshots.get_by_id()

Generated on 30 Jun 2025 from pydo version v0.12.0

Description

To retrieve the details of a snapshot that has been created from a volume, send a GET request to /v2/volumes/snapshots/$VOLUME_SNAPSHOT_ID.

Parameters

Name Type Required Description Default Value
snapshot_id string True The unique identifier for the snapshot.

Request Sample

import os
from pydo import Client

client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))

req = {
  "name": "big-data-snapshot1475261774"
}

resp = client.volume_snapshots.get_by_id(snapshot_id="da3aa3a")

More Information

See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.