Was this helpful?
/buckets/{bucket_id}/snapshots
The ID of the bucket to get snapshots for
List of snapshots retrieved successfully
Unauthorized access attempt
Bucket not found
Internal server error
curl -L \ --url 'https://beta.data.banyan.computer/api/v1/buckets/{bucket_id}/snapshots' \ --header 'Authorization: Bearer JWT'
[ { "id": "text", "bucket_id": "text", "metadata_id": "text", "size": 1, "state": "text", "created_at": 1 } ]
/buckets/{bucket_id}/snapshots/{snapshot_id}
The ID of the bucket the snapshot belongs to
The ID of the snapshot to retrieve
Snapshot retrieved successfully
Snapshot not found
curl -L \ --url 'https://beta.data.banyan.computer/api/v1/buckets/{bucket_id}/snapshots/{snapshot_id}' \ --header 'Authorization: Bearer JWT'
{ "id": "text", "bucket_id": "text", "metadata_id": "text", "size": 1, "state": "text", "created_at": 1 }