diff options
author | Marcel Klehr <mklehr@gmx.net> | 2023-10-20 13:13:15 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2023-10-20 13:13:15 +0200 |
commit | b7fd5185b69be28338110cc1dc1655883d84c302 (patch) | |
tree | 66a1bcbeaf6e2415ce3201c763499ce157c73fb4 /core/routes.php | |
parent | 8968573d9fa0b9abac1dd5c7684dd94258a080cf (diff) | |
download | nextcloud-server-b7fd5185b69be28338110cc1dc1655883d84c302.tar.gz nextcloud-server-b7fd5185b69be28338110cc1dc1655883d84c302.zip |
enh(TextToImage): Allow generating multiple images with one task
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/routes.php b/core/routes.php index a779b130ba2..fe1fe6fcd75 100644 --- a/core/routes.php +++ b/core/routes.php @@ -159,7 +159,7 @@ $application->registerRoutes($this, [ ['root' => '/text2image', 'name' => 'TextToImageApi#isAvailable', 'url' => '/is_available', 'verb' => 'GET'], ['root' => '/text2image', 'name' => 'TextToImageApi#schedule', 'url' => '/schedule', 'verb' => 'POST'], ['root' => '/text2image', 'name' => 'TextToImageApi#getTask', 'url' => '/task/{id}', 'verb' => 'GET'], - ['root' => '/text2image', 'name' => 'TextToImageApi#getImage', 'url' => '/task/{id}/image', 'verb' => 'GET'], + ['root' => '/text2image', 'name' => 'TextToImageApi#getImage', 'url' => '/task/{id}/image/{index}', 'verb' => 'GET'], ['root' => '/text2image', 'name' => 'TextToImageApi#deleteTask', 'url' => '/task/{id}', 'verb' => 'DELETE'], ['root' => '/text2image', 'name' => 'TextToImageApi#listTasksByApp', 'url' => '/tasks/app/{appId}', 'verb' => 'GET'], ], |