Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 1.05 KB

StatsApi.md

File metadata and controls

37 lines (22 loc) · 1.05 KB

\StatsApi

All URIs are relative to http://localhost:8081/api/v1

Method HTTP request Description
GetStats Get /servers/{server_id}/statistics Query statistics.

GetStats

[]StatisticItem GetStats(ctx, serverId) Query statistics.

Query PowerDNS internal statistics. Returns a list of StatisticItem elements.

Required Parameters

Name Type Description Notes
ctx context.Context context for logging, tracing, authentication, etc.
serverId string The id of the server to retrieve

Return type

[]StatisticItem

Authorization

APIKeyHeader

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]