List your servers
دسترسی لازم:
vm:read
محدودیت نرخ: خواندن پارامترهای Query (۴)
-
limitinteger - اختیاری Max items, 1-200 (default 50); out-of-range values are clamped
-
offsetinteger - اختیاری Skip the first N items, 0-10000 (default 0)
-
statusstring - اختیاری Filter by status: running | stopped | paused | suspended | creating | destroyed | failed
-
qstring - اختیاری Case-insensitive substring match against uuid, public_ip and display_name
پاسخها (۵)
-
200
Servers; meta.total is the count after filtering
data[]:
uuidstatusspecspublic_ipdisplay_namecreated_atupdated_atlive - 401 unauthenticated — Authorization header missing or not "Bearer …"; token_invalid — token unknown, expired, revoked or the account is not active
- 403 scope_missing — the token lacks vm:read (details.required_scope)
- 422 validation_failed — unknown status value, or limit/offset is not an integer
- 429 rate_limited — read limit reached; wait Retry-After seconds (details.retry_after_sec)
نمونهٔ curl
$refs.sc.clientWidth + 1">
curl
curl \
-H "Authorization: Bearer $IRANCLAUD_TOKEN" \
"https://iranclaud.ir/api/v1/vms"