schema: adapt description of method's download key

with the newly introduced strict checks in the API handler, the download key
actually marks which endpoints/methods are allowed to use the download
functionality of the REST server, and the "directly return filename to be
downloaded" part is no longer supported as a result.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2024-09-19 15:19:41 +02:00 committed by Thomas Lamprecht
parent e068c3d30a
commit 6dbb3e0e78

View File

@ -1657,7 +1657,7 @@ my $method_schema = {
},
download => {
type => 'boolean',
description => "Method downloads the file content (filename is the return value of the method).",
description => "Method is allowed to download file contents (download information is the return value of the method).",
optional => 1,
},
proxyto => {