summaryrefslogtreecommitdiffstats
path: root/appinfo/routes.php
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2023-01-16 14:57:42 +0100
committerLouis Chemineau <louis@chmn.me>2023-01-16 14:57:42 +0100
commit0b1f7b7853f83fe58af66d8e566aafd1a771a727 (patch)
treea1a38cd504256a714cb49014bcd4477d3035c95f /appinfo/routes.php
parentf56e326f807ad96c21f2c7ad1ff9966a20113616 (diff)
Use new timeline API
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r--appinfo/routes.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index b029b16c..799e510a 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -83,6 +83,7 @@ return [
['name' => 'Api#notifications', 'url' => '/api/v1/notifications', 'verb' => 'GET'],
['name' => 'Api#tag', 'url' => '/api/v1/timelines/tag/{hashtag}', 'verb' => 'GET'],
['name' => 'Api#statusNew', 'url' => '/api/v1/statuses', 'verb' => 'POST'],
+ ['name' => 'Api#timelines', 'url' => '/api/v1/timelines/{timeline}/', 'verb' => 'GET'],
// Api for local front-end
// TODO: front-end should be using the new ApiController