1
1
Fork 0

Merge pull request #7926 from annando/api-instance

API: Added endpoints /instance and /instance/peers
This commit is contained in:
Hypolite Petovan 2019-12-11 04:07:49 -05:00 committed by GitHub
commit 1c69dda2e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 184 additions and 0 deletions

View file

@ -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]],
],
],