GNS3 / gns3-server

GNS3 server
GNU General Public License v3.0
798 stars 262 forks source link

The examples for creating a node should include creating a node from a template #1791

Open 1001QAdotNET opened 4 years ago

1001QAdotNET commented 4 years ago

We rarely create a node using the method shown in the examples This should be documented and shown explicitely http://api.gns3.net/en/2.2/api/v2/controller/template/projectsprojectidtemplatestemplateid.html

1001QAdotNET commented 4 years ago

you can watch what happens on the console as well. I too flirted with the idea but then I noticed that for instance when it is creating a node there is a couple of steps that happen in the sequence, multiple API calls which do not seem to match the API call. (I created a node in the gui and then I checked the console ...what should have been a single call was done via a couple of APIs calls. maybe that is what the controller does in background

grossmj commented 4 years ago

Agreed, the documentation should include more examples. We have started working on a new API documentation which should be much better.