Simplify the bundles-containing base query. Also return a bad request if flags are invalid.
Add a bundles-containing test with partial charm URLs.
Refactor the bundles-including endpoint include error test.
Implement a more direct way to filter the entities in the bundles-containing API endpoint.