Added REST API for retrieving enumerated types