diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-04-23 15:27:56 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2021-04-28 11:40:58 +0300 |
commit | 9ecf2aafc64f8e366c7bae5a73c37da8452bb604 (patch) | |
tree | fd6d5d479c5c2f15e044823fe5de3c9d66fff292 /appinfo | |
parent | 3067440843cd86d10f99ee6ed06c90882f87e7aa (diff) |
Implement token types
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index f04ce9e8..6fd22f90 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -30,7 +30,7 @@ return [ //documents ['name' => 'document#index', 'url' => 'index', 'verb' => 'GET'], ['name' => 'document#remote', 'url' => 'remote', 'verb' => 'GET'], - ['name' => 'document#open', 'url' => 'open', 'verb' => 'GET'], + ['name' => 'document#openRemoteFile', 'url' => 'open', 'verb' => 'GET'], ['name' => 'document#createFromTemplate', 'url' => 'indexTemplate', 'verb' => 'GET'], ['name' => 'document#publicPage', 'url' => '/public', 'verb' => 'GET'], @@ -67,13 +67,13 @@ return [ ['name' => 'templates#delete', 'url' => '/template/{fileId}', 'verb' => 'DELETE'], ], 'ocs' => [ - ['name' => 'OCS#create', 'url' => '/api/v1/document', 'verb' => 'POST'], + ['name' => 'OCS#createDirect', 'url' => '/api/v1/document', 'verb' => 'POST'], + ['name' => 'OCS#createPublic', 'url' => '/api/v1/share', 'verb' => 'POST'], + ['name' => 'OCS#createPublicFromInitiator', 'url' => '/api/v1/direct/share/initiator', 'verb' => 'POST'], ['name' => 'OCS#getTemplates', 'url' => '/api/v1/templates/{type}', 'verb' => 'GET'], ['name' => 'OCS#createFromTemplate', 'url' => '/api/v1/templates/new', 'verb' => 'POST'], ['name' => 'Federation#index', 'url' => '/api/v1/federation', 'verb' => 'GET'], ['name' => 'Federation#remoteWopiToken', 'url' => '/api/v1/federation', 'verb' => 'POST'], - ['name' => 'Federation#remoteDirectToken', 'url' => '/api/v1/federation/direct', 'verb' => 'POST'], - ], ]; |