palbaseDocs

Palbase Storage · API

GET/storage/buckets

List buckets

Every bucket of the project, by name.

Called by your server, with the project's secret key.

curl
curl -X GET "https://<your-ref>.palbase.studio/storage/buckets" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200The buckets

401No key, or not a key of this project (the edge's answer)

403Not the project's secret key; or, on a credential-less route, a private object or a link that is not valid for it

429The project's request rate, or its storage quota for the period, is used up — or, slowed for its month's traffic, it has as many downloads under way as are paced at once; Retry-After says when to try again

503The platform could not answer now; retrying is safe (Retry-After)

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation ListBuckets of storage's contract.