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-mysql#VPContent)
|
||||
|
||||
Return to top
|
||||
|
||||
Create (MySQL)[](https://coolify.io/docs/api-reference/api/operations/create-database-mysql#create-mysql)
|
||||
|
||||
===========================================================================================================
|
||||
|
||||
POST
|
||||
|
||||
/databases/mysql
|
||||
|
||||
Create a new MySQL database.
|
||||
|
||||
Authorizations[](https://coolify.io/docs/api-reference/api/operations/create-database-mysql#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-mysql#request-body)
|
||||
|
||||
---------------------------------------------------------------------------------------------------------
|
||||
|
||||
application/json
|
||||
|
||||
SchemaJSON
|
||||
|
||||
JSON
|
||||
|
||||
{
|
||||
|
||||
"server\_uuid": "string",
|
||||
|
||||
"project\_uuid": "string",
|
||||
|
||||
"environment\_name": "string",
|
||||
|
||||
"environment\_uuid": "string",
|
||||
|
||||
"destination\_uuid": "string",
|
||||
|
||||
"mysql\_root\_password": "string",
|
||||
|
||||
"mysql\_password": "string",
|
||||
|
||||
"mysql\_user": "string",
|
||||
|
||||
"mysql\_database": "string",
|
||||
|
||||
"mysql\_conf": "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-mysql#responses)
|
||||
|
||||
---------------------------------------------------------------------------------------------------
|
||||
|
||||
200400401422
|
||||
|
||||
Database updated
|
||||
|
||||
POST
|
||||
|
||||
/databases/mysql
|
||||
|
||||
Playground[](https://coolify.io/docs/api-reference/api/operations/create-database-mysql#playground)
|
||||
|
||||
-----------------------------------------------------------------------------------------------------
|
||||
|
||||
Authorization
|
||||
|
||||
bearerAuth
|
||||
|
||||
Body
|
||||
|
||||
Try it out
|
||||
|
||||
Samples[](https://coolify.io/docs/api-reference/api/operations/create-database-mysql#samples)
|
||||
|
||||
-----------------------------------------------------------------------------------------------
|
||||
|
||||
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)
|
||||
Reference in New Issue
Block a user