Add media upload endpoint.

This commit is contained in:
Roger Braun 2017-09-14 08:08:32 +02:00
commit 641c24cdd4
4 changed files with 29 additions and 0 deletions

View file

@ -55,6 +55,8 @@ defmodule Pleroma.Web.Router do
post "/statuses/:id/unfavourite", MastodonAPIController, :unfav_status
get "/notifications", MastodonAPIController, :notifications
post "/media", MastodonAPIController, :upload
end
scope "/api/v1", Pleroma.Web.MastodonAPI do