Allow pdns 4.0 users to use nsedit as well, by allowing to set the API version

This commit is contained in:
Mark Schouten 2015-12-17 10:04:54 +01:00
parent 319828033d
commit 59f4f1e70f
4 changed files with 24 additions and 4 deletions

8
doc/apiconf.txt Normal file
View file

@ -0,0 +1,8 @@
There are several values in config.inc.php that you MUST set for the API to work.
$apipass : The API password or API Authentication Key
$apiip : The IP on which the API is reachable
$apiport : The port on which the API is reachable. Default port is 8081
$apivers : The version of the API to use. In pre-PDNS 4.0, the API was
reachable via /. In 4.0, the path was changed to /api/v1. You do NOT set the path of the API, you set the version of the API. 0 is for pre 4.0, 1 is currently only used in 4.0.