'Return all global and rate limit information.'

def index(self, req):

    context = req.environ['cinder.context']
    params = req.params.copy()
    req_version = req.api_version_request
    if (req_version.matches(None, '3.38') or (not context.is_admin)):
        params.pop('project_id', None)
        params.pop('tenant_id', None)
    project_id = params.get('project_id', params.get('tenant_id', context.project_id))
    quotas = QUOTAS.get_project_quotas(context, project_id, usages=False)
    abs_limits = {k: v['limit'] for (k, v) in quotas.items()}
    rate_limits = req.environ.get('cinder.limits', [])
    builder = self._get_view_builder(req)
    return builder.build(rate_limits, abs_limits)
