1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-10-11 10:28:56 +00:00
gns3-server/docs/api/v1/network/projectsprojectidportsudp.rst

25 lines
677 B
ReStructuredText
Raw Normal View History

/v1/projects/{project_id}/ports/udp
----------------------------------------------------------------------------------------------------------------------
2015-02-04 09:31:31 +00:00
.. contents::
POST /v1/projects/**{project_id}**/ports/udp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2015-02-04 09:31:31 +00:00
Allocate an UDP port on the server
Parameters
**********
- **project_id**: The UUID of the project
2015-02-04 09:31:31 +00:00
Response status codes
**********************
- **201**: UDP port allocated
- **404**: The project doesn't exist
2015-02-04 09:31:31 +00:00
2015-02-24 10:38:57 +00:00
Sample session
***************
.. literalinclude:: ../../examples/post_projectsprojectidportsudp.txt
2015-02-24 10:38:57 +00:00