Getting all the assets in a folder using Assets API without specifying limit
Hi Team,
I was going through https://experienceleague.adobe.com/docs/experience-manager-65/assets/extending/assets-api-content-fragments.html?lang=en 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?
- properties:{
- srn:paging:{
- total: 38,
- offset: 0,
- limit: 20
Paging
The Assets REST API supports paging (for GET requests) via the URL parameters:
- offset - the number of the first (child) entity to retrieve
- limit - the maximum number of entities returned
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.
Thanks