The ID of the bucket to get snapshots for
List of snapshots retrieved successfully
The ID of the bucket the snapshot belongs to
The ID of the snapshot to retrieve
Snapshot retrieved successfully
const response = await fetch('https://beta.data.banyan.computer/api/v1/buckets/{bucket_id}/snapshots', { method: 'GET', headers: { "Authorization": "Bearer JWT" }, }); const data = await response.json();
[ { "id": "text", "bucket_id": "text", "metadata_id": "text", "state": "text" } ]
const response = await fetch('https://beta.data.banyan.computer/api/v1/buckets/{bucket_id}/snapshots/{snapshot_id}', { method: 'GET', headers: { "Authorization": "Bearer JWT" }, }); const data = await response.json();
{ "id": "text", "bucket_id": "text", "metadata_id": "text", "state": "text" }