add file password to /api/files/upload swagger spec
This commit is contained in:
parent
5944d73d6c
commit
b4f804d39b
|
@ -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