1
0
Fork 0

API: Added endpoints /instance and /instance/peers

This commit is contained in:
Michael 2019-12-10 21:27:09 +00:00
commit 1958bde4c0
4 changed files with 119 additions and 0 deletions

View file

@ -30,6 +30,8 @@ return [
'/api' => [
'/v1' => [
'/follow_requests' => [Module\Api\Mastodon\FollowRequests::class, [R::GET ]],
'/instance' => [Module\Api\Mastodon\Instance::class, [R::GET]],
'/instance/peers' => [Module\Api\Mastodon\Instance\Peers::class, [R::GET]],
],
],