From: Aki Tuomi Date: Sat, 8 Feb 2014 22:05:14 +0000 (+0200) Subject: Documentation for remotebackend X-Git-Tag: rec-3.6.0-rc1~179^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7ef627303cec426bf0971f803bdd4a4aa21ed874;p=thirdparty%2Fpdns.git Documentation for remotebackend --- diff --git a/pdns/docs/pdns.xml b/pdns/docs/pdns.xml index ef6ce270b2..256206f846 100644 --- a/pdns/docs/pdns.xml +++ b/pdns/docs/pdns.xml @@ -20355,6 +20355,67 @@ the ordered list. Do not return nil for either one. +Method: getDomainMetadata + + + Mandatory: + No + + + Parameters: + name + + + Reply: + hash of key to array of strings + + + Description + +Returns the value(s) for variable kind for zone name. You *must* always return +something, if there are no values, you shall return empty set or false. + + + + Example JSON/RPC: + + + Query: + +{"method":"getalldomainmetadata", "parameters":{"name":"example.com"}} + + + + Response: + +{"result":{"PRESIGNED":["NO"]}} + + + + + + Example HTTP/RPC: + + + Query: + +GET /dnsapi/getalldomainmetadata/example.com HTTP/1.1 + + + + Response: + +HTTP/1.1 200 OK +Content-Type: text/javascript; charset=utf-8 + +{"result":{"PRESIGNED":["NO"]}} + + + + + + + Method: getDomainMetadata