* openapi

This commit is contained in:
Simon Zolin 2020-05-28 17:58:56 +03:00
parent 0500aa9591
commit 0adbce5d38
1 changed files with 10 additions and 15 deletions

View File

@ -163,29 +163,21 @@ paths:
description: Limit the number of records to be returned
schema:
type: integer
- name: filter_domain
- name: search
in: query
description: Filter by domain name
description: Filter by domain name or client IP
schema:
type: string
- name: filter_client
in: query
description: Filter by client
schema:
type: string
- name: filter_question_type
in: query
description: Filter by question type
schema:
type: string
- name: filter_response_status
- name: response_status
in: query
description: Filter by response status
schema:
type: string
enum:
- null
- filtered
- ""
- blocked
- whitelisted
- processed
responses:
"200":
description: OK
@ -1421,6 +1413,9 @@ components:
description: Answer from upstream server (optional)
items:
$ref: "#/components/schemas/DnsAnswer"
upstream:
type: string
description: Upstream URL starting with tcp://, tls://, https://, or with an IP address
answer_dnssec:
type: boolean
client: