Was this helpful?
/buckets/{bucket_id}/snapshots
The ID of the bucket to get snapshots for
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
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 }