1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-26 16:58:28 +00:00
gns3-server/docs/api/examples/controller_post_projectsprojectidlinkslinkidstartcapture.txt

26 lines
788 B
Plaintext
Raw Normal View History

curl -i -X POST 'http://localhost:3080/v2/projects/bc967caa-809e-461f-8a6a-2dae43dc34f9/links/2353f676-4d01-4f2d-b3cc-7e2fbca85d84/start_capture' -d '{}'
2018-01-08 08:26:44 +00:00
POST /v2/projects/bc967caa-809e-461f-8a6a-2dae43dc34f9/links/2353f676-4d01-4f2d-b3cc-7e2fbca85d84/start_capture HTTP/1.1
2018-01-08 08:26:44 +00:00
{}
HTTP/1.1 201
Connection: close
Content-Length: 288
Content-Type: application/json
Date: Tue, 27 Nov 2018 15:09:39 GMT
Server: Python/3.6 GNS3/2.2.0dev5
2018-01-08 08:26:44 +00:00
X-Route: /v2/projects/{project_id}/links/{link_id}/start_capture
{
"capture_file_name": null,
"capture_file_path": null,
"capturing": false,
"filters": {},
"link_id": "2353f676-4d01-4f2d-b3cc-7e2fbca85d84",
2018-01-08 08:26:44 +00:00
"link_type": "ethernet",
"nodes": [],
"project_id": "bc967caa-809e-461f-8a6a-2dae43dc34f9",
2018-01-08 08:26:44 +00:00
"suspend": false
}