Notify remote users about mentions

This commit is contained in:
Eugen Rochko
2016-02-24 18:44:03 +01:00
parent 79609d6270
commit c967802c43
3 changed files with 41 additions and 5 deletions

View File

@@ -3,11 +3,11 @@ module Mastodon
version 'v1', using: :path
format :json
resource :statuses do
resource :timelines do
desc 'Return a public timeline'
get :all do
present Status.all, with: Mastodon::Entities::Status
get :public do
# todo
end
desc 'Return the home timeline of a logged in user'