Databases
Create (MongoDB)
Create a new MongoDB database.
post/databases/mongodb
Request body
server_uuidstring required
UUID of the server
project_uuidstring required
UUID of the project
environment_namestring required
Name of the environment. You need to provide at least one of environment_name or environment_uuid.
environment_uuidstring required
UUID of the environment. You need to provide at least one of environment_name or environment_uuid.
destination_uuidstring
UUID of the destination if the server has multiple destinations
mongo_confstring
MongoDB conf
mongo_initdb_root_usernamestring
MongoDB initdb root username
namestring
Name of the database
descriptionstring
Description of the database
imagestring
Docker Image of the database
is_publicboolean
Is the database public?
public_portinteger
Public port of the database
limits_memorystring
Memory limit of the database
limits_memory_swapstring
Memory swap limit of the database
limits_memory_swappinessinteger
Memory swappiness of the database
limits_memory_reservationstring
Memory reservation of the database
limits_cpusstring
CPU limit of the database
limits_cpusetstring
CPU set of the database
limits_cpu_sharesinteger
CPU shares of the database
instant_deployboolean
Instant deploy the database
Response
Database updated