Uthibitishaji
Tuma ufunguo wa API kama tokeni ya kubeba. Ufunguo lazima uwe na ruhusa ya storage.view; ufunguo usio nayo unakataliwa kwa 403, si 404.
Endpoint hii haichukui kitambulisho cha shirika. Ufunguo wako tayari unalitambua shirika linalohusika, na jibu limewekewa kikomo kwa shirika hilo pekee.
Jaribu
Badilisha chochote kilicho ndani ya mabano ya pembe na maadili yako mwenyewe, na kishikiliaji cha ufunguo na ufunguo kutoka kwa dashibodi yako.
curl -X GET https://api.zinndigital.com/v1/storage/buckets \
-H "Authorization: Bearer zdk_live_…"Umeingia kwenye akaunti? Dashibodi yako ya kiweko cha API inajaza kitambulisho chako halisi cha shirika na ufunguo wako mwenyewe, na kuendesha ombi dhidi ya API ya moja kwa moja ili uweze kuona jibu halisi. Fungua sehemu hii ya mwisho (endpoint) kwenye konsole ya API
Maelezo
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`.
Majibu
| Jina | Aina | Inayohitajika | Kilicho hiki |
|---|---|---|---|
items | StorageBucket[] | Ndiyo | — |
usage | StorageUsage | Ndiyo | — |
Hitilafu ambazo mwisho huu unaweza kurudisha
401 · 403 · 429