From 38e44a87a81601a75fc75bca091fa2f29ad823a6 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Wed, 24 Jun 2015 22:24:16 +0200 Subject: [PATCH] docs: A little more on how to enable the API --- docs/markdown/authoritative/settings.md | 6 ++++++ docs/markdown/httpapi/api_spec.md | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/markdown/authoritative/settings.md b/docs/markdown/authoritative/settings.md index d01099f1ac..dff03e2583 100644 --- a/docs/markdown/authoritative/settings.md +++ b/docs/markdown/authoritative/settings.md @@ -268,6 +268,12 @@ doubles query load. **Do not combine with DNSSEC!** Enable/Disable DNS update (RFC2136) support. +## `experimental-json-interface` +* Boolean +* Default: no + +Enable/disable the [JSON API](../httpapi/README.md). + ## `forward-dnsupdates` * Boolean * Default: no diff --git a/docs/markdown/httpapi/api_spec.md b/docs/markdown/httpapi/api_spec.md index b964a73d68..9a8022752f 100644 --- a/docs/markdown/httpapi/api_spec.md +++ b/docs/markdown/httpapi/api_spec.md @@ -59,8 +59,9 @@ Action/Execute methods return a JSON body of this format: Authentication -------------- -The PowerDNS daemons accept a static API Key, which has to be sent in the -`X-API-Key` header. +The PowerDNS daemons accept a static API Key, configured with the +[`experimental-api-key`]('../authoritative/settings.md#experimental-api-key') +option, which has to be sent in the `X-API-Key` header. Note: Authoritative Server 3.4.0 and Recursor 3.6.0 and 3.6.1 use HTTP Basic Authentication instead. -- 2.47.2