end
pipeline :well_known do
- plug(:accepts, ["json", "jrd+json", "xml", "xml+xrd"])
+ plug(:accepts, ["json", "jrd+json", "xml", "xrd+xml"])
end
pipeline :config do
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)