hosting

GET /v1/storage/buckets/{bucketId}

One bucket.

Gbogbo àwọn hosting endpoints

Ìfàṣẹ́pọ̀

Fi bọ́ọ̀lù (bearer token) ranṣẹ gẹ́gẹ́ bí kọ́kọ́rọ́ API. Kọ́kọ́rọ́ náà gbọ́dọ̀ ní ìyọ̀ǹda storage.view; a ó kọ̀ ọ́ silẹ pẹlu 403, kii ṣe 404, ti kọ́kọ́rọ́ náà kò bá ní i.

Ojú abánisọ̀rọ̀ yìí kò gba id ajọ kankan. Kọ́kọ́rọ́ rẹ ti mọ ajọ ti o jẹ ti e, a o si fèsì nipa rẹ̀.

Gbiyanju rẹ

Rọ́pọ̀ èyíkéyìí nínú àwọn àmì ìtọ́ka < > pẹ̀lú iye tirẹ̀, àti àmì ìdánimọ̀ bọ́tìnnì náà pẹ̀lú bọ́tìnnì kan láti inú dásibọ̀ọ̀dù rẹ.

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

Ṣé o ti wọlé? Iwọ̀n api ní nú ìgbékalẹ̀ rẹ kún id àjọ gidi rẹ ati bọtini tirẹ, o si nṣiṣẹ ibeere na lòdì si api gidi ki o le rii esi gidi na. Ṣí ojú abáná yìí sílẹ̀ nínú kọnsólù API

Àwọn kúlẹ̀kúlẹ̀

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

Àwọn ìpìlẹ̀

OrúkọIruTí a nílòKini o jẹ
bucketId (path)stringBẹẹniThe bucket's id.

Idahun

OrúkọIruTí a nílòKini o jẹ
idstringBẹẹni
namestringBẹẹniThe customer's own label, not the bucket's name at the vendor.
ownershipstring<zinn, customer>Bẹẹni`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>Bẹẹni
statusstring<pending, active, suspended, failed>Bẹẹni
bucket_namestringBẹẹni
endpointstringBẹẹkọ
regionstringBẹẹkọ
public_base_urlstringBẹẹkọWhere a public object is readable. Empty means the bucket is private and its objects are reachable only through a presigned URL.
bytes_storedintegerBẹẹkọ
objects_storedintegerBẹẹkọ
usage_measured_atstringBẹẹkọWhen 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_credentialbooleanBẹẹniWhether a stored key exists. The key and the Vault path it lives at are deliberately absent from this payload.
meteredbooleanBẹẹniWhether this bucket's bytes count against `object_storage_gb`.
created_atstringBẹẹkọ

Awọn aṣiṣe ti ibudo ipari yii le da pada

401 · 403 · 404 · 429