summaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-07-14 15:59:50 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-08-09 10:05:05 +0200
commitcf2c42ae36a3c7280887bd3f15329739f9a6d221 (patch)
tree3e682483cc8177afd7b9e682fcaa103791f78d2a /core/routes.php
parent696a45ddf1d460de7ffa6f252912375efd7e190e (diff)
downloadnextcloud-server-cf2c42ae36a3c7280887bd3f15329739f9a6d221.tar.gz
nextcloud-server-cf2c42ae36a3c7280887bd3f15329739f9a6d221.zip
Massive refactoring: Turn LanguageModel OCP API into TextProcessing API
Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit ffe27ce14ca74b509c8721c9fba7c759498fa471)
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php6
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'],
],
]);