MastoAPI: Add GET /api/v1/polls/:id

This commit is contained in:
rinpatch 2019-05-21 20:40:35 +03:00
commit 63b0b7190c
4 changed files with 69 additions and 0 deletions

View file

@ -423,6 +423,8 @@ defmodule Pleroma.Web.Router do
get("/statuses/:id", MastodonAPIController, :get_status)
get("/statuses/:id/context", MastodonAPIController, :get_context)
get("/polls/:id", MastodonAPIController, :get_poll)
get("/accounts/:id/statuses", MastodonAPIController, :user_statuses)
get("/accounts/:id/followers", MastodonAPIController, :followers)
get("/accounts/:id/following", MastodonAPIController, :following)