Resolve conflict

This commit is contained in:
ArtemBaskal
2020-07-03 16:58:23 +03:00
114 changed files with 4241 additions and 1444 deletions

View File

@@ -163,29 +163,26 @@ 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
- all
- filtered
- blocked
- blocked_safebrowsing
- blocked_parental
- whitelisted
- rewritten
- safe_search
- processed
responses:
"200":
description: OK
@@ -1222,15 +1219,15 @@ components:
top_queried_domains:
type: array
items:
type: object
$ref: "#/components/schemas/TopArrayEntry"
top_clients:
type: array
items:
type: object
$ref: "#/components/schemas/TopArrayEntry"
top_blocked_domains:
type: array
items:
type: object
$ref: "#/components/schemas/TopArrayEntry"
dns_queries:
type: array
items:
@@ -1247,6 +1244,12 @@ components:
type: array
items:
type: integer
TopArrayEntry:
type: object
description: Represent the number of hits per key (domain or client IP)
properties:
domain_or_ip:
type: integer
StatsConfig:
type: object
description: Statistics configuration
@@ -1426,11 +1429,19 @@ 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:
type: string
example: 192.168.0.1
client_proto:
enum:
- dot
- doh
- ""
elapsedMs:
type: string
example: "54.023928"