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

This commit is contained in:
blek 2023-12-11 09:58:49 +10:00 committed by blek! Git
parent cdbcd0e158
commit 84d77c6efb
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