From ed3f904b07466d3fc5f76b958117d1719bd0f276 Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sat, 30 Apr 2022 16:24:14 +0530 Subject: [PATCH] updated api docs. --- APIDOCS.md | 47 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/APIDOCS.md b/APIDOCS.md index 20a12407..68b5e1ac 100644 --- a/APIDOCS.md +++ b/APIDOCS.md @@ -2361,6 +2361,26 @@ WHERE: RESPONSE: ``` { + "response": { + "zone": { + "name": "example.com", + "type": "Primary", + "internal": false, + "dnssecStatus": "SignedWithNSEC", + "disabled": false + }, + "addedRecord": { + "disabled": false, + "name": "example.com", + "type": "A", + "ttl": 3600, + "rData": { + "ipAddress": "3.3.3.3" + }, + "dnssecStatus": "Unknown", + "lastUsedOn": "0001-01-01T00:00:00" + } + }, "status": "ok" } ``` @@ -3018,7 +3038,32 @@ WHERE: RESPONSE: ``` { - "response": {}, + "response": { + "zone": { + "name": "example.com", + "type": "Primary", + "internal": false, + "dnssecStatus": "SignedWithNSEC", + "disabled": false + }, + "updatedRecord": { + "disabled": false, + "name": "example.com", + "type": "SOA", + "ttl": 900, + "rData": { + "primaryNameServer": "server1.home", + "responsiblePerson": "hostadmin.example.com", + "serial": 75, + "refresh": 900, + "retry": 300, + "expire": 604800, + "minimum": 900 + }, + "dnssecStatus": "Unknown", + "lastUsedOn": "0001-01-01T00:00:00" + } + }, "status": "ok" } ```