Fetch one NAS
GET
/api/v1/admin/nas/{id}
prm_nas_index
The full device record, including tunnel and operator-VPN configuration.
Read tunnel_transport to decide how to render a device, never "whichever tunnel IP is non-null". A NAS keeps its standby allocations after switching transport, so more than one of wg_tunnel_ip, ovpn_tunnel_ip and sstp_tunnel_ip is set on any device that ever changed. active_tunnel_ip is the database's own resolution of that question.
نظرة سريعة
- المصادقة
- رمز موظّف أو جلسة
- تتطلب صلاحية
-
prm_nas_indexView NAS
المعاملات
| المعامل | الوصف |
|---|---|
idمطلوب
path · integer
|
NAS id. |
الأخطاء
| الرمز | متى تُرجَع |
|---|---|
ERR_NOT_FOUND404
|
no such NAS in this tenant |