API response limit?

Hi everyone,
I am trying to get the video information in postman. I have more than 100 videos in my database. However, when i run this https://example.com/api/v1/videos I get 15 responses only. Is there somewhere PeerTube is applying the number of response limit?

Have you read the documentation?

There are two parameters to deal with pagination: count and start (and to be sure to be consistent, use a specific sort parameter).

1 Like

In the documentation i find that the maximum count is limited to 100 only. Is there anywhere i can configure the custom count limit in PeerTube??

Just loop on the results. Asking too much lines per request could be a performance problem (that’s true for every API call on any technology/platform/service, not only for peertube).

Thanks for sharing such great information. It’s really helpful for shopping API configuration and implementation.

2 Likes

I agree with you as well. It’s ideal for tailoring API to your project’s needs wilbur soot merch.