1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-18 06:18:08 +00:00
gns3-server/docs/api/v2/controller/link/projectsprojectidlinkslinkidstopcapture.rst

26 lines
781 B
ReStructuredText
Raw Normal View History

/v2/projects/{project_id}/links/{link_id}/stop_capture
------------------------------------------------------------------------------------------------------------------------------------------
.. contents::
POST /v2/projects/**{project_id}**/links/**{link_id}**/stop_capture
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Stop capture on a link instance
Parameters
**********
2018-01-08 04:57:07 +00:00
- **project_id**: Project UUID
2018-01-08 08:26:44 +00:00
- **link_id**: Link UUID
Response status codes
**********************
2018-01-08 08:26:44 +00:00
- **400**: Invalid request
- **201**: Capture stopped
2018-01-08 08:26:44 +00:00
Sample session
***************
.. literalinclude:: ../../../examples/controller_post_projectsprojectidlinkslinkidstopcapture.txt
2017-03-21 12:32:04 +00:00