2018-08-16 14:31:56 +00:00
|
|
|
curl -i -X POST 'http://localhost:3080/v2/projects/48ce78cb-6f2b-4d63-9c01-614082a3099d/links/9404a03e-98c2-490f-b69a-22bd10cd5406/stop_capture' -d '{}'
|
2018-01-08 08:26:44 +00:00
|
|
|
|
2018-08-16 14:31:56 +00:00
|
|
|
POST /v2/projects/48ce78cb-6f2b-4d63-9c01-614082a3099d/links/9404a03e-98c2-490f-b69a-22bd10cd5406/stop_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-08-16 14:31:56 +00:00
|
|
|
Date: Thu, 16 Aug 2018 14:23:22 GMT
|
|
|
|
Server: Python/3.5 GNS3/2.2.0dev2
|
2018-01-08 08:26:44 +00:00
|
|
|
X-Route: /v2/projects/{project_id}/links/{link_id}/stop_capture
|
|
|
|
|
|
|
|
{
|
|
|
|
"capture_file_name": null,
|
|
|
|
"capture_file_path": null,
|
|
|
|
"capturing": false,
|
|
|
|
"filters": {},
|
2018-08-16 14:31:56 +00:00
|
|
|
"link_id": "9404a03e-98c2-490f-b69a-22bd10cd5406",
|
2018-01-08 08:26:44 +00:00
|
|
|
"link_type": "ethernet",
|
|
|
|
"nodes": [],
|
2018-08-16 14:31:56 +00:00
|
|
|
"project_id": "48ce78cb-6f2b-4d63-9c01-614082a3099d",
|
2018-01-08 08:26:44 +00:00
|
|
|
"suspend": false
|
|
|
|
}
|