mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-05 14:51:13 +02:00
Return md5sum and filesize in the list of images
Ref https://github.com/GNS3/gns3-gui/issues/1590
This commit is contained in:
10 files changed
+49
-18
No files matched your search
@@ -53,6 +53,16 @@ NODE_LIST_IMAGES_SCHEMA = {
|
||||
"description": "Image path",
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"md5sum": {
|
||||
"description": "md5sum of the image if available",
|
||||
"type": ["string", "null"],
|
||||
"minLength": 1
|
||||
},
|
||||
"filesize": {
|
||||
"description": "size of the image if available",
|
||||
"type": ["integer", "null"],
|
||||
"minimum": 0
|
||||
}
|
||||
},
|
||||
"required": ["filename", "path"],
|
||||
|
||||
Reference in new issue
Block a user