Details
-
Bug
-
Resolution: Unresolved
-
Low
-
Severity 3 - Minor
-
474
-
8
-
Description
Summary
Pagination is not working for pipelines endpoint in API 2
Steps to Reproduce
- A repo with more than 10 Pipelines builds is needed to reproduce
- Execute the following curl command:
#!curl
curl --request GET --user username:password https://api.bitbucket.org/2.0/repositories/<username>/<repo-slug>/pipelines/
Expected Results
The output returns a paginated collection with a "next" field, including the link to the next page
Actual Results
The "next" field is missing from the output.
Workaround
Add a query parameter of the page, e.g. if you want to access the 2nd page:
#!curl
curl --request GET --user username:password https://api.bitbucket.org/2.0/repositories/<username>/<repo-slug>/pipelines/?page=2
Attachments
Issue Links
- is duplicated by
-
BCLOUD-20265 API request for list of steps in pipeline build does not show next page URL
- Closed
- relates to
-
BCLOUD-15586 Pagination workaround is not working for pipelines endpoint in API 2
- Closed