Open suttonbradley opened 2 months ago
Yeah, unfortunately the format of the filters
field is not documented in the Azure DevOps documentation :-(
The only document I could find is this example code search request, which includes a filters
value.
I tested specifying a target repository and branch, and got this working. I have updated the search_code
example with the code to demonstrate how to do it:
I hope this helps!
Looking at the docs for
CodeSearchRequest
and the nestedEntitySearchRequest
andEntitySearchRequestBase
, it doesn't appear that there's an option for filtering code search on target repository or branch, besides maybe thefilters
field onEntitySearchRequestBase
, which is just an undocumentedserde_json::Value
.Is it possible to get more documentation, if this filtering exists, or to have those features added if not?