2018-11-20 09:21:32 +00:00
|
|
|
curl -i -X POST 'http://localhost:3080/v2/projects/de8cd9af-2b26-4ed4-b3ff-ed13da9b9215/links/04f6073e-c860-4a86-96c4-c0d55f0eedba/start_capture' -d '{}'
|
2018-01-08 08:26:44 +00:00
|
|
|
|
2018-11-20 09:21:32 +00:00
|
|
|
POST /v2/projects/de8cd9af-2b26-4ed4-b3ff-ed13da9b9215/links/04f6073e-c860-4a86-96c4-c0d55f0eedba/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 09:21:32 +00:00
|
|
|
Date: Tue, 20 Nov 2018 08:48:32 GMT
|
|
|
|
Server: Python/3.6 GNS3/2.2.0dev5
|
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 09:21:32 +00:00
|
|
|
"link_id": "04f6073e-c860-4a86-96c4-c0d55f0eedba",
|
2018-01-08 08:26:44 +00:00
|
|
|
"link_type": "ethernet",
|
|
|
|
"nodes": [],
|
2018-11-20 09:21:32 +00:00
|
|
|
"project_id": "de8cd9af-2b26-4ed4-b3ff-ed13da9b9215",
|
2018-01-08 08:26:44 +00:00
|
|
|
"suspend": false
|
|
|
|
}
|