API endpoint for retrieving collections (bug 894587)