Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can Bitbucket REST API return pipelines in reverse-chronological order?

Jonah Philibert June 3, 2022

Is it possible to call GET /2.0/repositories/{workspace}/{repo_slug}/pipelines/ so that the results are returned in reverse chronological order? For long-running pipelines, it's unworkable to have to retrieve every pipeline to find the latest few, so I was surprised the REST API docs made no mention of it.
It would be great to have this option, though alternately, the ability to filter which pipelines are returned would also serve a similar use. 

1 answer

1 accepted

0 votes
Answer accepted
Jonah Philibert June 3, 2022

though the docs do not mention it for this particular endpoint, it does accept filtering

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events