From: Peter van Dijk Date: Thu, 4 Oct 2018 21:09:56 +0000 (+0200) Subject: remove more X-Git-Tag: dnsdist-1.3.3~49^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5f4bfa254fa7d87b82da74196bfb703d2d55cec5;p=thirdparty%2Fpdns.git remove more --- diff --git a/docs/common/api/endpoint-logging.rst b/docs/common/api/endpoint-logging.rst deleted file mode 100644 index de338e728d..0000000000 --- a/docs/common/api/endpoint-logging.rst +++ /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 diff --git a/docs/http-api/search.rst b/docs/http-api/search.rst index b790f53820..258d78be5e 100644 --- a/docs/http-api/search.rst +++ b/docs/http-api/search.rst @@ -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 diff --git a/docs/http-api/swagger/authoritative-api-swagger.yaml b/docs/http-api/swagger/authoritative-api-swagger.yaml index 6d02121875..1029d5779f 100644 --- a/docs/http-api/swagger/authoritative-api-swagger.yaml +++ b/docs/http-api/swagger/authoritative-api-swagger.yaml @@ -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' diff --git a/pdns/recursordist/docs/http-api/index.rst b/pdns/recursordist/docs/http-api/index.rst index d63eced8c1..41e6f6bce1 100644 --- a/pdns/recursordist/docs/http-api/index.rst +++ b/pdns/recursordist/docs/http-api/index.rst @@ -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