Skip to main content
GET
/
cabinet
/
admin
/
ban-system
/
report
Get Report
curl --request GET \
  --url http://localhost:8080/cabinet/admin/ban-system/report
{
  "period_hours": 24,
  "current_users": 0,
  "current_ips": 0,
  "punishment_stats": {},
  "top_violators": []
}

Query Parameters

hours
integer
default:24
Required range: 1 <= x <= 168

Response

Successful Response

Period report response.

period_hours
integer
default:24
current_users
integer
default:0
current_ips
integer
default:0
punishment_stats
Punishment Stats · object
top_violators
BanReportTopViolator · object[]