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.
It looks like you're new here. Sign in or register to get started.