Why a 2xx body is not a search result, or undefined when it is: the HAL envelope,
an object with a page object whose totalElements is a non-negative integer and,
when there are hits, _embedded.termine, an array of objects (a search without hits
has no _embedded at all). A proxy, captive portal or mirror answering null, a
string, [], {} or an error object ({"error": "rate limited"}) with HTTP 200
must not be printed as an empty result with exit 0: a script would read it as
"0 offers".
Why a 2xx body is not a search result, or
undefinedwhen it is: the HAL envelope, an object with apageobject whosetotalElementsis a non-negative integer and, when there are hits,_embedded.termine, an array of objects (a search without hits has no_embeddedat all). A proxy, captive portal or mirror answeringnull, a string,[],{}or an error object ({"error": "rate limited"}) with HTTP 200 must not be printed as an empty result with exit 0: a script would read it as "0 offers".