aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-05-16 12:33:15 +0200
committerprovokateurin <kate@provokateurin.de>2024-05-16 12:43:22 +0200
commit79e153735c113e21188f51f9e4bcdab439fa1811 (patch)
treef1809542e47c390ba93171a52bc26000a4a443ce
parentbd6989d365b465857e8a6b722dcbc77c520f3f9d (diff)
downloadnextcloud-server-79e153735c113e21188f51f9e4bcdab439fa1811.tar.gz
nextcloud-server-79e153735c113e21188f51f9e4bcdab439fa1811.zip
docs(TaskProcessingApi): Fix result endpoint description
Signed-off-by: provokateurin <kate@provokateurin.de>
-rw-r--r--core/Controller/TaskProcessingApiController.php2
-rw-r--r--core/openapi.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/Controller/TaskProcessingApiController.php b/core/Controller/TaskProcessingApiController.php
index ce89ebd34bb..71d7f49a3db 100644
--- a/core/Controller/TaskProcessingApiController.php
+++ b/core/Controller/TaskProcessingApiController.php
@@ -363,7 +363,7 @@ class TaskProcessingApiController extends \OCP\AppFramework\OCSController {
}
/**
- * This endpoint sets the task progress
+ * This endpoint sets the task result
*
* @param int $taskId The id of the task
* @param array<string,mixed>|null $output The resulting task output
diff --git a/core/openapi.json b/core/openapi.json
index 7563406dba0..65784397227 100644
--- a/core/openapi.json
+++ b/core/openapi.json
@@ -4498,7 +4498,7 @@
"/ocs/v2.php/taskprocessing/tasks/{taskId}/result": {
"post": {
"operationId": "task_processing_api-set-result",
- "summary": "This endpoint sets the task progress",
+ "summary": "This endpoint sets the task result",
"tags": [
"task_processing_api"
],