Storage Buckets

Create a new storage bucket

Changed on
post/projects/{id}/storage/buckets

Request

  • Base URL
    https://api.volcano.dev
  • Auth
    • HTTP bearer
    • or HTTP bearer

Path parameters

id, string uuid required

Project ID

Request body

CreateStorageBucketRequest required
name, string required

Bucket name (alphanumeric, dashes, underscores)

file_size_limit, integer

Maximum file size in bytes

allowed_mime_types, string[]

Allowed MIME types (e.g., ["image/png", "image/jpeg"])

Response

Bucket created

StorageBucket required

A named container for files within a project. Public access is controlled at the file level via is_public on StorageObject.

id, string uuid required
project_id, string uuid
name, string required

Bucket name (unique within project)

file_size_limit, integer nullable

Maximum file size in bytes (null for no limit)

allowed_mime_types, string[] nullable

Allowed MIME types (null for all types)

last_invoked_at, string date-time

Most recent bucket operation timestamp

created_at, string date-time
updated_at, string date-time

Changes

    • info

      the endpoint scheme security ProjectAccessToken was added to the API

    • breaking

      added the new path request parameter id

    • breaking

      added the new required request property name

    12 more changes in this revision