hosting

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

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

Tất cả các điểm cuối hosting

Xác thực

Gửi khóa API dưới dạng mã thông báo bearer. Khóa này phải có quyền sites.view; khóa không có quyền này sẽ bị từ chối với mã lỗi 403, không phải 404.

Endpoint này không nhận ID tổ chức. Khóa của bạn đã xác định tổ chức mà nó thuộc về và phản hồi được giới hạn trong phạm vi đó.

Dùng thử

Thay thế bất kỳ nội dung nào trong ngoعل (angle brackets) bằng giá trị của riêng bạn và trình giữ chỗ key bằng một key từ trang tổng quan của bạn.

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

Đã đăng nhập? Bảng điều khiển API trong trang quản lý của bạn sẽ tự điền ID tổ chức thực tế và khóa của riêng bạn, sau đó chạy yêu cầu đối với API trực tiếp để bạn có thể xem phản hồi thực tế. Mở điểm cuối này trong bảng điều khiển API

Chi tiết

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`.

Tham số

TênLoạiBắt buộcNội dung này là gì
siteId (path)UuidSite ID (UUIDv7).

Phản hồi

TênLoạiBắt buộcNội dung này là gì
dataSiteApplication[]
currentSiteApplicationInstallKhôngThe 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…
installablebooleanKhôngWhether 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_reasonstringKhôngStable 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…

Các lỗi điểm cuối này có thể trả về

401 · 403 · 404 · 429 · 503