MastoAPI: Add update credentials endpoint.

This commit is contained in:
eal 2017-11-12 00:27:09 +02:00
commit fc7483cb3c
3 changed files with 102 additions and 0 deletions

View file

@ -53,6 +53,7 @@ defmodule Pleroma.Web.Router do
scope "/api/v1", Pleroma.Web.MastodonAPI do
pipe_through :authenticated_api
patch "/accounts/update_credentials", MastodonAPIController, :update_credentials
get "/accounts/verify_credentials", MastodonAPIController, :verify_credentials
get "/accounts/relationships", MastodonAPIController, :relationships
get "/accounts/search", MastodonAPIController, :account_search