1
0
Fork 0

API: Support for the "directory" endpoint

This commit is contained in:
Michael 2020-09-01 19:29:39 +00:00
commit 7be6fbf652
2 changed files with 73 additions and 0 deletions

View file

@ -49,6 +49,7 @@ return [
'/api' => [
'/v1' => [
'/custom_emojis' => [Module\Api\Mastodon\CustomEmojis::class, [R::GET ]],
'/directory' => [Module\Api\Mastodon\Directory::class, [R::GET ]],
'/follow_requests' => [Module\Api\Mastodon\FollowRequests::class, [R::GET ]],
'/follow_requests/{id:\d+}/{action}' => [Module\Api\Mastodon\FollowRequests::class, [ R::POST]],
'/instance' => [Module\Api\Mastodon\Instance::class, [R::GET ]],