Get all records of module using REST API V8

Hello,

I am trying to get all leads module records using rest API v8 but it return only 20 records. I have pass page number and page size but it still return 20 records only.

uri: 'http://example.com/api/v8/modules/Leads?page[number]=3&page[size]=50',

Is there any way to get all records.

Thanks