hosting

GET /v1/sites/{siteId}/hosting/applications

List the one-click applications installable on a site's package.

Tüm hosting uç noktaları

Kimlik Doğrulama

Bearer token olarak bir API anahtarı gönderin. Anahtar sites.view iznine sahip olmalıdır; bu izne sahip olmayan bir anahtar 404 ile değil, 403 ile reddedilir.

Bu uç nokta hiçbir organizasyon kimliği almaz. Anahtarınız zaten ait olduğu organizasyonu tanımlar ve yanıt bu organizasyonla sınırlandırılır.

Dene

Köşeli parantez içindeki her şeyi kendi değerlerinizle ve anahtar yer tutucusunu panonuzdan bir anahtarla değiştirin.

curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/hosting/applications \
  -H "Authorization: Bearer zdk_live_…"

Oturum açtınız mı? Panonuzdaki API konsolu, gerçek organizasyon kimliğinizi ve kendi anahtarınızı otomatik olarak doldurur ve isteği canlı API üzerinde çalıştırarak gerçek yanıtı görmenizi sağlar. Bu uç noktayı API konsolunda açın

Ayrıntılar

The applications available on this package, by name, read live from the vendor so the list cannot go stale in our copy (docs/62 §6g). These are application names — proper nouns like `wordpress` — so the client renders them as names and does not translate them. `404` for a site with no vendor package. Requires `sites.view`.

Parametreler

AdTürZorunluNe olduğu
siteId (path)UuidEvetSite ID (UUIDv7).

Yanıt

AdTürZorunluNe olduğu
dataSiteApplication[]Evet
currentSiteApplicationInstallHayırThe site's most recent install and its outcome, or `null` if none has ever been requested. The **latest** row rather than the latest in-flight one, so a finished install still r…
installablebooleanHayırWhether an install on this site could actually succeed. `false` means the site's hosting plan has no one-click installer at all, and **every** entry in `data` would be refused.…
unavailable_reasonstringHayırStable machine identifier for why `installable` is `false`; empty when it is `true`. An i18n key suffix the client localises — never display text, and never a vendor string. Cur…

Bu uç noktanın dönderebileceği hatalar

401 · 403 · 404 · 429 · 503