summaryrefslogtreecommitdiffstats
path: root/appinfo/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r--appinfo/routes.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index b126a722f..5ad543ff3 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -59,6 +59,8 @@ return ['routes' => [
['name' => 'export#articles', 'url' => '/export/articles', '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'],
['name' => 'utility_api#version', 'url' => '/api/v1-2/version', 'verb' => 'GET'],
['name' => 'utility_api#status', 'url' => '/api/v1-2/status', 'verb' => 'GET'],
['name' => 'utility_api#before_update', 'url' => '/api/v1-2/cleanup/before-update', 'verb' => 'GET'],