From 64f172fe20ac6f76029851fe4e4cb97689137cb5 Mon Sep 17 00:00:00 2001 From: grossmj Date: Mon, 15 Feb 2021 15:16:19 +1030 Subject: [PATCH] Expose 'auto_open' and 'auto_start' properties in API when creating project. Fixes https://github.com/GNS3/gns3-gui/issues/3119 --- gns3server/schemas/project.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gns3server/schemas/project.py b/gns3server/schemas/project.py index b65b745b..7fb3c7ec 100644 --- a/gns3server/schemas/project.py +++ b/gns3server/schemas/project.py @@ -72,6 +72,14 @@ PROJECT_CREATE_SCHEMA = { "description": "Project auto close", "type": "boolean" }, + "auto_open": { + "description": "Project open when GNS3 start", + "type": "boolean" + }, + "auto_start": { + "description": "Project start when opened", + "type": "boolean" + }, "project_id": { "description": "Project UUID", "type": ["string", "null"],