Skip to main content
The First Step
March 16, 2021
Question

Get all contents without limit

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

    PhongVu
    Community Manager
    Community Manager
    March 16, 2021

    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.

    The First Step
    March 16, 2021

    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.

    PhongVu
    Community Manager
    Community Manager
    March 16, 2021

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

    Employee
    March 19, 2021

    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.