]> granicus.if.org Git - pdns/commit
API: clean up cryptokeys resource
authorChristian Hofstaedtler <christian.hofstaedtler@deduktiva.com>
Tue, 29 Dec 2015 13:17:32 +0000 (14:17 +0100)
committerChristian Hofstaedtler <christian.hofstaedtler@deduktiva.com>
Mon, 4 Apr 2016 07:08:13 +0000 (09:08 +0200)
commit29704f6624be738b2950c92b7e008fc5c1eb06d0
tree47c673da735875be2356f864fc851cfb20a0787a
parent13506cd4ff94a825929135d2d48d6064b6e68a62
API: clean up cryptokeys resource

Treat domain not found as a normal not found; treat all keys
absent for single resource request as a normal not found;
return an object instead of a single-valued list for single
resource requests and rename "content" to "privatekey"
and don't re-read the key from the backend.

Also share UeberBackend with DNSSECKeeper to avoid extra
backend connection.
docs/markdown/httpapi/api_spec.md
pdns/ws-auth.cc