v1

latestOpenAPI 3.0.02026-07-2480355389.7 KB

Create External Storage

post/teams/{team_slug}/storage

Path parameters

team_slugstring required

Slug of the team.

Request body

defaultboolean

Set/unset setting as default.

namestring

New name for the setting. Required.

readonlyboolean

Set/unset readonly for the storage. MinIO requires to be readonly.

bucketstring

Name of the storage bucket / storage account name. Required. In case of AWS S3, please don't use full ARN, just the name of the bucket.

prefixstring

Prefix for all Darwin-created files (like thumbnails). Required for Azure (has to include container), optional for other storage providers. It cannot start nor end with "/". Examples: "v7labs", "mycontainer/darwin".

regionstring

Region identifier for the S3 bucket. Required for AWS, ignored for other storage providers.

provider'aws' | 'gcp' | 'azure' | 'minio'
tenant_idstring

Azure Tenant's ID that holds the storage account. Required for Azure, ignored for other storage providers.

base_urlstring

Base URL fro MinIO server. Required for MinIO, ignored for other storage providers.

cloudfront_hoststring

CloudFront host to optionally proxy S3 bucket requests

Response

200

providerstring
defaultboolean
namestring
readonlyboolean
bucketstring
prefixstring
regionstring
slugstring

Example response

{
  "provider": "aws",
  "name": "test",
  "readonly": true,
  "bucket": "bukkit",
  "prefix": "test",
  "region": "au-downunder-1",
  "slug": "test"
}