diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-01-24 10:24:17 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-01-24 10:50:03 -0100 |
commit | fd2ef9e6cec67b6a50b91293d97831d3631d9f26 (patch) | |
tree | 5cc84479070e84ce07f23e5b069998edc5ecd202 /appinfo | |
parent | d685af4008e3f337e2887a04253814d8a9a4dc5b (diff) |
cleaning and renaming upsteam request caching
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index dc309c09..7c056217 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -38,10 +38,10 @@ return [ 'routes' => [ ['name' => 'Navigation#navigate', 'url' => '/', 'verb' => 'GET'], ['name' => 'Navigation#test', 'url' => '/test', 'verb' => 'GET'], - [ 'name' => 'Navigation#timeline', 'url' => '/timeline/{path}', 'verb' => 'GET', - 'requirements' => ['path' => '.+'], 'defaults' => ['path' => ''] + 'requirements' => ['path' => '.+'], + 'defaults' => ['path' => ''] ], ['name' => 'Navigation#documentGet', 'url' => '/document/get', 'verb' => 'GET'], ['name' => 'Navigation#documentGetPublic', 'url' => '/document/public', 'verb' => 'GET'], @@ -84,12 +84,8 @@ return [ ['name' => 'Local#documentsCache', 'url' => '/api/v1/documents/cache', 'verb' => 'POST'], - ['name' => 'Queue#asyncWithToken', 'url' => CurlService::ASYNC_TOKEN, 'verb' => 'POST'], - - [ - 'name' => 'Config#setCloudAddress', 'url' => '/api/v1/config/cloudAddress', - 'verb' => 'POST' - ], + ['name' => 'Queue#asyncForRequest', 'url' => CurlService::ASYNC_REQUEST_TOKEN, 'verb' => 'POST'], + ['name' => 'Config#setCloudAddress', 'url' => '/api/v1/config/cloudAddress', 'verb' => 'POST'] ] ]; |