Copy link to clipboard
Copied
I'm using Adobe Captivate prime v2. And I'm using
GET /learningObjects to get learning objects by catalog id. On the first call, my app loads the first 10 items in the catalog and gives me a `next` link, to implement pagination. After the second call with `page[cursor]` with the link an API returns me items and a new `next` link which is broken.
{
"links": {
"self": "https://captivateprime.adobe.com/primeapi/v2/learningObjects?page[limit]=10&filter.loTypes=course&sort=name&filter.catalogIds=117651&page[cursor]=https://captivateprime.adobe.com/primeapi/v2/learningObjects?page[limit]=10&filter.loTypes=course&sort=name&filter.catalogIds=117651&page[cursor]=nc_0b032c06-3ef8-4ecf-8017-ba702c33ad64;10",
"next": "https://captivateprime.adobe.com/primeapi/v2/learningObjects?page[limit]=10&filter.loTypes=course&sort=name&filter.catalogIds=117651&page[cursor]=https://captivateprime.adobe.com/primeapi/v2/learningObjects?page[limit]=10"
}
}
As we see that the new `next` link refer to the first page. And pagination doesn't work. We can load only fist 2 pages.
Copy link to clipboard
Copied
Hi,
Thank you for contacting Adobe Captivate Prime Team.
I would request you kindly reach us on one of the support channels in the link below.
We can schedule a meeting and check the issue for you.
https://helpx.adobe.com/contact/enterprise-support.other.html#captivate-prime
Regards,
Debiprasad Maharana
Adobe Inc.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now