Poll a session's counters
GET
/api/v1/admin/sessions/{id}/traffic
prm_report_sessions
The lightweight counter snapshot behind a live traffic graph. It is a snapshot, not a rate — derive throughput from the difference between two polls and the difference between their sampled_at stamps.
update_time is when the NAS last reported, and sampled_at is when this server read it. They differ by up to one accounting interval, so two polls closer together than that interval return identical counters and a throughput of zero. That is the NAS being quiet, not the subscriber.
نظرة سريعة
- المصادقة
- رمز موظّف أو جلسة
- تتطلب صلاحية
-
prm_report_sessionsSessions report
المعاملات
| المعامل | الوصف |
|---|---|
idمطلوب
path · integer
|
Session id. |