catalog
GET /v1/catalog/compute
List the sellable cloud machine sizes.
Аутентификация
Этот эндпоинт является публичным. Он не требует учетных данных и организации — его читают наш собственный маркетинговый сайт и поисковые системы на базе ИИ.
Этот эндпоинт не принимает идентификатор организации. Ваш ключ уже определяет организацию, к которой он принадлежит, и ответ ограничивается ее рамками.
Попробовать
Замените всё в угловых скобках на собственные значения, а плейсхолдер ключа — на ключ из вашей панели управления.
curl -X GET https://api.zinndigital.com/v1/catalog/computeВошли в систему? Консоль API в вашей панели управления автоматически подставляет реальный идентификатор вашей организации и ваш собственный ключ, а также выполняет запрос к работающему API, чтобы вы могли увидеть актуальный ответ. Откройте эту конечную точку в 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[] | Да | — |
Ошибки, которые может возвращать этот эндпоинт
429