feat: add whitelist checks to IP blacklist endpoint and rename checks to blacklists
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2026-03-09 16:01:52 +07:00
commit 8b6154c183
4 changed files with 41 additions and 18 deletions

View file

@ -1346,7 +1346,7 @@ components:
type: object
required:
- ip
- checks
- blacklists
- listed_count
- score
- grade
@ -1355,7 +1355,7 @@ components:
type: string
description: The IP address that was checked
example: "192.0.2.1"
checks:
blacklists:
type: array
items:
$ref: '#/components/schemas/BlacklistCheck'
@ -1375,3 +1375,8 @@ components:
enum: [A+, A, B, C, D, E, F]
description: Letter grade representation of the score
example: "A+"
whitelists:
type: array
items:
$ref: '#/components/schemas/BlacklistCheck'
description: List of DNS whitelist check results (informational only)