fix: fix temporary whitelist IP listing endpoint
Fix new API endpoint `/api/whitelist/temp/list` to retrieve currently active temporary whitelisted IPs. Also clean up trailing whitespace in the permanent whitelist endpoint section.
This commit is contained in:
@@ -110,6 +110,8 @@ paths:
|
||||
description: Internal error — database failure
|
||||
'405':
|
||||
description: Method not allowed — only POST is supported
|
||||
|
||||
/api/whitelist/temp/list:
|
||||
get:
|
||||
summary: List temporary whitelisted IPs
|
||||
description: List all currently active temporary whitelisted IPs.
|
||||
@@ -213,7 +215,7 @@ paths:
|
||||
example: "ip already exists"
|
||||
'500':
|
||||
description: Internal error
|
||||
|
||||
|
||||
/api/whitelist/perm/list:
|
||||
get:
|
||||
summary: List permanent whitelisted IPs
|
||||
|
||||
Reference in New Issue
Block a user