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