mirror of
https://github.com/nextcloud/server.git
synced 2026-04-20 22:00:39 -04:00
chore: Regenerate openapi.json
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
29cbb3cf71
commit
3b0925a064
3 changed files with 997 additions and 7 deletions
|
|
@ -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')]
|
||||
|
|
|
|||
|
|
@ -197,8 +197,8 @@ namespace OCA\Core;
|
|||
* status: int,
|
||||
* userId: ?string,
|
||||
* appId: string,
|
||||
* input: array,
|
||||
* output: ?array,
|
||||
* input: array<string, mixed>,
|
||||
* output: ?array<string, mixed>,
|
||||
* identifier: ?string,
|
||||
* completionExpectedAt: ?int,
|
||||
* progress: ?float
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue