gns3-server/docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt
2016-10-20 10:54:07 +02:00

23 lines
726 B
Plaintext

curl -i -X POST 'http://localhost:3080/v2/projects/f38ec238-1798-4f9a-9c96-4d22f4fad104/links/4e907632-11f1-4a26-9954-5cbce10d485e/stop_capture' -d '{}'
POST /v2/projects/f38ec238-1798-4f9a-9c96-4d22f4fad104/links/4e907632-11f1-4a26-9954-5cbce10d485e/stop_capture HTTP/1.1
{}
HTTP/1.1 201
Content-Length: 247
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:48 GMT
Server: Python/3.5 GNS3/2.0.0dev2
X-Route: /v2/projects/{project_id}/links/{link_id}/stop_capture
{
"capture_file_name": null,
"capture_file_path": null,
"capturing": false,
"link_id": "4e907632-11f1-4a26-9954-5cbce10d485e",
"link_type": "ethernet",
"nodes": [],
"project_id": "f38ec238-1798-4f9a-9c96-4d22f4fad104"
}