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

23 lines
571 B
Plaintext

curl -i -X GET 'http://localhost:3080/v2/projects/e2f01239-8d66-4953-832d-4a858fa31187/snapshots'
GET /v2/projects/e2f01239-8d66-4953-832d-4a858fa31187/snapshots HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 197
Content-Type: application/json
Date: Tue, 20 Nov 2018 08:48:42 GMT
Server: Python/3.6 GNS3/2.2.0dev5
X-Route: /v2/projects/{project_id}/snapshots
[
{
"created_at": 1542703721,
"name": "test",
"project_id": "e2f01239-8d66-4953-832d-4a858fa31187",
"snapshot_id": "dae76de9-664f-43ee-ab44-5d845e2e091d"
}
]