1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00
gns3-server/docs/api/examples/controller_get_projectsprojectidsnapshots.txt
grossmj 0f496907a0 Fix API status code for start/stop/suspend/reload a node. Fixes #1353.
Fix issues with test.
Update documentation.
2018-06-14 16:39:32 +08:00

23 lines
571 B
Plaintext

curl -i -X GET 'http://localhost:3080/v2/projects/6249277b-6f3c-4ee7-b380-ccaa517bcd73/snapshots'
GET /v2/projects/6249277b-6f3c-4ee7-b380-ccaa517bcd73/snapshots HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 197
Content-Type: application/json
Date: Thu, 14 Jun 2018 08:35:18 GMT
Server: Python/3.5 GNS3/2.1.8dev1
X-Route: /v2/projects/{project_id}/snapshots
[
{
"created_at": 1528965318,
"name": "test",
"project_id": "6249277b-6f3c-4ee7-b380-ccaa517bcd73",
"snapshot_id": "d9958ef7-315b-4a78-a32f-f58b4ccede5d"
}
]