diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-03-18 19:15:31 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-03-18 19:15:31 +0300 |
commit | 66adbbbe655ef62f1545a39c2bf31630455af8da (patch) | |
tree | 3d0343166617e728f41e37ede2a1dc5983e1d8c8 /appinfo/routes.php |
Add basic app structure
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r-- | appinfo/routes.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php new file mode 100644 index 000000000..468b47616 --- /dev/null +++ b/appinfo/routes.php @@ -0,0 +1,17 @@ +<?php +declare(strict_types=1); + +namespace OCA\Text\AppInfo; + +return [ + 'routes' => [ + ['name' => 'Navigation#navigate', 'url' => '/', 'verb' => 'GET'], + + ['name' => 'Session#create', 'url' => '/session/create', 'verb' => 'GET'], + ['name' => 'Sync#sync', 'url' => '/session/sync', 'verb' => 'GET'], + ['name' => 'Session#push', 'url' => '/session/push', 'verb' => 'GET'], + ['name' => 'Session#get', 'url' => '/session/get', 'verb' => 'GET'], + ['name' => 'Session#close', 'url' => '/session/close', 'verb' => 'GET'], + + ] +]; |