You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the biggest part of the project I'm using this library to fetch data. But for fetching pipeline data I have had to implement the request myself. I had to do this because the current implementation returns the 10 oldest pipelines but I want to get the newest pipelines. This can be achieved by adding &sort=-created_on to the request url.
These options are not documented but they were found by checking the http request done by Atlassians own API. There are a few more filter options available such as branch name but I have no interest in them.
For the biggest part of the project I'm using this library to fetch data. But for fetching pipeline data I have had to implement the request myself. I had to do this because the current implementation returns the 10 oldest pipelines but I want to get the newest pipelines. This can be achieved by adding
&sort=-created_on
to the request url.These options are not documented but they were found by checking the http request done by Atlassians own API. There are a few more filter options available such as branch name but I have no interest in them.
Example request URL:
Official API: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/pipelines/#get
If you are ok with adding (some of) these options I can create a pull request to implement it.
The text was updated successfully, but these errors were encountered: