rate limits: add /rate_limits endpoint.
Allow users to view their own rate limits with /rate_limits.json. Note that rate limits are only updated after every API call, so this page only shows the state of the limits after the last call, not the current state.
This commit is contained in:
@@ -220,6 +220,7 @@ Rails.application.routes.draw do
|
||||
end
|
||||
end
|
||||
resources :artist_commentary_versions, :only => [:index, :show]
|
||||
resources :rate_limits, only: [:index]
|
||||
resource :related_tag, :only => [:show, :update]
|
||||
resources :recommended_posts, only: [:index]
|
||||
resources :robots, only: [:index]
|
||||
|
||||
Reference in New Issue
Block a user