How to iterate through all pipelines using the Bitbucket REST API v2?

Alejandro Villamarin Moncayo April 4, 2018

I'm using the REST API V2 to retrieve the pipelines from  a repository (/2.0/repositories/{username}/{repo_slug}/pipelines/). The response contains the first 10 builds but there is  not "next" link to retrieve the next 10 builds.

1 answer

0 votes
pylipp March 13, 2020

Does it help you to define the number of pipelines to fetch in advance using the `pagelen` parameter (i.e. append `?pagelen=100` to the URL)?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events