I am using API to find the list of layouts, I have more than 10 layouts. However, the API just sends me the 10 first layouts on the list.
How can I have all of them?
You should using paging to go through the results - the CMS outputs paging headers containing next/prev links (as described here).
You can control the page size with the length
paramter.
1 Like
Is it just for layouts, or should I do the same for media and displays?
Most get
requests are paged - you should check for the headers to see if paging is enabled or not. Definitely yes for media/displays