summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 33c333dd0..eb5339bdd 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -55,6 +55,9 @@ return ['routes' => [
['name' => 'export#opml', 'url' => '/export/opml', 'verb' => 'GET'],
['name' => 'export#articles', 'url' => '/export/articles', 'verb' => 'GET'],
+// general API
+['name' => 'api#index', 'url' => '/api', 'verb' => 'GET'],
+
// API 1.2
['name' => 'user_api#index', 'url' => '/api/v1-2/user', 'verb' => 'GET'],
['name' => 'user_api#avatar', 'url' => '/api/v1-2/user/avatar', 'verb' => 'GET'],