Implement the bundles-containing API endpoint.

Actually that usage is not improper, but we should definitely have some test cases for it.