v1

latestOpenAPI 3.0.3AGPL-3.0-only2026-07-17120116247.0 KB
defender

Get host by id

Returns the host with the given id, if it exists

get/defender/hosts/{id}

Response

successful operation

idstring
ipstring
scoreinteger

the score increases whenever a violation is detected, such as an attempt to log in using an incorrect password or invalid username. If the score exceeds the configured threshold, the IP is banned. Omitted for banned IPs

ban_timestring date-time

date time until the IP is banned. For already banned hosts, the ban time is increased each time a new violation is detected. Omitted if the IP is not banned