compute

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

What a server may hold.

Wszystkie punkty końcowe compute

Wszystkie dokumentacje dla programistów

Uwierzytelnianie

Wyślij klucz API jako token bearer. Klucz musi posiadać uprawnienie sites.view; klucz bez niego jest odrzucany z kodem 403, a nie 404.

Ten punkt końcowy nie wymaga identyfikatora organizacji. Twój klucz już identyfikuje organizację, do której należy, a odpowiedź jest do niej ograniczona.

Wypróbuj

Zastąp wszystko w nawiasach ostrych własnymi wartościami, a zastępczy znacznik klucza kluczem ze swojego pulpitu nawigacyjnego.

curl -X GET https://api.zinndigital.com/v1/compute/servers/{serverId}/limits \
  -H "Authorization: Bearer zdk_live_…"

Zalogowany? Konsola API w Twoim panelu uzupełnia rzeczywiste identyfikator organizacji oraz Twój własny klucz i wykonuje żądanie względem aktywnego API, dzięki czemu możesz zobaczyć rzeczywistą odpowiedź. Otwórz ten punkt końcowy w konsoli API

Szczegóły

The machine's ceilings — today, how many websites it may host. Read live from the provider, because it is the provider's fact about the contract and a cached ceiling is wrong exactly when a plan changes. ⛔ The answer can be "unlimited", and a client must be able to say so. The field is three-state: null the provider did not say, -1 unlimited, >= 0 a count. On the resold range this genuinely is unlimited, which is why adding a website to a machine the customer already owns costs nothing — a claim the platform previously made in a code comment and could not put on a screen. Requires sites.view.

Parametry

NazwaTypWymaganeCo to jest
serverId (path)UuidTakThe 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.

Odpowiedź

NazwaTypWymaganeCo to jest
packagesintegerTakHow many hosting packages (websites) may live on the machine. null not stated, -1 unlimited, otherwise the count.

Błędy, które ten punkt końcowy może zwrócić

401 · 403 · 404 · 422 · 429 · 503