diff options
author | brantje <brantje@gmail.com> | 2016-12-27 14:39:13 +0300 |
---|---|---|
committer | brantje <brantje@gmail.com> | 2016-12-27 15:07:04 +0300 |
commit | ff80ef18cbade8a07f6fabe05051c75f1ab11819 (patch) | |
tree | efbe2ac14cc3463a3affd886437f2bf5522c26ee /appinfo | |
parent | 86c301076a15a1a3f4074af3b33ffec851938703 (diff) |
Add app version
Make the version route dont require csrf
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index b7f789ee..3af8fdf2 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -65,10 +65,11 @@ return [ ['name' => 'share#getItemAcl', 'url' => '/api/v2/sharing/credential/{item_guid}/acl', 'verb' => 'GET'], ['name' => 'share#getFile', 'url' => '/api/v2/sharing/credential/{item_guid}/file/{file_guid}', 'verb' => 'GET'], ['name' => 'share#updateSharedCredentialACL', 'url' => '/api/v2/sharing/credential/{item_guid}/acl', 'verb' => 'PATCH'], + ['name' => 'internal#getAppVersion', 'url' => '/api/v2/version', 'verb' => 'GET'], //Translations - ['name' => 'translation#getLanguageStrings', 'url' => '/api/v2/language', 'verb' => 'GET'], + ['name' => 'translation#getLanguageStrings', 'url' => '/api/v2/language', 'verb' => 'GET'], //Internal API ['name' => 'internal#remind', 'url' => '/api/internal/notifications/remind/{credential_id}', 'verb' => 'POST'], |