1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-27 09:18:09 +00:00
gns3-server/docs/api/examples/controller_post_projectsprojectidvmsvmidreload.txt
Julien Duponchelle 97aea5f82a
Doc update
2016-04-18 16:58:06 +02:00

25 lines
746 B
Plaintext

curl -i -X POST 'http://localhost:3080/v2/projects/8bb8e263-bdae-4ad1-83eb-ef7b91364992/vms/0e8e3dfe-5ceb-4d5d-bb4a-36ecd8a692ef/reload' -d '{}'
POST /v2/projects/8bb8e263-bdae-4ad1-83eb-ef7b91364992/vms/0e8e3dfe-5ceb-4d5d-bb4a-36ecd8a692ef/reload HTTP/1.1
{}
HTTP/1.1 201
ACCESS-CONTROL-ALLOW-ORIGIN: *
CONTENT-LENGTH: 262
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/projects/{project_id}/vms/{vm_id}/reload
{
"compute_id": "example.com",
"console": null,
"console_type": "telnet",
"name": "test",
"project_id": "8bb8e263-bdae-4ad1-83eb-ef7b91364992",
"properties": {},
"vm_id": "0e8e3dfe-5ceb-4d5d-bb4a-36ecd8a692ef",
"vm_type": "vpcs"
}