Commit inicial - estructura base del proyecto
This commit is contained in:
@@ -0,0 +1,117 @@
|
||||
[Skip to content](https://coolify.io/docs/api-reference/api/operations/create-database-mariadb#VPContent)
|
||||
|
||||
Return to top
|
||||
|
||||
Create (MariaDB)[](https://coolify.io/docs/api-reference/api/operations/create-database-mariadb#create-mariadb)
|
||||
|
||||
=================================================================================================================
|
||||
|
||||
POST
|
||||
|
||||
/databases/mariadb
|
||||
|
||||
Create a new MariaDB database.
|
||||
|
||||
Authorizations[](https://coolify.io/docs/api-reference/api/operations/create-database-mariadb#authorizations)
|
||||
|
||||
---------------------------------------------------------------------------------------------------------------
|
||||
|
||||
bearerAuth
|
||||
|
||||
Go to `Keys & Tokens` / `API tokens` and create a new token. Use the token as the bearer token.
|
||||
|
||||
Type
|
||||
|
||||
HTTP (bearer)
|
||||
|
||||
Request Body[](https://coolify.io/docs/api-reference/api/operations/create-database-mariadb#request-body)
|
||||
|
||||
-----------------------------------------------------------------------------------------------------------
|
||||
|
||||
application/json
|
||||
|
||||
SchemaJSON
|
||||
|
||||
JSON
|
||||
|
||||
{
|
||||
|
||||
"server\_uuid": "string",
|
||||
|
||||
"project\_uuid": "string",
|
||||
|
||||
"environment\_name": "string",
|
||||
|
||||
"environment\_uuid": "string",
|
||||
|
||||
"destination\_uuid": "string",
|
||||
|
||||
"mariadb\_conf": "string",
|
||||
|
||||
"mariadb\_root\_password": "string",
|
||||
|
||||
"mariadb\_user": "string",
|
||||
|
||||
"mariadb\_password": "string",
|
||||
|
||||
"mariadb\_database": "string",
|
||||
|
||||
"name": "string",
|
||||
|
||||
"description": "string",
|
||||
|
||||
"image": "string",
|
||||
|
||||
"is\_public": true,
|
||||
|
||||
"public\_port": 0,
|
||||
|
||||
"public\_port\_timeout": 0,
|
||||
|
||||
"limits\_memory": "string",
|
||||
|
||||
"limits\_memory\_swap": "string",
|
||||
|
||||
"limits\_memory\_swappiness": 0,
|
||||
|
||||
"limits\_memory\_reservation": "string",
|
||||
|
||||
"limits\_cpus": "string",
|
||||
|
||||
"limits\_cpuset": "string",
|
||||
|
||||
"limits\_cpu\_shares": 0,
|
||||
|
||||
"instant\_deploy": true
|
||||
|
||||
}
|
||||
|
||||
Responses[](https://coolify.io/docs/api-reference/api/operations/create-database-mariadb#responses)
|
||||
|
||||
-----------------------------------------------------------------------------------------------------
|
||||
|
||||
200400401422
|
||||
|
||||
Database updated
|
||||
|
||||
POST
|
||||
|
||||
/databases/mariadb
|
||||
|
||||
Playground[](https://coolify.io/docs/api-reference/api/operations/create-database-mariadb#playground)
|
||||
|
||||
-------------------------------------------------------------------------------------------------------
|
||||
|
||||
Authorization
|
||||
|
||||
bearerAuth
|
||||
|
||||
Body
|
||||
|
||||
Try it out
|
||||
|
||||
Samples[](https://coolify.io/docs/api-reference/api/operations/create-database-mariadb#samples)
|
||||
|
||||
-------------------------------------------------------------------------------------------------
|
||||
|
||||
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)
|
||||
Reference in New Issue
Block a user