[API] Added pagination example to the search method documentation

Closes #47