OrganizationData
Verify bucket connectivity
Verify connectivity to a storage bucket and optionally list its contents. This endpoint allows you to:
- Check if the provided bucket credentials are valid and the bucket is accessible.
- Optionally list files in the bucket up to a specified limit.
- Validate the bucket configuration before adding it to the organization.
The request can include details such as the bucket name, region, credentials, and listing options. The response provides information about the bucket's accessibility and, if requested, a list of files in the bucket.
Important note on verification process:
- For S3-compatible storage backends: Verification is expected to be immediate.
- For Azure buckets: Verification takes longer. Users are required to poll this endpoint until the connectionStatus changes from 'connecting' to 'connected'.
When dealing with Azure buckets, implement a polling mechanism to check the status periodically until it's confirmed as connected.
post/api/organizations/{organizationId}/buckets/verify
Request
- Base URLhttps://studio.edgeimpulse.com/v1
- Auth
- API key in header x-api-key
- or API key in cookie jwt
- or API key in header x-jwt-token
- or OAuth 2Authorization code/v1/oauth/authorizeClient credentialsImplicit/v1/oauth/authorizePasswordToken URL/v1/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
organizationIdinteger required
Organization ID
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.