parameters: (request, user_id)
return_statement: return response
docstring: API to retrieve the list of public tags ordered by count.
docstring_summary: API to retrieve the list of public tags ordered by count.
docstring_tokens: API to retrieve the list of public tags ordered by count .
function: def user_tag_list_api(request, user_id):
      """
      API to retrieve the list of public tags ordered by count.
      """
      #if int(user_id) != request.user.id:
          #return jsonResponse({"error": "You are not authorized to view that."})
      response = sheet_topics_counts({"owner": int(user_id)})
      response = jsonResponse(response, callback=request.GET.get("callback", None))
      response["Cache-Control"] = "max-age=3600"
      return response
function_tokens: def user_tag_list_api ( request , user_id ) : #if int(user_id) != request.user.id: #return jsonResponse({"error": "You are not authorized to view that."}) response = sheet_topics_counts ( { "owner" : int ( user_id ) } ) response = jsonResponse ( response , callback = request . GET . get ( "callback" , None ) ) response [ "Cache-Control" ] = "max-age=3600" return response