Add GET /api/v1/follow_requests Mastodon API endpoint

This commit is contained in:
Hypolite Petovan 2019-12-05 08:16:13 -05:00
commit 8016cb3cee
2 changed files with 85 additions and 0 deletions

View file

@ -27,6 +27,12 @@ return [
'/recovery' => [Module\TwoFactor\Recovery::class, [R::GET, R::POST]],
],
'/api' => [
'/v1' => [
'/follow_requests' => [Module\Api\Mastodon\FollowRequests::class, [R::GET ]],
],
],
'/admin' => [
'[/]' => [Module\Admin\Summary::class, [R::GET]],