Skip to main content

Cloud Storage HTTP API Overview

CloudBase Cloud Storage offers two sets of HTTP APIs targeting different environment types. By default, use the PG mode set; classic environments should use the classic mode set.

Two cloud storage HTTP APIs​

DimensionPG Cloud StorageClassic Cloud Storage
Applicable environmentPG environments (default)Classic environments
AuthenticationCloudBase AccessToken (Authorization: Bearer <token>)JWT Bearer Token (service_role / authenticated / anon)
Upload pathGoes through Storage API → COS; metadata is coordinated transactionallyClient SDK gets a signature and uploads directly to COS
Permission modelPostgreSQL RLS policies (SQL)Bucket-level built-in permissions + JSON security rules
API surfaceFull Bucket / Object CRUD, signed URLs, object metadata, multipart uploadBasic object upload / download / delete / copy

How to choose​

Product docs​

If you want to understand the full capabilities of cloud storage (console, SDK, CLI, cosBrowser, etc.) — not just the HTTP API: