1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-25 01:38:08 +00:00
gns3-server/docs/api/examples/controller_get_projectsprojectidsnapshots.txt

23 lines
571 B
Plaintext
Raw Normal View History

2020-01-08 02:52:15 +00:00
curl -i -X GET 'http://localhost:3080/v2/projects/39be72f3-b049-49f9-8cb4-d0c7c381f8a9/snapshots'
2018-01-08 08:26:44 +00:00
2020-01-08 02:52:15 +00:00
GET /v2/projects/39be72f3-b049-49f9-8cb4-d0c7c381f8a9/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
2020-01-08 02:52:15 +00:00
Date: Wed, 08 Jan 2020 02:28:38 GMT
Server: Python/3.6 GNS3/2.2.4dev1
2018-01-08 08:26:44 +00:00
X-Route: /v2/projects/{project_id}/snapshots
[
{
2020-01-08 02:52:15 +00:00
"created_at": 1578450515,
2018-01-08 08:26:44 +00:00
"name": "test",
2020-01-08 02:52:15 +00:00
"project_id": "39be72f3-b049-49f9-8cb4-d0c7c381f8a9",
"snapshot_id": "9739f956-fb70-4424-bb44-a101f52f4e59"
2018-01-08 08:26:44 +00:00
}
]