[Spce-user] Api Paging/Offset

Alex Lutay alutay at sipwise.com
Tue Aug 18 12:28:57 EDT 2020


Hi,

Try to use GET parameters described in API documentation:

> GET /subscribers/    Get Subscriber items
> ...> page   integer
> Pagination page which should be displayed (default: 1)
> 
> rows   integer
> Number of rows in one pagination page (default: 10)

You can find REST API documentation on your NGCP server:
https://x.x.x.x:1443/api/

Have fun!

On 8/18/20 4:05 PM, Ml Ml via Spce-user wrote:
> Hello,
> 
> how does the API Offset/Paging work?
> 
> /api/subscribers/?limit=20&offfset=0
>   shows the same results as:
> /api/subscribers/?limit=20&offfset=100
> 
> I have about 3000 records. If i use limit >= 500 i get a nginx
> timeout. So i guess i need to fetch the stuff in pages?
> 
> Cheers,
> Michael.
> 

-- 
Alex Lutay



More information about the Spce-user mailing list