Pagination with the stream api

Is there a way to use pagination with the stream api?

I have tried this and it doesn’t work.

 curl -X GET "https://api.cloudflare.com/client/v4/accounts/{account id}/stream?page=1&per_page=2&order=type&direction=asc" \
     -H "Authorization: Bearer {token}" \
     -H "Content-Type: application/json"

Any suggestions?

From https://api.cloudflare.com/#stream-videos-list-videos :

Please note that Cloudflare Stream does not use pagination, instead it uses a cursor pattern to list more than 1000 videos.

1 Like

Great thankyou

1 Like