* feat: create folders in ACP uploads #9638 * fix: openapi * test: missing tests * fix: eslint * fix: testsisekai-main
parent
f2028d7009
commit
3df79683f5
@ -0,0 +1,36 @@
|
||||
put:
|
||||
tags:
|
||||
- files
|
||||
summary: create a new folder
|
||||
description: This operation creates a new folder inside upload path
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
path:
|
||||
type: string
|
||||
description: Path to the file (relative to the configured `upload_path`)
|
||||
example: /files
|
||||
folderName:
|
||||
type: string
|
||||
description: New folder name
|
||||
example: myfiles
|
||||
required:
|
||||
- path
|
||||
- folderName
|
||||
responses:
|
||||
'200':
|
||||
description: Folder created
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
status:
|
||||
$ref: ../../components/schemas/Status.yaml#/Status
|
||||
response:
|
||||
type: object
|
||||
properties: {}
|
Loading…
Reference in New Issue