From 3b0925a064b208cfdd91c5f71bf7be5efd326774 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Thu, 2 May 2024 11:46:49 +0200 Subject: chore: Regenerate openapi.json Signed-off-by: Marcel Klehr --- core/Controller/TaskProcessingApiController.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'core/Controller/TaskProcessingApiController.php') diff --git a/core/Controller/TaskProcessingApiController.php b/core/Controller/TaskProcessingApiController.php index 9b77fb37cdf..c3a2e9e0974 100644 --- a/core/Controller/TaskProcessingApiController.php +++ b/core/Controller/TaskProcessingApiController.php @@ -69,8 +69,7 @@ class TaskProcessingApiController extends \OCP\AppFramework\OCSController { /** * This endpoint returns all available TaskProcessing task types * - * @return DataResponse}> - * []}, array{}> + * @return DataResponse}, array{}> * * 200: Task types returned */ @@ -131,7 +130,7 @@ class TaskProcessingApiController 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. + * Tasks are removed 1 week after receiving their last update * * @param int $id The id of the task * @@ -222,11 +221,12 @@ class TaskProcessingApiController extends \OCP\AppFramework\OCSController { /** * This endpoint returns the contents of a file referenced in a task * - * @param int $taskId - * @param int $fileId + * @param int $taskId The id of the task + * @param int $fileId The file id of the file to retrieve * @return DataDownloadResponse|DataResponse * * 200: File content returned + * 404: Task or file not found */ #[NoAdminRequired] #[ApiRoute(verb: 'GET', url: '/tasks/{taskId}/file/{fileId}', root: '/taskprocessing')] -- cgit v1.2.3