]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
remove more
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 4 Oct 2018 21:09:56 +0000 (23:09 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 4 Oct 2018 21:09:56 +0000 (23:09 +0200)
docs/common/api/endpoint-logging.rst [deleted file]
docs/http-api/search.rst
docs/http-api/swagger/authoritative-api-swagger.yaml
pdns/recursordist/docs/http-api/index.rst

diff --git a/docs/common/api/endpoint-logging.rst b/docs/common/api/endpoint-logging.rst
deleted file mode 100644 (file)
index de338e7..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-Log endpoint
-============
-
-.. http:get:: /api/v1/servers/:server_id/search-log?q=:search_term
-
-  Query the log, filtered by ``search_term``.
-  Returns a single JSON object with a single array of strings.
-
-  :param server_id: The name of the server
-  :param search_term: The string to search for
index b790f53820f7e807ad611f39260c8e8bd3801772..258d78be5eefaa38071d0bd9de3e4ab2e23037af 100644 (file)
@@ -3,12 +3,6 @@ Searching
 
 The API allows searching for data in :json:object:`Zone`\ s, :json:object:`Comment`\ s and :json:object:`RRSet`\ s.
 
-Endpoints
----------
-
-.. openapi:: swagger/authoritative-api-swagger.yaml
-  :paths: /servers/{server_id}/search-data /servers/{server_id}/search-log
-
 Objects
 -------
 .. openapi:: swagger/authoritative-api-swagger.yaml
index 6d02121875d60d9aa75574de0aae5804306d6e95..1029d5779fef26ec7dddd3c099e84c2366f65dc7 100644 (file)
@@ -413,31 +413,6 @@ paths:
             - $ref: '#/definitions/MapStatisticItem'
             - $ref: '#/definitions/RingStatisticItem'
 
-  '/servers/{server_id}/search-log':
-    get:
-      summary: 'Query the log, filtered by search_term.'
-      operationId: searchLog
-      tags:
-        - search
-      parameters:
-        - name: server_id
-          in: path
-          required: true
-          description: The id of the server to retrieve
-          type: string
-        - name: q
-          in: query
-          required: true
-          description: 'The string to search for'
-          type: string
-      responses:
-        '200':
-          description: Returns a single JSON object with a single array of strings.
-          schema:
-            type: array
-            items:
-              type: string
-
   '/servers/{server_id}/search-data':
     get:
       summary: 'Search the data inside PowerDNS'
index d63eced8c1c4d878d69e338686f18f9a5ed011f4..41e6f6bce1214a9a5861a14d42aeb0f6aa71b0fd 100644 (file)
@@ -62,6 +62,5 @@ All API endpoints for the PowerDNS Recursor are documented here:
   endpoint-zones
   endpoint-trace
   endpoint-cache
-  ../common/api/endpoint-logging.rst
   endpoint-failure
   endpoint-rpz-stats