1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-11 09:38:08 +00:00
gns3-server/docs/api/v1/server/network/projectsprojectidportsudp.rst

25 lines
680 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
***************
2016-03-04 16:50:17 +00:00
.. literalinclude:: ../../../examples/post_projectsprojectidportsudp.txt
2015-02-24 10:38:57 +00:00