aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller/TaskProcessingApiController.php
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2024-05-02 11:46:49 +0200
committerMarcel Klehr <mklehr@gmx.net>2024-05-14 11:38:39 +0200
commit3b0925a064b208cfdd91c5f71bf7be5efd326774 (patch)
tree80a2fcb1fac31df507fbdb8a5bc482a99d4d6ea3 /core/Controller/TaskProcessingApiController.php
parent29cbb3cf71f900ecdc85a56b29c23c08e46d1b95 (diff)
downloadnextcloud-server-3b0925a064b208cfdd91c5f71bf7be5efd326774.tar.gz
nextcloud-server-3b0925a064b208cfdd91c5f71bf7be5efd326774.zip
chore: Regenerate openapi.json
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'core/Controller/TaskProcessingApiController.php')
-rw-r--r--core/Controller/TaskProcessingApiController.php10
1 files changed, 5 insertions, 5 deletions
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<Http::STATUS_OK, array{types: array<string, CoreTaskProcessingTaskType>}>
- * []}, array{}>
+ * @return DataResponse<Http::STATUS_OK, array{types: array<string, CoreTaskProcessingTaskType>}, 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<Http::STATUS_OK, string, array{}>|DataResponse<Http::STATUS_INTERNAL_SERVER_ERROR|Http::STATUS_NOT_FOUND, array{message: string}, array{}>
*
* 200: File content returned
+ * 404: Task or file not found
*/
#[NoAdminRequired]
#[ApiRoute(verb: 'GET', url: '/tasks/{taskId}/file/{fileId}', root: '/taskprocessing')]