]> git.mxchange.org Git - friendica.git/blobdiff - static/routes.config.php
Add GET /api/v1/follow_requests Mastodon API endpoint
[friendica.git] / static / routes.config.php
index f5b44aec22c80d6c512c54e4c65de89baa42eb2f..d8113c5c53ec4d0f64af3316d365c6ea353c1b92 100644 (file)
@@ -27,6 +27,12 @@ return [
                '/recovery' => [Module\TwoFactor\Recovery::class, [R::GET, R::POST]],
        ],
 
+       '/api' => [
+               '/v1' => [
+                       '/follow_requests'                   => [Module\Api\Mastodon\FollowRequests::class, [R::GET         ]],
+               ],
+       ],
+
        '/admin'               => [
                '[/]' => [Module\Admin\Summary::class, [R::GET]],