1
0
mirror of https://github.com/lxc/incus.git synced 2026-02-05 09:46:19 +01:00

shared/api: Add field for image type to ImagePost struct

Signed-off-by: Saahir Narang <saahir.narang@gmail.com>
This commit is contained in:
Saahir Narang
2025-04-28 03:51:00 +00:00
committed by Stéphane Graber
parent 0943383cfd
commit 05b276dd4b

View File

@@ -57,6 +57,12 @@ type ImagesPost struct {
// API extension: image_compression_algorithm
CompressionAlgorithm string `json:"compression_algorithm" yaml:"compression_algorithm"`
// Type of image format
// Example: split
//
// API extension: instance_publish_split
Format string `json:"format" yaml:"format"`
// Aliases to add to the image
// Example: [{"name": "foo"}, {"name": "bar"}]
//