API: Support for the "directory" endpoint
This commit is contained in:
parent
4dda0b01cb
commit
7be6fbf652
2 changed files with 73 additions and 0 deletions
|
@ -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 ]],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue