gns3-server/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt
2018-01-08 09:26:44 +01:00

26 lines
788 B
Plaintext

curl -i -X POST 'http://localhost:3080/v2/projects/b743b3a3-845f-4604-9459-d673fb3bc9c3/links/57a8d659-29a9-4cbd-888c-090d69a9eb35/start_capture' -d '{}'
POST /v2/projects/b743b3a3-845f-4604-9459-d673fb3bc9c3/links/57a8d659-29a9-4cbd-888c-090d69a9eb35/start_capture HTTP/1.1
{}
HTTP/1.1 201
Connection: close
Content-Length: 288
Content-Type: application/json
Date: Mon, 08 Jan 2018 08:16:36 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/projects/{project_id}/links/{link_id}/start_capture
{
"capture_file_name": null,
"capture_file_path": null,
"capturing": false,
"filters": {},
"link_id": "57a8d659-29a9-4cbd-888c-090d69a9eb35",
"link_type": "ethernet",
"nodes": [],
"project_id": "b743b3a3-845f-4604-9459-d673fb3bc9c3",
"suspend": false
}