diff options
author | Marcel Klehr <mklehr@gmx.net> | 2023-07-14 15:59:50 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2023-07-14 16:00:31 +0200 |
commit | ffe27ce14ca74b509c8721c9fba7c759498fa471 (patch) | |
tree | bfed281ed9d76d6087ca946331ee27d8345c3acd /core/routes.php | |
parent | bd45c436ebc710da2309dca232173d8133e9e06a (diff) | |
download | nextcloud-server-ffe27ce14ca74b509c8721c9fba7c759498fa471.tar.gz nextcloud-server-ffe27ce14ca74b509c8721c9fba7c759498fa471.zip |
Massive refactoring: Turn LanguageModel OCP API into TextProcessing API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/routes.php b/core/routes.php index 24af95cd7af..4790f32af32 100644 --- a/core/routes.php +++ b/core/routes.php @@ -146,9 +146,9 @@ $application->registerRoutes($this, [ ['root' => '/translation', 'name' => 'TranslationApi#languages', 'url' => '/languages', 'verb' => 'GET'], ['root' => '/translation', 'name' => 'TranslationApi#translate', 'url' => '/translate', 'verb' => 'POST'], - ['root' => '/languagemodel', 'name' => 'LanguageModelApi#taskTypes', 'url' => '/tasktypes', 'verb' => 'GET'], - ['root' => '/languagemodel', 'name' => 'LanguageModelApi#schedule', 'url' => '/schedule', 'verb' => 'POST'], - ['root' => '/languagemodel', 'name' => 'LanguageModelApi#getTask', 'url' => '/task/{id}', 'verb' => 'GET'], + ['root' => '/textprocessing', 'name' => 'TextProcessingApi#taskTypes', 'url' => '/tasktypes', 'verb' => 'GET'], + ['root' => '/textprocessing', 'name' => 'TextProcessingApi#schedule', 'url' => '/schedule', 'verb' => 'POST'], + ['root' => '/textprocessing', 'name' => 'TextProcessingApi#getTask', 'url' => '/task/{id}', 'verb' => 'GET'], ], ]); |