From c9d361d93bffb26890a41a99efb9e99f81cd48b9 Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Thu, 3 Jul 2025 11:44:06 +0200 Subject: [PATCH] OpenAPI: add missing event statuses to rule condition options Fixes #2011 Signed-off-by: Nicola Murino --- openapi/openapi.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/openapi/openapi.yaml b/openapi/openapi.yaml index ed886e37..289524aa 100644 --- a/openapi/openapi.yaml +++ b/openapi/openapi.yaml @@ -29,7 +29,7 @@ info: SFTPGo supports groups to simplify the administration of multiple accounts by letting you assign settings once to a group, instead of multiple times to each individual user. The SFTPGo WebClient allows end users to change their credentials, browse and manage their files in the browser and setup two-factor authentication which works with Authy, Google Authenticator and other compatible apps. From the WebClient each authorized user can also create HTTP/S links to externally share files and folders securely, by setting limits to the number of downloads/uploads, protecting the share with a password, limiting access by source IP address, setting an automatic expiration date. - version: 2.6.99-dev + version: v2.6.99-dev contact: name: API support url: 'https://github.com/drakkan/sftpgo' @@ -7288,6 +7288,19 @@ components: max_size: type: integer format: int64 + event_statuses: + type: array + items: + type: integer + enum: + - 1 + - 2 + - 3 + description: | + Event status: + - `1` OK + - `2` Failed + - `3` Quota exceeded concurrent_execution: type: boolean description: allow concurrent execution from multiple nodes