1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-28 01:38:08 +00:00
gns3-server/scripts/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt
2018-11-21 14:12:38 +07:00

26 lines
788 B
Plaintext

curl -i -X POST 'http://localhost:3080/v2/projects/dd47187c-5b60-4d9f-a7bc-504e460b97d5/links/98b988ec-1340-412a-a2c0-37b6ac1bf024/start_capture' -d '{}'
POST /v2/projects/dd47187c-5b60-4d9f-a7bc-504e460b97d5/links/98b988ec-1340-412a-a2c0-37b6ac1bf024/start_capture HTTP/1.1
{}
HTTP/1.1 201
Connection: close
Content-Length: 288
Content-Type: application/json
Date: Mon, 19 Nov 2018 18:34:05 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": "98b988ec-1340-412a-a2c0-37b6ac1bf024",
"link_type": "ethernet",
"nodes": [],
"project_id": "dd47187c-5b60-4d9f-a7bc-504e460b97d5",
"suspend": false
}