You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
982 B
YAML
36 lines
982 B
YAML
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: {} |