catalog
GET /v1/catalog/php-versions
List the PHP versions offered to new sites.
Authentifizierung
Dieser Endpunkt ist öffentlich. Er erfordert weder Anmeldedaten noch eine Organisation – er wird auch von unserer eigenen Marketing-Website und den KI-Antwort-Engines gelesen.
Dieser Endpunkt erfordert keine Organisations-ID. Ihr Schlüssel identifiziert bereits die zugehörige Organisation, und die Antwort ist entsprechend eingeschränkt.
Ausprobieren
Ersetzen Sie alles in spitzen Klammern durch Ihre eigenen Werte und den Platzhalter für den Schlüssel durch einen Schlüssel aus Ihrem Dashboard.
curl -X GET https://api.zinndigital.com/v1/catalog/php-versionsAngemeldet? Die API-Konsole in Ihrem Dashboard trägt automatisch Ihre echte Organisations-ID sowie Ihren eigenen Schlüssel ein und führt die Anfrage gegen die Live-API aus, sodass Sie die tatsächliche Antwort sehen können. Öffnen Sie diesen Endpunkt in der API-Konsole
Details
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`).
Parameter
| Name | Typ | Erforderlich | Was es ist |
|---|---|---|---|
product_line (query) | string | Nein | Restrict to one product line by its code (e.g. `footprint_free`). Unknown code → empty list. |
If-None-Match (header) | string | Nein | A previously returned `ETag`; a match responds `304`. |
Antwort
| Name | Typ | Erforderlich | Was es ist |
|---|---|---|---|
data | PhpVersionCatalogEntry[] | Ja | — |
Fehler, die dieser Endpunkt zurückgeben kann
429