mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 07:11:13 +02:00
Add description for snapshots
This commit is contained in:
3 files changed
+29
-6
No files matched your search
@@ -25,6 +25,10 @@ SNAPSHOT_CREATE_SCHEMA = {
|
||||
"description": "Snapshot name",
|
||||
"minLength": 1
|
||||
},
|
||||
"description": {
|
||||
"description": "Snapshot description",
|
||||
"minLength": 1
|
||||
},
|
||||
},
|
||||
"additionalProperties": False,
|
||||
"required": ["name"]
|
||||
@@ -59,11 +63,16 @@ SNAPSHOT_OBJECT_SCHEMA = {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"description": {
|
||||
"description": "Snapshot description",
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"created_at": {
|
||||
"description": "Date of the snapshot (UTC timestamp)",
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"additionalProperties": False,
|
||||
"required": ["snapshot_id", "name", "filename", "created_at", "project_id"]
|
||||
"required": ["snapshot_id", "name", "filename", "created_at", "description", "project_id"]
|
||||
}
|
||||
Reference in new issue
Block a user