1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 19:28:07 +00:00
gns3-server/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt
2019-10-23 22:00:00 +08:00

27 lines
820 B
Plaintext

curl -i -X POST 'http://localhost:3080/v2/projects/c1079254-d96a-49e6-b45f-2f61f29d2f06/links/b7f973c5-29ae-4c73-9762-f606aedfec58/start_capture' -d '{}'
POST /v2/projects/c1079254-d96a-49e6-b45f-2f61f29d2f06/links/b7f973c5-29ae-4c73-9762-f606aedfec58/start_capture HTTP/1.1
{}
HTTP/1.1 201
Connection: close
Content-Length: 320
Content-Type: application/json
Date: Wed, 23 Oct 2019 13:43:36 GMT
Server: Python/3.6 GNS3/2.2.1dev1
X-Route: /v2/projects/{project_id}/links/{link_id}/start_capture
{
"capture_compute_id": null,
"capture_file_name": null,
"capture_file_path": null,
"capturing": false,
"filters": {},
"link_id": "b7f973c5-29ae-4c73-9762-f606aedfec58",
"link_type": "ethernet",
"nodes": [],
"project_id": "c1079254-d96a-49e6-b45f-2f61f29d2f06",
"suspend": false
}