1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-28 01:38: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/c0e03ceb-f437-4661-ab07-06505b600540/snapshots'
2018-01-08 08:26:44 +00:00
GET /v2/projects/c0e03ceb-f437-4661-ab07-06505b600540/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, 16 Aug 2018 14:23:27 GMT
Server: Python/3.5 GNS3/2.2.0dev2
2018-01-08 08:26:44 +00:00
X-Route: /v2/projects/{project_id}/snapshots
[
{
"created_at": 1534429407,
2018-01-08 08:26:44 +00:00
"name": "test",
"project_id": "c0e03ceb-f437-4661-ab07-06505b600540",
"snapshot_id": "a7da0f6b-f266-48b3-bbef-09a004d9287d"
2018-01-08 08:26:44 +00:00
}
]