ავტორიზაცია

API გასაღები გაგზავნეთ როგორც მატარებელი ტოკენი (bearer token). გასაღებს უნდა ჰქონდეს sites.view ნებართვა; ამის გარეშე გასაღები უარყოფილი იქნება 403 და არა 404 სტატუსით.

ეს ბოლო წერტილი არ იღებს ორგანიზაციის იდენტიფიკატორს. თქვენი გასაღები უკვე აიდენტიფიცირებს იმ ორგანიზაციას, რომელსაც ის ეკუთვნის, და პასუხი შემოფარგლულია მისით.

სცადეთ

შეSubstituted any value inside angle brackets with your own and the key placeholder with a key from your dashboard.

curl -X GET https://api.zinndigital.com/v1/compute/vps/options?size=<size> \
  -H "Authorization: Bearer zdk_live_…"

შესული ხართ? თქვენი სამართავ პანელში არსებული API კონსოლი ავტომატურად ამატებს თქვენი რეალური ორგანიზაციის ID-სა და საკუთარ გასაღებს და ატარებს მოთხოვნას ცოცხალ API-ს წინააღმდეგ, რათა იხილოთ რეალური პასუხი. გაAღით ეს ენდპოინტი API კონსოლში

დეტალები

cPanel licences, backup tiers and additional disks, already filtered to what this machine size can actually take — with our price on each, in integer minor units. ⛔⛔ Filtered, not merely listed, and the filtering is the point. this platform refuses cPanel below 2 GB of memory and price backups per machine size, so an unfiltered menu is a set of choices the vendor rejects after the customer has configured and paid. Their own order form disables exactly these; this endpoint is how ours does the same. ⛔ resizable is false on this range and its resize_reason says why: this platform publishes no operation that changes a VPS's processor or memory after purchase. Disk, cPanel and backups are all separately purchasable; the machine itself is not. Requires sites.view.

პარამეტრები

სახელიტიპისავალდებულორა არის ეს
size (query)stringდიახThe vendor's machine token (vps-avps-i).

პასუხი

სახელიტიპისავალდებულორა არის ეს
dataComputeVpsOptionsდიახThe paid options a VPS of one size can carry, grouped by kind.

შეცდომები, რომლებიც ამ ენდპოინტს შეუძლია დააბრუნოს

401 · 403 · 422 · 429