status: add enum for file upload content type
the addition of this enum does not change API behaviour, because it is checked for 'iso' or 'vztmpl' aftwerwards anyway. Signed-off-by: Lorenz Stechauner <l.stechauner@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
24adf51e7e
commit
1e96ffc954
@ -378,6 +378,7 @@ __PACKAGE__->register_method ({
|
||||
content => {
|
||||
description => "Content type.",
|
||||
type => 'string', format => 'pve-storage-content',
|
||||
enum => ['iso', 'vztmpl'],
|
||||
},
|
||||
filename => {
|
||||
description => "The name of the file to create.",
|
||||
|
||||
Reference in New Issue
Block a user