Merge branch 'refactor/subscription' into 'develop'
Refactor subscription functionality Closes #1130 See merge request pleroma/pleroma!1664
This commit is contained in:
commit
eb9aa7aa10
14 changed files with 708 additions and 9 deletions
|
|
@ -293,6 +293,14 @@ defmodule Pleroma.Web.Router do
|
|||
pipe_through(:oauth_read)
|
||||
get("/conversations/:id/statuses", PleromaAPIController, :conversation_statuses)
|
||||
get("/conversations/:id", PleromaAPIController, :conversation)
|
||||
|
||||
scope "/subscription_notifications" do
|
||||
post("/clear", SubscriptionNotificationController, :clear)
|
||||
post("/dismiss", SubscriptionNotificationController, :dismiss)
|
||||
delete("/destroy_multiple", SubscriptionNotificationController, :destroy_multiple)
|
||||
get("/", SubscriptionNotificationController, :index)
|
||||
get("/:id", SubscriptionNotificationController, :show)
|
||||
end
|
||||
end
|
||||
|
||||
scope [] do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue