From 562108748a54c4fb6a2ea4a26dadd9098bf72b00 Mon Sep 17 00:00:00 2001 From: grossmj Date: Mon, 6 Jul 2026 18:17:00 +0200 Subject: [PATCH] Remove API docs from 2.2 after merging --- .../controller_get_templateidbaseconfig.txt | 17 ---- .../controller_get_templatesbaseconfigs.txt | 44 --------- .../controller_put_templateidbaseconfig.txt | 17 ---- .../template/templatesbaseconfigs.rst | 38 -------- .../templatestemplateidbaseconfigfilename.rst | 90 ------------------- 5 files changed, 206 deletions(-) delete mode 100644 docs/api/examples/controller_get_templateidbaseconfig.txt delete mode 100644 docs/api/examples/controller_get_templatesbaseconfigs.txt delete mode 100644 docs/api/examples/controller_put_templateidbaseconfig.txt delete mode 100644 docs/api/v2/controller/template/templatesbaseconfigs.rst delete mode 100644 docs/api/v2/controller/template/templatestemplateidbaseconfigfilename.rst diff --git a/docs/api/examples/controller_get_templateidbaseconfig.txt b/docs/api/examples/controller_get_templateidbaseconfig.txt deleted file mode 100644 index 9e3d9c25c..000000000 --- a/docs/api/examples/controller_get_templateidbaseconfig.txt +++ /dev/null @@ -1,17 +0,0 @@ -curl -i -X 'http://localhost:3080/v2/templates/19021f99-e36f-394d-b4a1-8aaa902ab9cc/base-config/vpcs_base_config.txt' - -GET /v2/templates/19021f99-e36f-394d-b4a1-8aaa902ab9cc/base-config/vpcs_base_config.txt HTTP/1.1 - -HTTP/1.1 200 OK -Connection: close -X-Route: /v2/templates/{template_id}/base-config/{filename} -Server: Python/3.14 GNS3/2.2.60.dev1+713dbb7f -Content-Type: application/json -Content-Length: 144 -Date: Mon, 18 May 2026 18:34:10 GMT - -{ - "content": "# test config\n\ndhcp\n", - "filename": "vpcs_base_config.txt", - "template_id": "19021f99-e36f-394d-b4a1-8aaa902ab9cc" -} \ No newline at end of file diff --git a/docs/api/examples/controller_get_templatesbaseconfigs.txt b/docs/api/examples/controller_get_templatesbaseconfigs.txt deleted file mode 100644 index 263cbfa1f..000000000 --- a/docs/api/examples/controller_get_templatesbaseconfigs.txt +++ /dev/null @@ -1,44 +0,0 @@ -curl -i -X 'http://localhost:3080/v2/templates/base-configs' - -GET /v2/templates/base-configs HTTP/1.1 - -HTTP/1.1 200 OK -Connection: close -X-Route: /v2/templates/base-configs -Server: Python/3.14 GNS3/2.2.60.dev1+713dbb7f -Content-Type: application/json -Content-Length: 576 -Date: Mon, 18 May 2026 18:28:53 GMT - -[ - { - "filename": "config1.txt" - }, - { - "filename": "config2.txt" - }, - { - "filename": "ios_base_startup-config.txt" - }, - { - "filename": "ios_etherswitch_startup-config.txt" - }, - { - "filename": "iou_l2_base_startup-config.txt" - }, - { - "filename": "iou_l3_base_startup-config.txt" - }, - { - "filename": "test_config.txt" - }, - { - "filename": "update_test.txt" - }, - { - "filename": "vpcs_base_config.txt" - }, - { - "filename": "vpcs_base_config2.txt" - } -] \ No newline at end of file diff --git a/docs/api/examples/controller_put_templateidbaseconfig.txt b/docs/api/examples/controller_put_templateidbaseconfig.txt deleted file mode 100644 index c70e315b8..000000000 --- a/docs/api/examples/controller_put_templateidbaseconfig.txt +++ /dev/null @@ -1,17 +0,0 @@ -curl -i -X 'http://localhost:3080/v2/templates/19021f99-e36f-394d-b4a1-8aaa902ab9cc/base-config/vpcs_base_config.txt' - -PUT /v2/templates/19021f99-e36f-394d-b4a1-8aaa902ab9cc/base-config/vpcs_base_config.txt HTTP/1.1 - -HTTP/1.1 200 OK -Connection: close -X-Route: /v2/templates/{template_id}/base-config/{filename} -Server: Python/3.14 GNS3/2.2.60.dev1+713dbb7f -Content-Type: application/json -Content-Length: 144 -Date: Mon, 18 May 2026 18:37:57 GMT - -{ - "content": "# test config\n\ndhcp\n", - "filename": "vpcs_base_config.txt", - "template_id": "19021f99-e36f-394d-b4a1-8aaa902ab9cc" -} \ No newline at end of file diff --git a/docs/api/v2/controller/template/templatesbaseconfigs.rst b/docs/api/v2/controller/template/templatesbaseconfigs.rst deleted file mode 100644 index dc4de3e8c..000000000 --- a/docs/api/v2/controller/template/templatesbaseconfigs.rst +++ /dev/null @@ -1,38 +0,0 @@ -GET /v2/templates/base-configs ------------------------------------------------------------------------------------------------------------------------------------------- - -.. contents:: - -GET /v2/templates/base-configs -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -List all available base configuration files - -Response status codes -********************** -- **200**: List of base configuration files returned - -Output -******* - -.. raw:: html - - - - - - - - - - - - - - -
NameTypeDescription
filenamestringName of the base configuration file
- -Sample session -*************** - -.. literalinclude:: ../../../examples/controller_get_templatesbaseconfigs.txt \ No newline at end of file diff --git a/docs/api/v2/controller/template/templatestemplateidbaseconfigfilename.rst b/docs/api/v2/controller/template/templatestemplateidbaseconfigfilename.rst deleted file mode 100644 index 98b356270..000000000 --- a/docs/api/v2/controller/template/templatestemplateidbaseconfigfilename.rst +++ /dev/null @@ -1,90 +0,0 @@ -/v2/templates/{template_id}/base-config/{filename} ------------------------------------------------------------------------------------------------------------------------------------------- - -.. contents:: - -GET /v2/templates/**{template_id}**/base-configs/**{filename}** -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -List all available base configuration files - -Response status codes -********************** -- **200**: List of base configuration files returned - -Output -******* - -.. raw:: html - - - - - - - - - - - - - - -
NameTypeDescription
filenamestringName of the base configuration file
- -Sample session -*************** - -.. literalinclude:: ../../../examples/controller_get_templateidbaseconfig.txt - - -PUT /v2/templates/**{template_id}**/base-config/**{filename}** -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Update base configuration file content - -Response status codes -********************** -- **200**: File updated -- **404**: File not found - -Input -******* - -.. raw:: html - - - - - - - - - - - -
NameMandatoryTypeDescription
contentstringNew file content
- -Output -******* - -.. raw:: html - - - - - - - - - - - - - -
NameMandatoryTypeDescription
template_idstringTemplate UUID
filenamestringBase configuration filename
contentstringUpdated file content
- -Sample session -*************** - -.. literalinclude:: ../../../examples/controller_put_templateidbaseconfig.txt \ No newline at end of file