1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-04 06:08:08 +00:00
gns3-server/docs/api/examples/controller_get_projectsprojectidsnapshots.txt

23 lines
571 B
Plaintext
Raw Normal View History

curl -i -X GET 'http://localhost:3080/v2/projects/6249277b-6f3c-4ee7-b380-ccaa517bcd73/snapshots'
2018-01-08 08:26:44 +00:00
GET /v2/projects/6249277b-6f3c-4ee7-b380-ccaa517bcd73/snapshots HTTP/1.1
2018-01-08 08:26:44 +00:00
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
2018-01-08 08:26:44 +00:00
X-Route: /v2/projects/{project_id}/snapshots
[
{
"created_at": 1528965318,
2018-01-08 08:26:44 +00:00
"name": "test",
"project_id": "6249277b-6f3c-4ee7-b380-ccaa517bcd73",
"snapshot_id": "d9958ef7-315b-4a78-a32f-f58b4ccede5d"
2018-01-08 08:26:44 +00:00
}
]