1
1
Fork 0

Merge pull request #7930 from MrPetovan/task/7887-api-followers-request

Add POST follow request Mastodon API endpoint
This commit is contained in:
Philipp 2019-12-18 22:12:52 +01:00 committed by GitHub
commit 5197833c55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 424 additions and 142 deletions

View file

@ -30,6 +30,7 @@ return [
'/api' => [
'/v1' => [
'/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]],
'/instance/peers' => [Module\Api\Mastodon\Instance\Peers::class, [R::GET]],
],