I was going through https://experienceleague.adobe.com/docs/experience-manager-65/assets/extending/assets-api-content-fr... and found that there is a Paging available.
By default when i hit the asset API at folder level, i get default limit with 20.
Do we have an option to remove this limit and retrieve all the assets?
The Assets REST API supports paging (for GET requests) via the URL parameters:
The response will contain paging information as part of the properties section of the SIREN output. This srn:paging property contains the total number of (child) entities ( total), the offset and the limit ( offset, limit) as specified in the request.
Solved! Go to Solution.
Hi @arungm20, I do not think it is possible to remove the limit. In general you can try to increase limit value, and for some cases it will give you all the assets at once. Nevertheless I think that paging make sens e.g. in terms of performance.