'Get Metadata definitions resource types list.
The listing result is an object with property "items". Each item is
a resource type.
Example GET:
http://localhost/api/glance/resourcetypes/
Any request parameters will be passed through the API as filters.'

@rest_utils.ajax()
def get(self, request):

    return {'items': [resource_type for resource_type in api.glance.metadefs_resource_types_list(request)]}
