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

18 lines
657 B
Plaintext
Raw Normal View History

2018-01-08 08:26:44 +00:00
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/991224a4-0c6a-46f5-a9cf-7a7b03dd2f7f/duplicate' -d '{"destination_node_id": "ddc56104-6d5b-44b8-8883-560df43c12d4"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/991224a4-0c6a-46f5-a9cf-7a7b03dd2f7f/duplicate HTTP/1.1
{
"destination_node_id": "ddc56104-6d5b-44b8-8883-560df43c12d4"
}
HTTP/1.1 201
Connection: close
Content-Length: 4
Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:57 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/duplicate
true