@access_control.ActiveGaSuperProxyUser
  def get(self):
    query_filter = self.request.get('filter')

    if users.is_current_user_admin() and query_filter != 'owner':
      user = None
    else:
      user = users_helper.GetGaSuperProxyUser(
          users.get_current_user().user_id())

    api_queries = query_helper.ListApiQueries(user)
    hostname = self.request.host_url
    template_values = {
        'api_queries': template_helper.GetTemplateValuesForAdmin(api_queries,
                                                                 hostname),
        'query_error_limit': co.QUERY_ERROR_LIMIT,
        'revoke_token_url': '%s?revoke=true' % co.LINKS['owner_auth'],
        'oauth_url': analytics_auth_helper.OAUTH_URL
    }
    self.RenderHtmlTemplate('admin.html', template_values)
Displays a list of API Queries.
dataset/ETHPy150Open googleanalytics/google-analytics-super-proxy/src/controllers/owner.py/AdminHandler.get