API: Search endpoint

This commit is contained in:
Michael 2021-05-17 22:22:51 +00:00
parent 2364a1fb43
commit c9110e03e1
4 changed files with 200 additions and 6 deletions

View file

@ -150,7 +150,7 @@ return [
'/trends' => [Module\Api\Mastodon\Trends::class, [R::GET ]],
],
'/v2' => [
'/search' => [Module\Api\Mastodon\Unimplemented::class, [R::GET ]], // @todo
'/search' => [Module\Api\Mastodon\Search::class, [R::GET ]],
],
'/friendica' => [
'/profile/show' => [Module\Api\Friendica\Profile\Show::class, [R::GET ]],