From: Romuald Brunet Date: Wed, 18 May 2016 16:50:26 +0000 (+0200) Subject: Remote backend example change (types) X-Git-Tag: auth-4.0.0-beta1~21^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=feaf7bbd64082c29089d7db658134afe6d9141c8;p=pdns Remote backend example change (types) Modify the examples for `getDomainMetadata`, since the "YES" value does not currently seems to be parsed correctly by the remote backend. "1" is correctly parsed as boolean true --- diff --git a/docs/markdown/authoritative/backend-remote.md b/docs/markdown/authoritative/backend-remote.md index 9c64c17bf..a59772691 100644 --- a/docs/markdown/authoritative/backend-remote.md +++ b/docs/markdown/authoritative/backend-remote.md @@ -230,7 +230,7 @@ Query: Response: ``` -{"result":{"PRESIGNED":["NO"]}} +{"result":{"PRESIGNED":["0"]}} ``` #### Example HTTP/RPC @@ -244,7 +244,7 @@ Response: HTTP/1.1 200 OK Content-Type: text/javascript; charset=utf-8 -{"result":{"PRESIGNED":["NO"]}} +{"result":{"PRESIGNED":["0"]}} ``` ### `getDomainMetadata` @@ -262,7 +262,7 @@ Query: Response: ``` -{"result":["NO"]} +{"result":["0"]} ``` #### Example HTTP/RPC @@ -276,7 +276,7 @@ Response: HTTP/1.1 200 OK Content-Type: text/javascript; charset=utf-8 -{"result":["NO"]} +{"result":["0"]} ``` ### `setDomainMetadata`