diff --git a/openapi/CHANGELOG.md b/openapi/CHANGELOG.md index d611cb27..93a31acf 100644 --- a/openapi/CHANGELOG.md +++ b/openapi/CHANGELOG.md @@ -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 diff --git a/openapi/openapi.yaml b/openapi/openapi.yaml index 71556333..d2ee5a8b 100644 --- a/openapi/openapi.yaml +++ b/openapi/openapi.yaml @@ -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"