Add compression of direct download url

This commit is contained in:
Bernhard Ehlers 2015-11-17 09:58:25 +01:00
parent 7feb97e057
commit 22b3865954
2 changed files with 6 additions and 1 deletions

View File

@ -28,7 +28,8 @@
"md5sum": "c8f2635f1cc637b20bbf2fccefb77a1a",
"filesize": 55050240,
"download_url": "http://downloads.openwrt.org/chaos_calmer/15.05/x86/kvm_guest/",
"direct_download_url": "http://downloads.openwrt.org/chaos_calmer/15.05/x86/kvm_guest/openwrt-15.05-x86-kvm_guest-combined-ext4.img.gz"
"direct_download_url": "http://downloads.openwrt.org/chaos_calmer/15.05/x86/kvm_guest/openwrt-15.05-x86-kvm_guest-combined-ext4.img.gz",
"compression": "gzip"
}
],

View File

@ -179,6 +179,10 @@
"direct_download_url": {
"type": "string",
"title": "Optional. Non authenticated url to the image file where you can download the image."
},
"compression": {
"enum": ["bzip2", "gzip", "lzma", "xz", "rar", "zip"],
"title": "Optional. compression type of direct download url."
}
},
"additionalProperties": false,