1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-25 01:38:08 +00:00
gns3-server/docs/api/examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt

26 lines
785 B
Plaintext
Raw Normal View History

curl -i -X POST 'http://localhost:3080/v2/projects/dc8a6468-3065-4e5f-b656-54a8a74f6599/links/96548072-70ee-4c76-87e1-4aa428eda20a/stop_capture' -d '{}'
2018-01-08 08:26:44 +00:00
POST /v2/projects/dc8a6468-3065-4e5f-b656-54a8a74f6599/links/96548072-70ee-4c76-87e1-4aa428eda20a/stop_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: Thu, 14 Jun 2018 08:35:14 GMT
Server: Python/3.5 GNS3/2.1.8dev1
2018-01-08 08:26:44 +00:00
X-Route: /v2/projects/{project_id}/links/{link_id}/stop_capture
{
"capture_file_name": null,
"capture_file_path": null,
"capturing": false,
"filters": {},
"link_id": "96548072-70ee-4c76-87e1-4aa428eda20a",
2018-01-08 08:26:44 +00:00
"link_type": "ethernet",
"nodes": [],
"project_id": "dc8a6468-3065-4e5f-b656-54a8a74f6599",
2018-01-08 08:26:44 +00:00
"suspend": false
}