add api to list groups of a category