1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-28 01:38:08 +00:00
gns3-server/scripts/docs/api/examples/controller_get_projectsprojectidsnapshots.txt
2018-11-21 14:12:38 +07:00

23 lines
571 B
Plaintext

curl -i -X GET 'http://localhost:3080/v2/projects/997abce5-c7e9-4eb1-b3ae-00da7d8da06a/snapshots'
GET /v2/projects/997abce5-c7e9-4eb1-b3ae-00da7d8da06a/snapshots HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 197
Content-Type: application/json
Date: Mon, 19 Nov 2018 18:34:15 GMT
Server: Python/3.6 GNS3/2.2.0dev4
X-Route: /v2/projects/{project_id}/snapshots
[
{
"created_at": 1542652454,
"name": "test",
"project_id": "997abce5-c7e9-4eb1-b3ae-00da7d8da06a",
"snapshot_id": "d62716a3-2b9a-48f5-8a41-d1e9b65f0880"
}
]