From 999931d3c4a0962a1f4ef7e009b24ec9540b8429 Mon Sep 17 00:00:00 2001 From: garfield69 Date: Mon, 25 Oct 2021 12:41:49 +1300 Subject: [PATCH] Updated Definition format (markdown) --- Definition-format.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Definition-format.md b/Definition-format.md index 08363ea..e9ef324 100644 --- a/Definition-format.md +++ b/Definition-format.md @@ -594,6 +594,11 @@ search: attribute: torrents # [OPTIONAL] If there are multiple torrents per title multiple: true + # [OPTIONAL] In the event that a server responds to a query-not-found with a message instead of + # the more common empty json object or a Count set to 0, you can code the message here and prevent + # the "Exception (indexer): Object reference not set to an instance of an object." error and have + # the more traditional "0 Results Found" state instead. + NoResultsMessage: "nothing found message from server" inputs: # Specify whichever query parameters the API is prepared to accept as valid. Some examples below.