catalog
GET /v1/catalog/compute
List the sellable cloud machine sizes.
Упълномощаване
Този крайpoint е публичен. Той не изисква данни за удостоверяване и организация — това е съдържанието, което нашият собствен маркетинг сайт и AI машини за отговори четат.
Този ендпойнт не изисква идентификатор на организация. Вашият ключ вече идентифицира организацията, към която принадлежи, и отговорът е ограничен до нея.
Опитайте
Заменете всичко в квадратни скоби със собствени стойности, а ключовия заместващ символ – с ключ от вашето табло за управление.
curl -X GET https://api.zinndigital.com/v1/catalog/computeВлязохте ли в профила си? API конзолата във вашето табло за управление попълва действителното идентификационно число на вашата организация и вашия собствен ключ и изпълнява заявката спрямо реалното API, за да можете да видите действителния отговор. Отворете този крайpoint в API конзолата
Детайли
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.
Параметри
| Име | Тип | Задължително | Какво представлява |
|---|---|---|---|
If-None-Match (header) | string | Не | A previously returned ETag; a match responds 304. |
Отговор
| Име | Тип | Задължително | Какво представлява |
|---|---|---|---|
data | PublicComputeTier[] | Да | — |
Грешки, които този крайpoint може да върне
429