From: lambda Date: Thu, 14 Jun 2018 07:19:36 +0000 (+0000) Subject: Merge branch 'feature/twitterapi-unrepeat' into 'develop' X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=8c7fdcb31b1255f91493b8f2e0f86dfbbfa2ac85;p=akkoma Merge branch 'feature/twitterapi-unrepeat' into 'develop' Add TwitterAPI unretweet endpoint and cleanup AP.unannounce See merge request pleroma/pleroma!218 --- 8c7fdcb31b1255f91493b8f2e0f86dfbbfa2ac85 diff --cc lib/pleroma/web/router.ex index 0e6369147,95627f8fd..1c1c26c56 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@@ -244,12 -238,9 +244,13 @@@ defmodule Pleroma.Web.Router d post("/statuses/update", TwitterAPI.Controller, :status_update) post("/statuses/retweet/:id", TwitterAPI.Controller, :retweet) + post("/statuses/unretweet/:id", TwitterAPI.Controller, :unretweet) post("/statuses/destroy/:id", TwitterAPI.Controller, :delete_post) + get("/pleroma/friend_requests", TwitterAPI.Controller, :friend_requests) + post("/pleroma/friendships/approve", TwitterAPI.Controller, :approve_friend_request) + post("/pleroma/friendships/deny", TwitterAPI.Controller, :deny_friend_request) + post("/friendships/create", TwitterAPI.Controller, :follow) post("/friendships/destroy", TwitterAPI.Controller, :unfollow) post("/blocks/create", TwitterAPI.Controller, :block)