updated api docs.

This commit is contained in:
Shreyas Zare
2021-09-12 17:16:22 +05:30
parent 3dfc6df912
commit d795ab167e

View File

@@ -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.