All URIs are relative to http://localhost:8081/api/v1
Method | HTTP request | Description |
---|---|---|
SearchData | Get /servers/{server_id}/search-data | Search the data inside PowerDNS |
SearchLog | Get /servers/{server_id}/search-log | Query the log, filtered by search_term. |
SearchResults SearchData(ctx, serverId, q, max) Search the data inside PowerDNS
Search the data inside PowerDNS for search_term and return at most max_results. This includes zones, records and comments. The * character can be used in search_term as a wildcard character and the ? character can be used as a wildcard for a single character.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
serverId | string | The id of the server to retrieve | |
q | string | The string to search for | |
max | int32 | Maximum number of entries to return |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]string SearchLog(ctx, serverId, q) Query the log, filtered by search_term.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
serverId | string | The id of the server to retrieve | |
q | string | The string to search for |
[]string
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]