parameters: (request, sort_by="count")
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 tag_list_api(request, sort_by="count"):
      """
      API to retrieve the list of public tags ordered by count.
      """
      response = public_tag_list(sort_by)
      response = jsonResponse(response, callback=request.GET.get("callback", None))
      response["Cache-Control"] = "max-age=3600"
      return response
function_tokens: def tag_list_api ( request , sort_by = "count" ) : response = public_tag_list ( sort_by ) response = jsonResponse ( response , callback = request . GET . get ( "callback" , None ) ) response [ "Cache-Control" ] = "max-age=3600" return response