catalog
GET /v1/catalog/php-versions
List the PHP versions offered to new sites.
認証
このエンドポイントは公開されています。認証情報や組織情報は不要で、当社のマーケティングサイトやAI回答エンジンが読み取っているものと同じです。
このエンドポイントは組織IDを受け付けません。お使いのキーによって所属する組織がすでに特定されており、レスポンスはその組織にスコープされます。
試してみる
アングルブラケット内のすべてをご自身の値に置き換え、キーのプレースホルダーをご利用中のダッシュボードのキーに置き換えてください。
curl -X GET https://api.zinndigital.com/v1/catalog/php-versionsログインしていますか?ダッシュボード内のAPIコンソールでは、実際の組織IDやお客様ご自身のキーが自動入力され、ライブAPIに対してリクエストが実行されるため、実際のレスポンスを確認することができます。 API コンソールでこのエンドポイントを開く
詳細
The PHP versions a new site can be created with, each with its support status (active current line, hardened_legacy CloudLinux-patched alt-php, eol), whether it is the default, and the product lines it is offered on. Public catalog reference data — no auth, no tenant scope. Only versions offered to new sites appear; a version retired for new sites (grandfathered on existing sites) is omitted. ?product_line= narrows to one line (an unknown code yields an empty list, never an error). Cacheable exactly like listCatalogPlans (strong ETag + max-age=60).
パラメータ
| 名前 | タイプ | 必須 | これがその内容です |
|---|---|---|---|
product_line (query) | string | いいえ | Restrict to one product line by its code (e.g. footprint_free). Unknown code → empty list. |
If-None-Match (header) | string | いいえ | A previously returned ETag; a match responds 304. |
返信
| 名前 | タイプ | 必須 | これがその内容です |
|---|---|---|---|
data | PhpVersionCatalogEntry[] | はい | — |
このエンドポイントが返すエラー
429