I try to pull some stats from several instances. There is the /stats/ endpoint in the API, but it lacks some nunmbers.
So I used this way: GET /contacts?minimal=true&limit=1
Which gives me the total number. As I’m not interested in the rest, I can reduce the body by the minimal flag and by using limit. When I set limit=0, I get all records. When I set it to 1, at least only get 1.
But I want to get no contacts at all. Shouldn’t limit=0 in this case deliver zero records? If I don’t want to limit, I just don’t use the parameter at all?
Is there another value possible, that really returns 0 records in the response?