gns3-server/docs/api/examples/controller_get_projectsprojectidsnapshots.txt

23 lines
571 B
Plaintext
Raw Normal View History

2018-06-07 08:26:06 +00:00
curl -i -X GET 'http://localhost:3080/v2/projects/3fe938d6-ad14-4385-ba77-d8e79ef56021/snapshots'
2018-01-08 08:26:44 +00:00
2018-06-07 08:26:06 +00:00
GET /v2/projects/3fe938d6-ad14-4385-ba77-d8e79ef56021/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
2018-06-07 08:26:06 +00:00
Date: Thu, 07 Jun 2018 08:14:09 GMT
Server: Python/3.6 GNS3/2.1.7dev1
2018-01-08 08:26:44 +00:00
X-Route: /v2/projects/{project_id}/snapshots
[
{
2018-06-07 08:26:06 +00:00
"created_at": 1528359249,
2018-01-08 08:26:44 +00:00
"name": "test",
2018-06-07 08:26:06 +00:00
"project_id": "3fe938d6-ad14-4385-ba77-d8e79ef56021",
"snapshot_id": "ebc1cde0-9603-4994-b1f6-0091becc9567"
2018-01-08 08:26:44 +00:00
}
]