Greetings Atlassian,
The current query implementation is quite extensive and is a great way to write performing functionality for the lack of specific endpoints.
The documentation of mentions it supports most of the endpoints that return a paginated object
Most 2.0 API resources that return paginated collections of objects support a single, shared, generic querying language that is used to filter down a result set.
I have, however, noticed that multiple paginated endpoints do not support the query (`q=`) syntax. For example, the following endpoints will do nothing with the query syntax:
GET api.bitbucket.org/2.0/repositories/{workspace}/{slug}/deployments_config/environments/{deployment-uuid}/variables?q=secured=true
{
"page": 1,
"values": [
{
...
"secured": false
},
{
...
"secured": true
},
{
...
"secured": false
}],
...
}