catalog

GET /v1/catalog/compute

List the sellable cloud machine sizes.

Všechny koncové body catalog

Autentizace

Tento koncový bod je veřejný. Nevyžaduje žádná pověření ani organizaci – je to to, co čte náš vlastní marketingový web a naše AI vyhledávače.

Tento koncový bod nevyžaduje žádné ID organizace. Váš klíč již identifikuje organizaci, ke které patří, a odpověď je na ni omezena.

Vyzvednout

Nahraďte cokoli v závorkách vlastními hodnotami a zástupný symbol klíče klíčem z vašeho řídicího panelu.

curl -X GET https://api.zinndigital.com/v1/catalog/compute

Přihlášeni? Konzole API ve vašem dashboardu automaticky doplní vaše skutečné ID organizace i váš vlastní klíč a odešle požadavek na živé API, abyste viděli reálnou odpověď. Otevřete tento koncový bod v konzoli API

Podrobnosti

Every Zinn® Cloud size a customer may buy, with **every cadence it is priced at**, read straight from the catalogue rows an operator edits in admin. **Public** — no authentication, no tenant, no principal — and cacheable exactly like `listCatalogPlans` (strong `ETag` + `max-age=60`). **This is not `getComputeCatalogue` made public, and it deliberately cannot become it.** That endpoint (`GET /v1/compute/catalogue`, `sites.view`) reads the provider matrix, which is an org-scoped live call to the vendor with the org's own credentials. This one is a pure read of our own plan and price rows, which is why it can be served to a logged-out visitor at all. The corollary is part of the contract: **this endpoint returns no providers and no data centres.** Both are defaulted server-side at checkout, once an org exists to read them with. Only sizes that can actually be **bought** are listed. A size with no vendor spec token, or with no price at any sellable cadence, is one the cart refuses — listing it would be a configurator that offers a size and then answers `422`. Returned **whole, not cursor-paginated**, matching `listCatalogPlans`: a configurator needs every size at once to render a comparison, not 50 at a time.

Parametry

NázevTypPožadovánoCo to je
If-None-Match (header)stringNeA previously returned `ETag`; a match responds `304`.

Odpověď

NázevTypPožadovánoCo to je
dataPublicComputeTier[]Ano

Chyby, které může tento koncový bod vrátit

429