aboutsummaryrefslogtreecommitdiffstats
path: root/core/openapi-full.json
diff options
context:
space:
mode:
authorJulien Veyssier <julien-nc@posteo.net>2024-07-17 12:35:13 +0200
committerJulien Veyssier <julien-nc@posteo.net>2024-07-22 11:34:29 +0200
commitfffc7847693080318b759bfa0c0a683325b536b5 (patch)
treeba32ce212a605100dddaffb3a93d4b8690b7ac50 /core/openapi-full.json
parentfadef0c7ba8e6e6c52a54c0e0c5c27949b165183 (diff)
downloadnextcloud-server-fffc7847693080318b759bfa0c0a683325b536b5.tar.gz
nextcloud-server-fffc7847693080318b759bfa0c0a683325b536b5.zip
feat(taskprocessing): add support for webhooks (http or AppAPI) in the task processing API
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Diffstat (limited to 'core/openapi-full.json')
-rw-r--r--core/openapi-full.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/openapi-full.json b/core/openapi-full.json
index 290dc462cdc..a90cc1efaaf 100644
--- a/core/openapi-full.json
+++ b/core/openapi-full.json
@@ -3842,6 +3842,16 @@
"type": "string",
"default": "",
"description": "An arbitrary identifier for the task"
+ },
+ "webhookUri": {
+ "type": "string",
+ "nullable": true,
+ "description": "URI to be requested when the task finishes"
+ },
+ "webhookMethod": {
+ "type": "string",
+ "nullable": true,
+ "description": "Method used for the webhook request (HTTP:GET, HTTP:POST, HTTP:PUT, HTTP:DELETE or AppAPI:APP_ID:GET, AppAPI:APP_ID:POST...)"
}
}
}