all: imp docs

This commit is contained in:
Dimitry Kolyshev 2023-05-31 12:06:13 +03:00
parent 8813e135b6
commit 07f4f0474c
2 changed files with 13 additions and 3 deletions

View file

@ -9,7 +9,13 @@
### New HTTP API 'GET /control/querylog/export' ### New HTTP API 'GET /control/querylog/export'
* The new `GET /control/querylog/export` HTTP API allows an export of query log * The new `GET /control/querylog/export` HTTP API allows an export of query log
items in the CSV file. items in the CSV file. Example:
```text
ans_dnssec,ans_rcode,ans_type,ans_value,cached,client_ip,client_id,ecs,elapsed,filter_id,filter_rule,proto,qclass,qname,qtype,reason,time,upstream
false,NOERROR,A,192.168.1.1,false,127.0.0.1,,,0.097409,,,,IN,example.com,A,Rewrite,2023-01-30T12:21:13.947563+07:00,
false,NOERROR,A,45.33.2.79,false,127.0.0.1,,,482.967871,,,,IN,test.com,A,NotFilteredNotFound,2022-12-13T12:18:04.964403+07:00,https://dns10.quad9.net:443/dns-query
```
### `POST /control/version.json` and `GET /control/dhcp/interfaces` content type ### `POST /control/version.json` and `GET /control/dhcp/interfaces` content type

View file

@ -352,8 +352,12 @@
'description': 'OK.' 'description': 'OK.'
'content': 'content':
'text/csv': 'text/csv':
schema: 'schema':
type: string 'type': 'string'
'example': >
ans_dnssec,ans_rcode,ans_type,ans_value,cached,client_ip,client_id,ecs,elapsed,filter_id,filter_rule,proto,qclass,qname,qtype,reason,time,upstream
false,NOERROR,A,192.168.1.1,false,127.0.0.1,,,0.097409,,,,IN,example.com,A,Rewrite,2023-01-30T12:21:13.947563+07:00,
false,NOERROR,A,45.33.2.79,false,127.0.0.1,,,482.967871,,,,IN,test.com,A,NotFilteredNotFound,2022-12-13T12:18:04.964403+07:00,https://dns10.quad9.net:443/dns-query
'/stats': '/stats':
'get': 'get':
'tags': 'tags':