Skip to content

Endpoints

Buckets, objects, uploads, signed URLs, policies and S3 keys.

Applies to EngineCloud
View as Markdown
On this page
  1. Buckets
  2. Objects
  3. Uploads and signed URLs
  4. Policies, keys and S3

Buckets

Method and pathDoes
GET /bucketList buckets
POST /bucket{ id, public?, maxFileSize?, allowedTypes?, scan?, cacheControl?, storage? }
GET /bucket/{id}, PATCH /bucket/{id}, DELETE /bucket/{id}Read, change, delete (only when empty, or with ?empty=true)

Objects

Method and pathDoes
POST /object/{bucket}/{path}Upload (x-upsert: true to replace)
GET /object/{bucket}/{path}Download as the user (policies apply)
HEAD /object/{bucket}/{path}Metadata only
POST /object/list/{bucket}{ prefix, limit, offset, sortBy, search }
POST /object/move, POST /object/copy{ bucket, from, to }
DELETE /object/{bucket}{ paths: [...] }
PATCH /object/{bucket}/{path}/metadataChange your metadata

Uploads and signed URLs

Method and pathDoes
POST /upload/resumableStart a tus upload (then PATCH its location)
POST /object/sign/{bucket}/{path}{ expiresIn, transform?, download? } → signed download URL
POST /object/upload/sign/{bucket}/{path}{ expiresIn } → signed upload URL and token
GET /object/public/{bucket}/{path} on the content hostPublic download, with transform options

Policies, keys and S3

Method and pathDoes
GET /policies, POST /policies, DELETE /policies/{name}Policies on sypnia_files.objects (secret key)
POST /s3-keys, GET /s3-keys, DELETE /s3-keys/{id}S3 access keys
/s3/...The S3-compatible API

The OpenAPI document is in the engine’s repository, at spec/openapi.yaml.

  1. Buckets
  2. Objects
  3. Uploads and signed URLs
  4. Policies, keys and S3

    Search pages, sections and terms