RESTful API can get a group from db