routes: remove legacy /user/index and /artist/index API endpoints.
These endpoints get zero traffic.
This commit is contained in:
@@ -1 +0,0 @@
|
||||
[<%= raw @artists.map(&:to_json).join(",") %>]
|
||||
@@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<artists type="array">
|
||||
<% @artists.each do |artist| %>
|
||||
<artist group_name="<%= artist.group_name %>" other_names="<%= artist.other_names %>" urls="<%= artist.urls.map {|x| x.url}.join(" ") %>" is_active="<%= !artist.is_deleted? %>" name="<%= artist.name %>" updater_id="0" id="<%= artist.id %>" version="0"/>
|
||||
<% end %>
|
||||
</artists>
|
||||
@@ -1 +0,0 @@
|
||||
[<%= @users.map {|x| x.to_legacy_json}.join(", ").html_safe %>]
|
||||
@@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<users type="array">
|
||||
<% @users.each do |user| %>
|
||||
<user name="<%= user.name %>" id="<%= user.id %>" created_at="<%= user.created_at.strftime('%Y-%m-%d %H:%M') %>" level="<%= user.level %>"></user>
|
||||
<% end %>
|
||||
</users>
|
||||
Reference in New Issue
Block a user