From 7cd08e1b38e7229b5e14d4e935f002ef0d7a2424 Mon Sep 17 00:00:00 2001 From: garfield69 Date: Wed, 9 Feb 2022 18:48:10 +1300 Subject: [PATCH] Updated Definition format (markdown) --- Definition-format.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Definition-format.md b/Definition-format.md index 7c1edf0..1776f7a 100644 --- a/Definition-format.md +++ b/Definition-format.md @@ -609,10 +609,6 @@ search: response: # [REQUIRED] indicates that a JSON response is expected type: json - # [OPTIONAL] If the torrents are in separate subset - 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 @@ -629,6 +625,10 @@ search: # [REQUIRED] This is the where you define how to find the row sets that contain the torrent fields # You can use the $ symbol to refer to the root object. selector: data.movies + # [OPTIONAL] If the torrents are in separate subset + attribute: torrents + # [OPTIONAL] If there are multiple torrents per title + multiple: true # [OPTIONAL] If the response contains a field that indicates the number of hits returned, # then you define that field in the count block selector, so that if the response had a # count of 0 if would indicate a results not found condition.