Question

Get all contents without limit

  • 16 March 2021
  • 4 replies
  • 306 views

I would like to get the contents with the route .../1.0/contents and the results are limited to 30. How can I access to the others results ?

Thank you.


4 replies

Userlevel 1

What kind of content? And where do you get the 30 limit? Please ask with a clear question with a little background info so I can help.

Thank you to answer me Phong Vu.

I use Postman to make requests to the API to get content (https://developers.ringcentral.com/engage/digital/api-reference/Contents/getAllContents).

And as you can see below, the default limit is 30 (150 max when I precise it).capture-decran-2021-03-16-a-194049.pngIt's usual to have a limit but I can't find how I can do to access to the others results.

Thank you for your help.

Userlevel 1

Thanks. Someone from the Engage team will help you with this.

Try using the "offset". Let's say the limit is 30. Then you can invoke the API again with "offset": 31. To get the next 30 just up the offset so the next 30 is "offset": 61.

Reply