Details
-
Suggestion
-
Resolution: Unresolved
-
None
Description
Issue Summary
The assets API is missing some parameters which would help with pagination.
GET /rest/assetapi/asset
Ref.: https://developer.atlassian.com/cloud/assetsapi/rest/api-group-assets/#api-asset-search-get
This is reproducible on Data Center: (yes) / (no)
Steps to Reproduce
- make a request to the assets API as https://mydomain.atlassian.net/rest/assetapi/asset?start=10&limit=10
Expected Results
The API should return a link to the "next page"
Actual Results
The API returns the "isLastPage" parameter, but that is not helpful.
Workaround
The workaround for it would be to continue calling the API until you get the "isLastPage":true flag in the response