Next value not available in pipelines API

I'm trying to use the pipleline API in bitbucket cloud using the URL: https://api.bitbucket.org/2.0/repositories/{user}/{repo_slug}/pipelines/?access_token={token here}

 

The JSON response does not contain the next key even though there are 236 records with a page size of 10 (so there are 24 pages).

Response (truncated for brevity)

{
"pagelen": 10,
"values": [{... results here}],
"page": 1,
"size": 236
}

 

I would like to iterate over the pages to retrieve all the results.

 

Am I missing any parameter? I could not find anything more in the documentaton at https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/pipelines/

 

Any help is much appreciated.

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

433 views 6 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you