1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 17:28:08 +00:00
gns3-server/docs/api/examples/controller_get_projectsprojectidsnapshots.txt
2016-08-29 15:58:29 +02:00

22 lines
553 B
Plaintext

curl -i -X GET 'http://localhost:3080/v2/projects/444dfb21-bf9d-46ca-badb-e22095d42a01/snapshots'
GET /v2/projects/444dfb21-bf9d-46ca-badb-e22095d42a01/snapshots HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 197
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/projects/{project_id}/snapshots
[
{
"created_at": 1472479063,
"name": "test",
"project_id": "444dfb21-bf9d-46ca-badb-e22095d42a01",
"snapshot_id": "f6e5b3e5-c34c-4aaf-a464-ca120a551c18"
}
]