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

25 lines
749 B
ReStructuredText
Raw Normal View History

/v1/hypervisor/projects/{project_id}/ports/udp
------------------------------------------------------------------------------------------------------------------------------------------
2015-02-04 09:31:31 +00:00
.. contents::
POST /v1/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