twitter api: add friend requests list api

This commit is contained in:
William Pitcock 2018-05-29 15:30:06 +00:00
commit e08cf21e5b
2 changed files with 11 additions and 0 deletions

View file

@ -247,6 +247,8 @@ defmodule Pleroma.Web.Router do
post("/statuses/retweet/:id", TwitterAPI.Controller, :retweet)
post("/statuses/destroy/:id", TwitterAPI.Controller, :delete_post)
get("/pleroma/friend_requests", TwitterAPI.Controller, :friend_requests)
post("/friendships/create", TwitterAPI.Controller, :follow)
post("/friendships/destroy", TwitterAPI.Controller, :unfollow)
post("/blocks/create", TwitterAPI.Controller, :block)