add file password to /api/files/upload swagger spec

This commit is contained in:
blek 2023-12-11 09:58:49 +10:00
parent bf923244fa
commit 400c3dc129
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 3 additions and 0 deletions

View File

@ -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