Authorizations
Body
Response
OK
Response object for verifying an organization's bucket connectivity.
Workflow:
- The client initiates verification by sending a GET request to /api/organizations/{organizationId}/buckets/verify with bucket and credential details.
- The server responds with this VerifyOrganizationBucketResponse object.
- The client checks the connectionStatus:
- If "connected": Verification is complete. Other properties (files, hasInfoLabelsFile, signedUrl) are available.
- If "connecting": Verification is in progress. The client should continue polling. Other properties are not yet available.
- If "error": Verification failed. Check connectionError for details. Other properties are not available.
- If connectionStatus is "connecting", the client should periodically poll the endpoint until the status changes to "connected" or "error".
Whether the operation succeeded
Indicates the current state of the connectivity verification process.
- "connected": Verification successful, other properties are available.
- "connecting": Verification in progress, continue polling.
- "error": Verification failed, check connectionError for details.
connected
, connecting
, error
Optional error description (set if 'success' was false)
Provides additional details if connectionStatus is "error". Helps diagnose verification failures.
Timestamp of when the connectionStatus last changed.
Random files from the bucket. Only available when connectionStatus is "connected".
Indicates whether there are any info.labels files in this bucket. If so, those are used for category/labels. Only available when connectionStatus is "connected".
A signed URL that allows you to PUT an item, to check whether CORS headers are set up correctly for this bucket. Only available when connectionStatus is "connected".
An alternative endpoint URL. Only returned and required for Azure storage accounts, where the endpoint must be reformatted. This field will be undefined for other storage providers.