Last updated 8 months ago
Get storage bucket details.
Organization ID
Bucket ID
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
const response = await fetch('https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/buckets/{bucketId}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "success": false, "error": "text", "bucket": { "id": 1, "accessKey": "AKIAIOSFODNN7EXAMPLE", "endpoint": "https://s3.amazonaws.com", "bucket": "my-organization-bucket", "region": "us-west-2", "connected": true, "checkConnectivityPrefix": "data/", "storageProvider": "s3", "storageAccountName": "my-storage-account" } }