]> granicus.if.org Git - pdns/commit
JSON API: provide flush-cache, notify, axfr-receive
authorChristian Hofstaedtler <christian@hofstaedtler.name>
Sun, 25 Jan 2015 21:16:08 +0000 (22:16 +0100)
committerChristian Hofstaedtler <christian@hofstaedtler.name>
Sun, 25 Jan 2015 21:50:45 +0000 (22:50 +0100)
commita426cb895b3cc4ef6b9d75d9dee90114faa4e663
tree78d37a91f2df676f13072ac0ec559de5bba78c8c
parentcc59bce675e62e2b9657b42614ce8be3312cae82
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 and leaves only non-migrated
commands in jsonstat in Recursor.
docs/markdown/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