Get a sandbox snapshot by ID or by a Docker-style reference.
func (
r *SandboxSnapshotService) Get(ctx context.Context,
snapshotID string,
opts ...option.RequestOption) (res *SnapshotResponse,
err error
)Get a sandbox snapshot by ID or by a Docker-style reference. A bare name means name:latest, falling back to the newest ready untagged snapshot of that name. To list the tags under a name, use /api/v2/sandboxes/snapshots-by-name/{name}.
| Name | Type | Description |
|---|---|---|
ctx* | context.Context | |
snapshotID* | string | |
opts* | ...option.RequestOption |