add file password to /api/files/upload swagger spec
This commit is contained in:
parent
cdbcd0e158
commit
84d77c6efb
|
@ -125,6 +125,9 @@ paths:
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
description: Optional name of the file so it would be accessible like file.blek.codes/uploads/{name}
|
description: Optional name of the file so it would be accessible like file.blek.codes/uploads/{name}
|
||||||
|
pass:
|
||||||
|
type: string
|
||||||
|
description: Optional password protection for the file
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: File uploaded successfully
|
description: File uploaded successfully
|
||||||
|
|
Loading…
Reference in New Issue