mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-01 04:38:12 +00:00
25 lines
740 B
Plaintext
25 lines
740 B
Plaintext
|
curl -i -X POST 'http://localhost:3080/v2/projects/e29a18dc-ea4a-488e-976f-290394fa4a95/vms/70971eed-f085-449b-b1a5-0373a6ac6de4/stop' -d '{}'
|
||
|
|
||
|
POST /v2/projects/e29a18dc-ea4a-488e-976f-290394fa4a95/vms/70971eed-f085-449b-b1a5-0373a6ac6de4/stop 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}/stop
|
||
|
|
||
|
{
|
||
|
"compute_id": "example.com",
|
||
|
"console": null,
|
||
|
"console_type": "telnet",
|
||
|
"name": "test",
|
||
|
"project_id": "e29a18dc-ea4a-488e-976f-290394fa4a95",
|
||
|
"properties": {},
|
||
|
"vm_id": "70971eed-f085-449b-b1a5-0373a6ac6de4",
|
||
|
"vm_type": "vpcs"
|
||
|
}
|