Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Alejandro Villamarin Moncayo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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