#NEWLINE# @ access_control . OwnerRestricted #NEWLINE# @ access_control . ValidXsrfTokenRequired #NEWLINE# @ access_control . ActiveGaSuperProxyUser #NEWLINE# def post( self ) : #NEWLINE# #INDENT# 'Refreshes the API Query Response.' #NEWLINE# query_id = self . request . get ( 'query_id' ) #NEWLINE# api_query = query_helper . GetApiQuery ( query_id ) #NEWLINE# if api_query : #NEWLINE# #INDENT# query_helper . RefreshApiQueryResponse ( api_query_links ) #NEWLINE# api_query_links = template_helper . GetLinksForTemplate ( api_query , self . request . host_url ) #NEWLINE# self . redirect ( api_query_links . get ( 'manage_link' , '/' ) ) #NEWLINE# return #NEWLINE# #UNINDENT# self . redirect ( co . LINKS [ 'owner_index' ] )