gns3-server/docs/api/examples/controller_get_projectsprojectidsnapshots.txt
2016-09-27 17:15:40 +02:00

22 lines
553 B
Plaintext

curl -i -X GET 'http://localhost:3080/v2/projects/e6ebdced-ee5e-4af0-8d1e-8a377fb9ee41/snapshots'
GET /v2/projects/e6ebdced-ee5e-4af0-8d1e-8a377fb9ee41/snapshots HTTP/1.1
HTTP/1.1 200
Content-Length: 197
Content-Type: application/json
Date: Tue, 27 Sep 2016 10:01:24 GMT
Server: Python/3.5 GNS3/2.0.0dev1
X-Route: /v2/projects/{project_id}/snapshots
[
{
"created_at": 1474970484,
"name": "test",
"project_id": "e6ebdced-ee5e-4af0-8d1e-8a377fb9ee41",
"snapshot_id": "472104bf-b65c-4d6d-b288-5bf3981826e5"
}
]