MastoAPI: Add GET /api/v1/polls/:id
This commit is contained in:
parent
ff61d34502
commit
63b0b7190c
4 changed files with 69 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue