Pagination not working in REST API V8


I am trying to get records form leads modules i have used pagination parameter in get request but it 's not working.

uri: '[number]=3&page[size]=1

I have also tried page limit but still not working . only 20 records display i have console response but not getting total-pages meta.

Anyone please suggest possible solution for pagination.


can you share your full code