+++ /dev/null
-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
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
- $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'
endpoint-zones
endpoint-trace
endpoint-cache
- ../common/api/endpoint-logging.rst
endpoint-failure
endpoint-rpz-stats