hosting

GET /v1/storage/buckets/{bucketId}

One bucket.

Dukkan hosting wuraren ƙarshe

Tabbatar da Asali

Aika maɓallin API azaman alamar ɗauka (bearer token). Dole ne maɓallin ya kasance yana da izinin storage.view; idan babu shi, za a ƙi amfani da maɓallin tare da lambar 403, ba 404 ba.

Wannan wurin ƙarewa ba ya buƙatar ID na ƙungiya. Maɓallin ku ya riga ya gano ƙungiyar da yake ciki, kuma an iyakance amsa a kanta.

Gwada

May gurbin komai da ke cikin kusurwa da ƙimar ka, kuma may gurbin maballi da maballi daga allon sarrafa ka.

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

An shiga? Na'urar sarrafa API da ke cikin sashin kulawarka tana cika ainihin lambar ƙungiyarka da maɓallinka naka, sannan tana gudanar da buƙatar a kan ainihin API don haka zaka iya ganin amsar gaske. Buɗe wannan tashar a cikin na'urar kula da API

Bayani

One bucket belonging to this organisation. Requires `storage.view`.

Sigogi

SunaNau'iAna buƙataAbin da yake
bucketId (path)stringEhThe bucket's id.

Martani

SunaNau'iAna buƙataAbin da yake
idstringEh
namestringEhThe customer's own label, not the bucket's name at the vendor.
ownershipstring<zinn, customer>Eh`zinn` is storage we operate and bill for; `customer` is the organisation's own bucket, which costs us nothing and is not metered against their allowance.
vendorstring<r2, s3, b2, bunny, gcore, minio>Eh
statusstring<pending, active, suspended, failed>Eh
bucket_namestringEh
endpointstringA'a
regionstringA'a
public_base_urlstringA'aWhere a public object is readable. Empty means the bucket is private and its objects are reachable only through a presigned URL.
bytes_storedintegerA'a
objects_storedintegerA'a
usage_measured_atstringA'aWhen the size above was last measured against the vendor. `null` means it has not been measured yet — which is not the same as empty.
has_credentialbooleanEhWhether a stored key exists. The key and the Vault path it lives at are deliberately absent from this payload.
meteredbooleanEhWhether this bucket's bytes count against `object_storage_gb`.
created_atstringA'a

Kuskuren da wannan matsaya za ta iya maido wa

401 · 403 · 404 · 429