]> granicus.if.org Git - pdns/commitdiff
Remote backend example change (types)
authorRomuald Brunet <romuald@gandi.net>
Wed, 18 May 2016 16:50:26 +0000 (18:50 +0200)
committerRomuald Brunet <romuald@gandi.net>
Wed, 18 May 2016 16:50:26 +0000 (18:50 +0200)
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

docs/markdown/authoritative/backend-remote.md

index 9c64c17bfe76819fc8d4c512135a6f10ce30906e..a597726915612edf80b28a805d42f3e71dcf3e5b 100644 (file)
@@ -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`