]> git.ipfire.org Git - thirdparty/pdns.git/commit
JSON API: provide flush-cache, notify, axfr-receive 2139/head
authorChristian Hofstaedtler <christian@hofstaedtler.name>
Sun, 25 Jan 2015 21:16:08 +0000 (22:16 +0100)
committerChristian Hofstaedtler <christian@hofstaedtler.name>
Mon, 26 Jan 2015 18:56:07 +0000 (19:56 +0100)
commitf6487526a80d337a75c5f125bd1e0fa4a5cefbf5
tree1cd359592abd4b89499afb5eff083c144d1ef784
parent7cbcd323d822ed6c3c3827d5029650fc80c6ec2d
JSON API: provide flush-cache, notify, axfr-receive

pdnscontrol used to send pdns/rec-control commands for those through
the jsonstat command tunnel, but jsonstat (on Auth at least) doesn't
do X-API-Key, so that functionality was broken.

Also removes jsonstat from Auth completely.

Cherry-pick conflicts:
pdns/ws-recursor.cc (kept jsonstat as is)
pdns/docs/httpapi/api_spec.md
pdns/json.cc
pdns/json.hh
pdns/ws-auth.cc
pdns/ws-recursor.cc
regression-tests.api/test_Servers.py
regression-tests.api/test_Zones.py