gns3-server/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt

26 lines
788 B
Plaintext

curl -i -X POST 'http://localhost:3080/v2/projects/f9dc6b8e-4f33-472d-90cc-29dbd8d2cf5d/links/20448663-e1bf-499f-98aa-8f0e1943b2a9/start_capture' -d '{}'
POST /v2/projects/f9dc6b8e-4f33-472d-90cc-29dbd8d2cf5d/links/20448663-e1bf-499f-98aa-8f0e1943b2a9/start_capture HTTP/1.1
{}
HTTP/1.1 201
Connection: close
Content-Length: 288
Content-Type: application/json
Date: Tue, 20 Nov 2018 06:01:08 GMT
Server: Python/3.6 GNS3/2.2.0dev4
X-Route: /v2/projects/{project_id}/links/{link_id}/start_capture
{
"capture_file_name": null,
"capture_file_path": null,
"capturing": false,
"filters": {},
"link_id": "20448663-e1bf-499f-98aa-8f0e1943b2a9",
"link_type": "ethernet",
"nodes": [],
"project_id": "f9dc6b8e-4f33-472d-90cc-29dbd8d2cf5d",
"suspend": false
}