compute

GET /v1/compute/servers/{serverId}/services

List the services running inside a server.

Tüm compute 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/compute/servers/{serverId}/services \
  -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 machine's own service units - its web server, its database, its FTP daemon and a PHP-FPM pool per website - with the state the provider reports for each, read live. This is the answer to "is my database actually running", which is otherwise only visible by the site being down. Read-only: it reports state and changes none of it. Acting on what it reports is `runComputeServerServiceAction`. Requires `sites.view`.

Parametreler

AdTürZorunluNe olduğu
serverId (path)UuidEvetThe server's id, as `listComputeServers` reports it. **Ours** (UUIDv7), minted when the order row was written — never the provider's own identifier for the machine.

Yanıt

AdTürZorunluNe olduğu
dataComputeServerService[]Evet

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

401 · 403 · 404 · 422 · 429 · 503