* openapi: minor

This commit is contained in:
Simon Zolin 2019-10-14 15:56:14 +03:00
parent e2c26ec554
commit 92b6adbdc1
1 changed files with 1 additions and 9 deletions

View File

@ -2,7 +2,7 @@ swagger: '2.0'
info: info:
title: 'AdGuard Home' title: 'AdGuard Home'
description: 'AdGuard Home REST API. Admin web interface is built on top of this REST API.' description: 'AdGuard Home REST API. Admin web interface is built on top of this REST API.'
version: 0.98.1 version: '0.99'
schemes: schemes:
- http - http
basePath: /control basePath: /control
@ -286,7 +286,6 @@ paths:
description: OK description: OK
schema: schema:
$ref: "#/definitions/StatsConfig" $ref: "#/definitions/StatsConfig"
description: OK
/stats_config: /stats_config:
post: post:
@ -552,13 +551,6 @@ paths:
This should work as intended, a `force` parameter is offered as last-resort attempt to make filter lists fresh. 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. If you ever find yourself using `force` to make something work that otherwise wont, this is a bug and report it accordingly.
parameters:
-
name: force
in: query
type: boolean
description: 'If any value is set, ignore cache and force re-download of all filters'
responses: responses:
200: 200:
description: OK with how many filters were actually updated description: OK with how many filters were actually updated