1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-01 04:38:12 +00:00
gns3-server/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt
grossmj 7f72b90b0e The server has now 2 notification streams
* A new one for controller related events (compute, appliance templates etc.)
* The existing one for project related events (links, nodes etc.)
2018-08-16 21:31:57 +07:00

26 lines
788 B
Plaintext

curl -i -X POST 'http://localhost:3080/v2/projects/8708a1a4-7a14-470a-b618-2b964059b0cc/links/70d4893a-534d-4e75-9668-8206ecb811f3/start_capture' -d '{}'
POST /v2/projects/8708a1a4-7a14-470a-b618-2b964059b0cc/links/70d4893a-534d-4e75-9668-8206ecb811f3/start_capture HTTP/1.1
{}
HTTP/1.1 201
Connection: close
Content-Length: 288
Content-Type: application/json
Date: Thu, 16 Aug 2018 14:23:22 GMT
Server: Python/3.5 GNS3/2.2.0dev2
X-Route: /v2/projects/{project_id}/links/{link_id}/start_capture
{
"capture_file_name": null,
"capture_file_path": null,
"capturing": false,
"filters": {},
"link_id": "70d4893a-534d-4e75-9668-8206ecb811f3",
"link_type": "ethernet",
"nodes": [],
"project_id": "8708a1a4-7a14-470a-b618-2b964059b0cc",
"suspend": false
}