'Get a list of heat services.'

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

    if api.base.is_service_enabled(request, 'orchestration'):
        result = api.heat.service_list(request)
        return {'items': [u.to_dict() for u in result]}
    else:
        raise rest_utils.AjaxError(501, '')
