2018-06-14 08:39:31 +00:00
|
|
|
curl -i -X POST 'http://localhost:3080/v2/projects/405691bc-6538-4f45-b65f-e3309c3543ea/links/4fc4bbd0-38a2-4360-82ad-658636472f8a/start_capture' -d '{}'
|
2018-01-08 08:26:44 +00:00
|
|
|
|
2018-06-14 08:39:31 +00:00
|
|
|
POST /v2/projects/405691bc-6538-4f45-b65f-e3309c3543ea/links/4fc4bbd0-38a2-4360-82ad-658636472f8a/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-06-14 08:39:31 +00:00
|
|
|
Date: Thu, 14 Jun 2018 08:35:14 GMT
|
|
|
|
Server: Python/3.5 GNS3/2.1.8dev1
|
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-06-14 08:39:31 +00:00
|
|
|
"link_id": "4fc4bbd0-38a2-4360-82ad-658636472f8a",
|
2018-01-08 08:26:44 +00:00
|
|
|
"link_type": "ethernet",
|
|
|
|
"nodes": [],
|
2018-06-14 08:39:31 +00:00
|
|
|
"project_id": "405691bc-6538-4f45-b65f-e3309c3543ea",
|
2018-01-08 08:26:44 +00:00
|
|
|
"suspend": false
|
|
|
|
}
|