1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-04 22:28:12 +00:00
gns3-server/docs/api/v2/compute/network/projectsprojectidportsudp.rst

25 lines
729 B
ReStructuredText
Raw Normal View History

2016-04-18 14:58:06 +00:00
/v2/compute/projects/{project_id}/ports/udp
------------------------------------------------------------------------------------------------------------------------------------------
.. contents::
POST /v2/compute/projects/**{project_id}**/ports/udp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Allocate an UDP port on the server
Parameters
**********
2016-06-04 08:40:39 +00:00
- **project_id**: Project UUID
2016-04-18 14:58:06 +00:00
Response status codes
**********************
- **201**: UDP port allocated
- **404**: The project doesn't exist
2017-03-21 12:32:04 +00:00
Sample session
***************
.. literalinclude:: ../../../examples/compute_post_projectsprojectidportsudp.txt