From d795ab167ec1b78eb38b56e42eef02c6ccaec67e Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sun, 12 Sep 2021 17:16:22 +0530 Subject: [PATCH] updated api docs. --- APIDOCS.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/APIDOCS.md b/APIDOCS.md index 716ddc88..b965d00d 100644 --- a/APIDOCS.md +++ b/APIDOCS.md @@ -2619,7 +2619,7 @@ RESPONSE: Queries for logs to a specified DNS app. URL: -`http://localhost:5380/api/queryLogs?token=x&name=AppName&classPath=AppClassPath&=pageNumber=1&entriesPerPage=10&start=yyyy-MM-dd HH:mm:ss&end=yyyy-MM-dd HH:mm:ss&clientIpAddress=&protocol=&responseType=&rcode=&qname=&qtype=&qclass=` +`http://localhost:5380/api/queryLogs?token=x&name=AppName&classPath=AppClassPath&=pageNumber=1&entriesPerPage=10&descendingOrder=true&start=yyyy-MM-dd HH:mm:ss&end=yyyy-MM-dd HH:mm:ss&clientIpAddress=&protocol=&responseType=&rcode=&qname=&qtype=&qclass=` WHERE: - `token`: The session token generated by the `login` call. @@ -2627,6 +2627,7 @@ WHERE: - `classPath`: The class path of the DNS app. - `pageNumber` (optional): The page number of the data set to retrieve. - `entriesPerPage` (optional): The number of entries per page. +- `descendingOrder` (optional): Orders the selected data set in descending order. - `start` (optional): The start date time in `yyyy-MM-dd HH:mm:ss` format to filter the logs. - `end` (optional): The end date time in `yyyy-MM-dd HH:mm:ss` format to filter the logs. - `clientIpAddress` (optional): The client IP address to filter the logs.