compute

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

What a server may hold.

બધા compute એન્ડપૉઇન્ટ્સ

પ્રમાણીકરણ

એપીઆઈ કી (API key) ને બેરર ટોકન તરીકે મોકલો. કી પાસે sites.view પરવાનગી હોવી આવશ્યક છે; તેના વગરની કીને 404 ને બદલે 403 સાથે અસ્વીકાર કરવામાં આવશે.

આ એન્ડપૉઇન્ટ કોઈ સંસ્થા આઈડી (organisation id) લેતું નથી. તમારી કી (key) પહેલેથી જ તે જે સંસ્થા સાથે સંબંધિત છે તેની ઓળખ કરે છે, અને પ્રતિસાદ (response) તે જ પૂરતો મર્યાદિત છે.

આયમાવો

કોઈપણ કૌંસમાં રહેલી બાબતને તમારા પોતાના મૂલ્યોથી બદલો અને કી પ્લેસહોલ્ડરને તમારા ડેશબોર્ડની કીથી બદલો.

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

साइन ઇન કરેલ છે? તમારા ડેશબોર્ડમાં આવેલું API કન્સોલ તમારી વાસ્તવિક સંસ્થાની આઈડી અને તમારી પોતાની કી ભરે છે, અને લાઇવ API સામે વિનંતી ચલાવે છે જેથી તમે વાસ્તવિક પ્રતિસાદ જોઈ શકો. આ અંતિમબિંદુને API કન્સોલમાં ખોલો

વિગતો

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

પેરામીટર્સ

નામપ્રકારજરૂરીતે શું છે
serverId (path)UuidહાThe 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.

જવાબ

નામપ્રકારજરૂરીતે શું છે
packagesintegerહાHow many hosting packages (websites) may live on the machine. `null` not stated, `-1` unlimited, otherwise the count.

આ એન્ડપોઇન્ટ જે ભૂલો પરત કરી શકે છે

401 · 403 · 404 · 422 · 429 · 503