catalog
GET /v1/catalog/php-versions
List the PHP versions offered to new sites.
Authenticatie
Dit eindpunt is openbaar. Het vereist geen inloggegevens en geen organisatie; het is wat onze eigen marketingwebsite en AI-antwoordmachines uitlezen.
Dit eindpunt vereist geen organisatie-id. Uw sleutel identificeert al de organisatie waartoe deze behoort, en het antwoord is hierop afgestemd.
Probeer het
Vervang alles tussen punthaakjes door uw eigen waarden en de sleutelplaatsvervanger door een sleutel uit uw dashboard.
curl -X GET https://api.zinndigital.com/v1/catalog/php-versionsIngelogd? De API-console in je dashboard vult je echte organisatie-id en je eigen sleutel in, en voert het verzoek uit tegen de live API zodat je de daadwerkelijke respons kunt zien. Open dit eindpunt in de API-console
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`).
Parameters
| Naam | Type | Verplicht | Wat dit is |
|---|---|---|---|
product_line (query) | string | Nee | Restrict to one product line by its code (e.g. `footprint_free`). Unknown code → empty list. |
If-None-Match (header) | string | Nee | A previously returned `ETag`; a match responds `304`. |
Reactie
| Naam | Type | Verplicht | Wat dit is |
|---|---|---|---|
data | PhpVersionCatalogEntry[] | Ja | — |
Fouten die dit eindpunt kan retourneren
429