mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-27 08:12:32 +00:00
2.4 KiB
2.4 KiB
/v2/templates/{template_id}/duplicate
POST /v2/templates/{template_id}/duplicate
Duplicate an template
Parameters
- template_id: Template UUID
Response status codes
- 201: Template duplicated
- 400: Invalid request
- 404: Template doesn't exist
Output
Name | Mandatory | Type | Description |
---|---|---|---|
builtin | ✔ | boolean | Template is builtin |
category | ✔ | Template category | |
compute_id | ✔ | ['null', 'string'] | Compute identifier |
default_name_format | ✔ | string | Default name format |
name | ✔ | string | Template name |
symbol | ✔ | string | Symbol of the template |
template_id | ✔ | string | Template UUID |
template_type | ✔ | enum | Possible values: cloud, ethernet_hub, ethernet_switch, docker, dynamips, vpcs, traceng, virtualbox, vmware, iou, qemu |
Sample session
../../../examples/controller_post_templatestemplateidduplicate.txt