diff --git a/Definition-format.md b/Definition-format.md index 70b10be..08363ea 100644 --- a/Definition-format.md +++ b/Definition-format.md @@ -603,6 +603,7 @@ search: rows: # [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 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 @@ -610,7 +611,7 @@ search: # If the response uses an empty set [] to signify a no results found state, then don't use the count block. count: # [REQUIRED] IF you have defined the Count block then you need to provide the field that has the count. - # You can use the $ symbol to refer to the root object, for example: $[0].found_total + # You can use the $ symbol to refer to a root object field, for example: $[0].id selector: data.movie_count # [REQUIRED] list of attributes which are extracted for each row