mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-27 17:28:08 +00:00
21 lines
735 B
Plaintext
21 lines
735 B
Plaintext
curl -i -X POST 'http://localhost:3080/v2/projects/130d7a29-9b49-4688-8cf2-074a0434eb7f/snapshots/c99cf511-3108-4880-9236-61289bcf847a/restore' -d '{}'
|
|
|
|
POST /v2/projects/130d7a29-9b49-4688-8cf2-074a0434eb7f/snapshots/c99cf511-3108-4880-9236-61289bcf847a/restore HTTP/1.1
|
|
{}
|
|
|
|
|
|
HTTP/1.1 201
|
|
CONTENT-LENGTH: 255
|
|
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}/snapshots/{snapshot_id}/restore
|
|
|
|
{
|
|
"filename": "test.gns3",
|
|
"name": "test",
|
|
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo86kamvs/projects/130d7a29-9b49-4688-8cf2-074a0434eb7f",
|
|
"project_id": "130d7a29-9b49-4688-8cf2-074a0434eb7f",
|
|
"status": "opened"
|
|
}
|