feat(doApiQuery): add check for the limitation of 20000 records

- add functionnality and test

Closes ##5
2 jobs for master in 1 minute and 44 seconds (queued for 9 seconds)
Status Name Job ID Coverage
  Check
passed check #192453
docker

00:00:58

 
  Website
passed website #192454
docker

00:00:46