+ get "/notifications/:id", MastodonAPIController, :get_notification
+
+ post "/media", MastodonAPIController, :upload
+ end
+
+ scope "/api/v1", Pleroma.Web.MastodonAPI do
+ pipe_through :api
+ get "/instance", MastodonAPIController, :masto_instance
+ post "/apps", MastodonAPIController, :create_app
+ get "/custom_emojis", MastodonAPIController, :custom_emojis
+
+ get "/timelines/public", MastodonAPIController, :public_timeline
+ get "/timelines/tag/:tag", MastodonAPIController, :hashtag_timeline
+
+ get "/statuses/:id", MastodonAPIController, :get_status
+ get "/statuses/:id/context", MastodonAPIController, :get_context
+ get "/statuses/:id/favourited_by", MastodonAPIController, :favourited_by
+ get "/statuses/:id/reblogged_by", MastodonAPIController, :reblogged_by
+
+ get "/accounts/:id/statuses", MastodonAPIController, :user_statuses
+ get "/accounts/:id/followers", MastodonAPIController, :followers
+ get "/accounts/:id/following", MastodonAPIController, :following
+ get "/accounts/:id", MastodonAPIController, :user
+
+ get "/search", MastodonAPIController, :search