Getting a list of more than 20 data using REST API

Is there anyway to get more than 20 results in getting a list of documents of a certain doctype and at the same time showing only specific fields?

You can also page the results by providing the limit_start and limit_page_length params.

this page has more details.

https://frappeframework.com/docs/v13/user/en/api/rest#listing-documents

set limit to 500 to get more list item

what’s the difference of limit start and limit_page_length?

limit_start is like page number, starts from 0.
limit_page_length is size of entries in a page.

1 Like