* openapi: change /filtering/refresh
This commit is contained in:
parent
90b25300df
commit
897ff436b1
|
@ -1,6 +1,21 @@
|
|||
# AdGuard Home API Change Log
|
||||
|
||||
|
||||
## v0.101: API changes
|
||||
|
||||
### API: Refresh filters: POST /control/filtering/refresh
|
||||
|
||||
* Added "whitelist" boolean parameter
|
||||
|
||||
Request:
|
||||
|
||||
POST /control/filtering/refresh
|
||||
|
||||
{
|
||||
"whitelist": true
|
||||
}
|
||||
|
||||
|
||||
## v0.100: API changes
|
||||
|
||||
### API: Get list of clients: GET /control/clients
|
||||
|
|
|
@ -570,6 +570,13 @@ paths:
|
|||
This should work as intended, a `force` parameter is offered as last-resort attempt to make filter lists fresh.
|
||||
|
||||
If you ever find yourself using `force` to make something work that otherwise wont, this is a bug and report it accordingly.
|
||||
consumes:
|
||||
- application/json
|
||||
parameters:
|
||||
- in: "body"
|
||||
name: "body"
|
||||
schema:
|
||||
$ref: "#/definitions/FilterRefreshRequest"
|
||||
responses:
|
||||
200:
|
||||
description: OK
|
||||
|
@ -1196,6 +1203,13 @@ definitions:
|
|||
enabled:
|
||||
type: "boolean"
|
||||
|
||||
FilterRefreshRequest:
|
||||
type: "object"
|
||||
description: "Refresh Filters request data"
|
||||
properties:
|
||||
whitelist:
|
||||
type: "boolean"
|
||||
|
||||
FilterCheckHostResponse:
|
||||
type: "object"
|
||||
description: "Check Host Result"
|
||||
|
|
Loading…
Reference in New Issue