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
|
description: Internal error — database failure
|
||||||
'405':
|
'405':
|
||||||
description: Method not allowed — only POST is supported
|
description: Method not allowed — only POST is supported
|
||||||
|
|
||||||
|
/api/whitelist/temp/list:
|
||||||
get:
|
get:
|
||||||
summary: List temporary whitelisted IPs
|
summary: List temporary whitelisted IPs
|
||||||
description: List all currently active temporary whitelisted IPs.
|
description: List all currently active temporary whitelisted IPs.
|
||||||
|
|||||||
Reference in New Issue
Block a user