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