(request, sort_by="count")
return response
API to retrieve the list of public tags ordered by count.
API to retrieve the list of public tags ordered by count.
API to retrieve the list of public tags ordered by count .
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
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