0

I'm using bitbucket API 2.0 to fetch the repositories sorted desc by updated_on. But both of these requests, result in same list

https://api.bitbucket.org/2.0/repositories?role=member&sort=-updated_on&pagelen=1

This gets the below next URL and it outputs the same result

https://api.bitbucket.org/2.0/repositories?role=member&sort=-updated_on&pagelen=1&after=2021-08-30T05:41:46.521002+00:00

Do we not have pagination supported with sorting in bitbucket? The above requests work fine without sort query param.

Abhishek
  • 539
  • 5
  • 25

0 Answers0