A REST API that returns the legends information, and can return all legends that fall under the same class.