Skip to content

Commit 3e15eb2

Browse files
committed
add cleanupBackup
1 parent 55430e9 commit 3e15eb2

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

icewhale-files-backup/openapi.yaml

+14
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ paths:
9595
parameters:
9696
- $ref: "#/components/parameters/ClientIDParam"
9797
- $ref: "#/components/parameters/ClientFolderPathParam"
98+
- $ref: "#/components/parameters/CleanUpBackupParam"
9899
responses:
99100
"200":
100101
$ref: "#/components/responses/ResponseOK"
@@ -151,6 +152,19 @@ components:
151152
type: string
152153
example: C:\Users\icewhale\Downloads
153154

155+
CleanUpBackupParam:
156+
name: cleanup_backup
157+
in: query
158+
description: |
159+
whether to clean up the backup files on the server side
160+
161+
> - If set to `true`, will clean up the backup files on the server side.
162+
> - If set to `false`, will not clean up the backup files on the server side.
163+
schema:
164+
type: boolean
165+
example: true
166+
default: true
167+
154168
SuccessParam:
155169
name: success
156170
in: query

0 commit comments

Comments
 (0)