Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Paggination is broken for a catalog. Captivate Prime API v2

New Here ,
Feb 08, 2021 Feb 08, 2021

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.

 

 

TOPICS
Course catalog , Course instances
196
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Feb 10, 2021 Feb 10, 2021
LATEST

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.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources