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