mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 19:28:07 +00:00
26 lines
788 B
Plaintext
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
|
||
|
}
|