diff options
author | Marcel Klehr <mklehr@gmx.net> | 2023-10-18 10:53:06 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2023-10-18 13:31:00 +0200 |
commit | d3da49de4433f34c4cba23746a4f414309a40370 (patch) | |
tree | 68fc2825c3c11c429505fea21cf1536f07d196b6 /core | |
parent | c5fbe5a7bc2ce6f808f1e604b9ba46980bd76908 (diff) | |
download | nextcloud-server-d3da49de4433f34c4cba23746a4f414309a40370.tar.gz nextcloud-server-d3da49de4433f34c4cba23746a4f414309a40370.zip |
fix(TextToImage): Fix docblock of getImage route
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'core')
-rw-r--r-- | core/Controller/TextToImageApiController.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/core/Controller/TextToImageApiController.php b/core/Controller/TextToImageApiController.php index 7a5e81ebcbf..8db31f4b659 100644 --- a/core/Controller/TextToImageApiController.php +++ b/core/Controller/TextToImageApiController.php @@ -130,15 +130,14 @@ class TextToImageApiController extends \OCP\AppFramework\OCSController { } /** - * This endpoint allows checking the status and results of a task. - * Tasks are removed 1 week after receiving their last update. + * This endpoint allows downloading the resulting image of a task * * @param int $id The id of the task * * @return FileDisplayResponse<Http::STATUS_OK, array{'Content-Type': string}>|DataResponse<Http::STATUS_NOT_FOUND|Http::STATUS_INTERNAL_SERVER_ERROR, array{message: string}, array{}> * - * 200: Task returned - * 404: Task not found + * 200: Image returned + * 404: Task or image not found */ #[PublicPage] #[AnonRateLimit(limit: 5, period: 120)] |