hosting

GET /v1/storage/buckets

The organisation's object storage buckets.

Tous les points de terminaison hosting

Authentification

Envoyez une clé API en tant que jeton du porteur. La clé doit posséder l'autorisation storage.view ; une clé qui ne l'a pas est refusée avec le code 403, et non 404.

Cet endpoint ne prend aucun identifiant d'organisation. Votre clé identifie déjà l'organisation à laquelle elle appartient, et la réponse y est limitée.

Essayer

Remplacez tout ce qui se trouve entre crochets par vos propres valeurs, et le espace réservé à la clé par une clé de votre tableau de bord.

curl -X GET https://api.zinndigital.com/v1/storage/buckets \
  -H "Authorization: Bearer zdk_live_…"

Connecté ? La console d'API de votre tableau de bord saisit votre véritable ID d'organisation ainsi que votre propre clé, et exécute la requête sur l'API de production afin que vous puissiez voir la réponse réelle. Ouvrir ce point de terminaison dans la console API

Détails

Every bucket this organisation has, ours and its own. A `zinn`-owned bucket is storage we operate and bill for; a `customer`-owned one is the organisation's own S3-compatible bucket, which costs us nothing and is therefore **not** metered against the plan's `object_storage_gb` allowance. `has_credential` reports whether a stored key exists. The credential itself and the Vault path it lives at are deliberately absent from this payload: a path is not a secret, but it is a map of where our secrets live, and this response reaches a browser. Requires `storage.view`.

Réponse

NomTypeObligatoireQu'est-ce que c'est
itemsStorageBucket[]Oui
usageStorageUsageOui

Erreurs que cet point de terminaison peut renvoyer

401 · 403 · 429