diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-09-12 11:38:03 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-09-25 14:06:47 +0200 |
commit | b1c50f91f61cf21e88e909b9c626aa883daf032d (patch) | |
tree | 4bf320600de2e7169209fe89f44d0b12b31ffb5a /appinfo | |
parent | 115a8f87db2bd9b8bfecdcd381b6e0cf1dc094bd (diff) |
better queries parser, add endpoint for replies
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index b3840aa9..3cbc781e 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -60,6 +60,7 @@ return [ ['name' => 'OStatus#followRemote', 'url' => '/api/v1/ostatus/followRemote/{local}', 'verb' => 'GET'], ['name' => 'OStatus#getLink', 'url' => '/api/v1/ostatus/link/{local}/{account}', 'verb' => 'GET'], + // should it be moved to NavigationController ? ['name' => 'SocialPub#displayPost', 'url' => '/@{username}/{token}', 'verb' => 'GET'], ['name' => 'Local#streamHome', 'url' => '/api/v1/stream/home', 'verb' => 'GET'], @@ -72,6 +73,8 @@ return [ ['name' => 'Local#streamAccount', 'url' => '/api/v1/account/{username}/stream', 'verb' => 'GET'], ['name' => 'Local#postGet', 'url' => '/local/v1/post', 'verb' => 'GET'], + ['name' => 'Local#postReplies', 'url' => '/local/v1/post/replies', 'verb' => 'GET'], + ['name' => 'Local#postCreate', 'url' => '/api/v1/post', 'verb' => 'POST'], ['name' => 'Local#postDelete', 'url' => '/api/v1/post', 'verb' => 'DELETE'], |