diff options
author | Joas Schilling <coding@schilljs.com> | 2018-04-25 14:01:29 +0300 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-04-26 13:46:58 +0300 |
commit | 1472935fb5af2c5c6fc376242a354790d3ac4d63 (patch) | |
tree | 5b43fc02961de84a44b93e267dfcfd49fc53b256 /appinfo/routes.php | |
parent | dad8c1fdf8966cae06c2db16c541718ae1f6d0a0 (diff) |
Start autocomplete for mentions
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r-- | appinfo/routes.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index f93bbb1a2..86ca86b23 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -129,6 +129,15 @@ return [ 'token' => '^[a-z0-9]{4,30}$', ], ], + [ + 'name' => 'Chat#autoComplete', + 'url' => '/api/{apiVersion}/chat/{token}/autocomplete', + 'verb' => 'GET', + 'requirements' => [ + 'apiVersion' => 'v1', + 'token' => '^[a-z0-9]{4,30}$', + ], + ], /** * Room |