Move api/profile/show to src/Module

- Update API documentation
- Update BaseApi::format to include headers by format
This commit is contained in:
Hypolite Petovan 2020-01-23 09:08:37 -05:00
commit dd24b3bac0
6 changed files with 175 additions and 234 deletions

View file

@ -35,6 +35,9 @@ return [
'/instance' => [Module\Api\Mastodon\Instance::class, [R::GET ]],
'/instance/peers' => [Module\Api\Mastodon\Instance\Peers::class, [R::GET ]],
],
'/friendica' => [
'/profile/show' => [Module\Api\Friendica\Profile\Show::class , [R::GET ]],
],
],
'/admin' => [