Getting pagination issue in DNG
Hi team,
We are using DNG 7.0.2 SR1 version. I want to fetch all the requirements under particular category, so , I have created one view and that view contains around 2500 requirements.
I hit the GET request with below rest API to get all data under particular view:
I hit the GET request with below rest API to get all data under particular view:
https://server-name/publish/resources?projectURI=_fgDW4HsUEe2vBvDk7nWpCQ&viewURI=VW_YYCLILf4Ee2f4ruu6fFocg&oslc_config.context=https%3A%2F%2Fnexteer-clm.onclearobject.com%2Fgc%2Fconfiguration%2F340 This is getting only 100 results with no any URL for next page records.
Anyone can help me to resolve the same using Rest or OSLC API, anything would be fine
Thanks
2 answers
Have a look at https://jazz.net/wiki/bin/view/Main/RRCReportableRestAPI#Pagination and https://rsjazz.wordpress.com/2022/03/02/ewm-reportable-rest-api/ search for paging.
Comments
And please carefully read https://rsjazz.wordpress.com/2022/03/02/ewm-reportable-rest-api/ search for paging und note that the response is encoded.
See https://jazz.net/wiki/bin/view/Main/DNGReportableRestAPI
Quoted from that page:
The API supports paging of approximately 500 elements ( might change due to dependent artifacts being exposed ), check for the href entry in the response to get the next page.