MastoAPI: Add notification get, clear and dismiss.
This commit is contained in:
parent
ccde03285d
commit
e6a78c6ed0
5 changed files with 213 additions and 18 deletions
|
|
@ -82,7 +82,10 @@ defmodule Pleroma.Web.Router do
|
|||
post "/statuses/:id/favourite", MastodonAPIController, :fav_status
|
||||
post "/statuses/:id/unfavourite", MastodonAPIController, :unfav_status
|
||||
|
||||
post "/notifications/clear", MastodonAPIController, :clear_notifications
|
||||
post "/notifications/dismiss", MastodonAPIController, :dismiss_notification
|
||||
get "/notifications", MastodonAPIController, :notifications
|
||||
get "/notifications/:id", MastodonAPIController, :get_notification
|
||||
|
||||
post "/media", MastodonAPIController, :upload
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue