The bitbucket API docs describe a querying language and mention that only some endpoints support it. I think I just spent an hour trying to use the pipelines/ endpoint with that query language. I'm starting to think it doesn't support it.
I looked at the linked open api spec and it doesn't include query parameters for the list pipelines endpoint. If the pipelines endpoint doesn't support the query language, how am I supposed to learn how to query it?
EDIT: I found this related question without an answer: How can I see all parameters for a REST API resource?
Hi Dylan and welcome to the community.
For API endpoints that don't support filtering, you can get the response from the API call and then use another tool that filters JSON data to filter it.
jq is an example of such a tool:
Kind regards,
Theodora
Hello @Dylan Landry
The pipelines endpoint of Bitbucket Cloud currently doesn't support filtering.
Refer to BCLOUD-14000
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.