1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00
gns3-server/docs/api/examples/controller_get_templatestemplateid.txt

29 lines
767 B
Plaintext
Raw Normal View History

2019-03-30 08:56:26 +00:00
curl -i -X GET 'http://localhost:3080/v2/templates/c0c6bb37-68d5-4900-bb18-ee69a524593f'
2019-03-28 09:24:02 +00:00
2019-03-30 08:56:26 +00:00
GET /v2/templates/c0c6bb37-68d5-4900-bb18-ee69a524593f HTTP/1.1
2019-03-28 09:24:02 +00:00
HTTP/1.1 200
Connection: close
Content-Length: 378
Content-Type: application/json
2019-03-30 08:56:26 +00:00
Date: Sat, 30 Mar 2019 08:50:14 GMT
Etag: "01987f11368dfc5e0c95ee6cb5cf059c"
Server: Python/3.6 GNS3/2.2.0dev8
2019-03-28 09:24:02 +00:00
X-Route: /v2/templates/{template_id}
{
"base_script_file": "vpcs_base_config.txt",
"builtin": false,
"category": "guest",
"compute_id": "local",
"console_auto_start": false,
"console_type": "telnet",
"default_name_format": "PC{0}",
"name": "VPCS_TEST",
"symbol": ":/symbols/vpcs_guest.svg",
2019-03-30 08:56:26 +00:00
"template_id": "c0c6bb37-68d5-4900-bb18-ee69a524593f",
2019-03-28 09:24:02 +00:00
"template_type": "vpcs"
}