Skip to main content
GET
/
cabinet
/
admin
/
ban-system
/
traffic
Get Traffic
curl --request GET \
  --url https://api.example.com/cabinet/admin/ban-system/traffic \
  --header 'Authorization: Bearer <token>'
{
  "enabled": false,
  "stats": {},
  "top_users": [],
  "recent_violations": []
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successful Response

Full traffic statistics response.

enabled
boolean
default:false
stats
Stats · object
top_users
BanTrafficTopItem · object[]
recent_violations
BanTrafficViolationItem · object[]