API: Added endpoints /instance and /instance/peers
This commit is contained in:
parent
9c1f652008
commit
1958bde4c0
4 changed files with 119 additions and 0 deletions
|
@ -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]],
|
||||
],
|
||||
],
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue