From d3da49de4433f34c4cba23746a4f414309a40370 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Wed, 18 Oct 2023 10:53:06 +0200 Subject: fix(TextToImage): Fix docblock of getImage route Signed-off-by: Marcel Klehr --- core/Controller/TextToImageApiController.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'core/Controller/TextToImageApiController.php') 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|DataResponse * - * 200: Task returned - * 404: Task not found + * 200: Image returned + * 404: Task or image not found */ #[PublicPage] #[AnonRateLimit(limit: 5, period: 120)] -- cgit v1.2.3