summaryrefslogtreecommitdiffstats
path: root/appinfo/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r--appinfo/routes.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index e09de763..647b8f27 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -25,6 +25,8 @@ return [
'routes' => [
['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
['name' => 'page#index', 'url' => '/{group}', 'verb' => 'GET', 'postfix' => 'group'],
- ['name' => 'page#index', 'url' => '/{group}/{contact}', 'verb' => 'GET', 'postfix' => 'group.contact']
+ ['name' => 'page#index', 'url' => '/{group}/{contact}', 'verb' => 'GET', 'postfix' => 'group.contact'],
+ ['name' => 'social_api#update_contact', 'url' => '/api/v1/social/avatar/{network}/{addressbookId}/{contactId}', 'verb' => 'PUT'],
+ ['name' => 'social_api#set_app_config', 'url' => '/api/v1/social/config/{key}', 'verb' => 'POST'],
]
];