First implementation of ActivityPub C2S

This commit is contained in:
Michael 2023-01-29 14:41:14 +00:00
parent df021b07e3
commit 101b3c9703
7 changed files with 295 additions and 55 deletions

View file

@ -156,6 +156,7 @@ $apiRoutes = [
'/show[.{extension:json|xml|rss|atom}]' => [Module\Api\Twitter\Users\Show::class, [R::GET ]],
'/show/{id:\d+}[.{extension:json|xml|rss|atom}]' => [Module\Api\Twitter\Users\Show::class, [R::GET ]],
],
'/whoami' => [Module\ActivityPub\Whoami::class, [R::GET ]],
];
return [