diff --git a/openapi/openapi.yaml b/openapi/openapi.yaml index 304c8dc5..f1a5b11a 100644 --- a/openapi/openapi.yaml +++ b/openapi/openapi.yaml @@ -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: