2018-11-20 06:04:27 +00:00
|
|
|
curl -i -X POST 'http://localhost:3080/v2/projects/f9dc6b8e-4f33-472d-90cc-29dbd8d2cf5d/links/20448663-e1bf-499f-98aa-8f0e1943b2a9/start_capture' -d '{}'
|
2018-01-08 08:26:44 +00:00
|
|
|
|
2018-11-20 06:04:27 +00:00
|
|
|
POST /v2/projects/f9dc6b8e-4f33-472d-90cc-29dbd8d2cf5d/links/20448663-e1bf-499f-98aa-8f0e1943b2a9/start_capture HTTP/1.1
|
2018-01-08 08:26:44 +00:00
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
|
|
HTTP/1.1 201
|
|
|
|
Connection: close
|
|
|
|
Content-Length: 288
|
|
|
|
Content-Type: application/json
|
2018-11-20 06:04:27 +00:00
|
|
|
Date: Tue, 20 Nov 2018 06:01:08 GMT
|
|
|
|
Server: Python/3.6 GNS3/2.2.0dev4
|
2018-01-08 08:26:44 +00:00
|
|
|
X-Route: /v2/projects/{project_id}/links/{link_id}/start_capture
|
|
|
|
|
|
|
|
{
|
|
|
|
"capture_file_name": null,
|
|
|
|
"capture_file_path": null,
|
|
|
|
"capturing": false,
|
|
|
|
"filters": {},
|
2018-11-20 06:04:27 +00:00
|
|
|
"link_id": "20448663-e1bf-499f-98aa-8f0e1943b2a9",
|
2018-01-08 08:26:44 +00:00
|
|
|
"link_type": "ethernet",
|
|
|
|
"nodes": [],
|
2018-11-20 06:04:27 +00:00
|
|
|
"project_id": "f9dc6b8e-4f33-472d-90cc-29dbd8d2cf5d",
|
2018-01-08 08:26:44 +00:00
|
|
|
"suspend": false
|
|
|
|
}
|