## API to get collections, groups and tokens for a query ### Response ```json { success: true, result: { "query" : "imatinib", "collections" : { "total_results": 1064, "has_next_page": false, "page": 1, "data" : [ { date_created: 1545811843, title: "test crunch", user_groups: [ "admin_users" ], id: "root-test-crunch", user: "root", date_updated: 1560753757, is_public: true, relevance: 662010, tokens_count: 662010, collection_groups: [ "FootballCricket world cup", "Cricket world cup" ] }, { date_created: 1545811843, title: "Biomolecules", user_groups: [ "admin_users" ], id: "root-biomolecules", user: "root", date_updated: 1560753757, is_public: true, relevance: 662010, tokens_count: 662010, collection_groups: [ "FootballCricket world cup", "Cricket world cup" ] } ], } "tokens" : { "total_results": 10688 "has_next_page": false, "page": 1, "data" : [ { date_created: 1545811843, title: "test crunch", user_groups: [ "admin_users" ], id: "root-test-crunch", user: "root", date_updated: 1560753757 } ] }, "groups" : { "total_results": 12, "has_next_page": false, "page": 1, "data" : [ { "title" : "Mechanisms of Action", "count" : 50, "date_created" : 1560753757, "date_updated" : 1560753757," "collections": [ "root-diagnosis" ], }, { "title" : "ICD10", "count" : 10808, "date_created" : 1560753757, "date_updated" : 1560753757, "collections": [ "nfer-metabolites" ], } ] } } } ```