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

25 lines
749 B
ReStructuredText
Raw Normal View History

2016-03-07 16:57:12 +00:00
/v2/hypervisor/projects/{project_id}/ports/udp
------------------------------------------------------------------------------------------------------------------------------------------
2015-02-04 09:31:31 +00:00
.. contents::
2016-03-07 16:57:12 +00:00
POST /v2/hypervisor/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/hypervisor_post_projectsprojectidportsudp.txt
2015-02-24 10:38:57 +00:00