diff options
author | Marcel Klehr <mklehr@gmx.net> | 2024-05-06 11:24:35 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2024-05-14 11:38:40 +0200 |
commit | b85a0edc92f2894ed1674aa6216206a0e8fb1fcb (patch) | |
tree | fc0465200200f2be38deeb65aaf0ceffd82adb78 /core | |
parent | a5053d33c2cad5ff6414132e441520e446245700 (diff) | |
download | nextcloud-server-b85a0edc92f2894ed1674aa6216206a0e8fb1fcb.tar.gz nextcloud-server-b85a0edc92f2894ed1674aa6216206a0e8fb1fcb.zip |
fix: Update autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'core')
-rw-r--r-- | core/Controller/TaskProcessingApiController.php | 1 | ||||
-rw-r--r-- | core/openapi.json | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/core/Controller/TaskProcessingApiController.php b/core/Controller/TaskProcessingApiController.php index da23b343cf0..e42e03424b8 100644 --- a/core/Controller/TaskProcessingApiController.php +++ b/core/Controller/TaskProcessingApiController.php @@ -108,6 +108,7 @@ class TaskProcessingApiController extends \OCP\AppFramework\OCSController { * 200: Task scheduled successfully * 400: Scheduling task is not possible * 412: Scheduling task is not possible + * 401: Cannot schedule task because it references files in its input that the user doesn't have access to */ #[PublicPage] #[UserRateLimit(limit: 20, period: 120)] diff --git a/core/openapi.json b/core/openapi.json index d89aaeca927..ef2378d4e4e 100644 --- a/core/openapi.json +++ b/core/openapi.json @@ -3607,6 +3607,44 @@ } } } + }, + "401": { + "description": "Cannot schedule task because it references files in its input that the user doesn't have access to", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "required": [ + "message" + ], + "properties": { + "message": { + "type": "string" + } + } + } + } + } + } + } + } + } } } } |