Commit inicial - estructura base del proyecto
This commit is contained in:
@@ -0,0 +1,109 @@
|
||||
[Skip to content](https://coolify.io/docs/api-reference/api/operations/create-database-dragonfly#VPContent)
|
||||
|
||||
Return to top
|
||||
|
||||
Create (DragonFly)[](https://coolify.io/docs/api-reference/api/operations/create-database-dragonfly#create-dragonfly)
|
||||
|
||||
=======================================================================================================================
|
||||
|
||||
POST
|
||||
|
||||
/databases/dragonfly
|
||||
|
||||
Create a new DragonFly database.
|
||||
|
||||
Authorizations[](https://coolify.io/docs/api-reference/api/operations/create-database-dragonfly#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-dragonfly#request-body)
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
|
||||
application/json
|
||||
|
||||
SchemaJSON
|
||||
|
||||
JSON
|
||||
|
||||
{
|
||||
|
||||
"server\_uuid": "string",
|
||||
|
||||
"project\_uuid": "string",
|
||||
|
||||
"environment\_name": "string",
|
||||
|
||||
"environment\_uuid": "string",
|
||||
|
||||
"destination\_uuid": "string",
|
||||
|
||||
"dragonfly\_password": "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-dragonfly#responses)
|
||||
|
||||
-------------------------------------------------------------------------------------------------------
|
||||
|
||||
200400401422
|
||||
|
||||
Database updated
|
||||
|
||||
POST
|
||||
|
||||
/databases/dragonfly
|
||||
|
||||
Playground[](https://coolify.io/docs/api-reference/api/operations/create-database-dragonfly#playground)
|
||||
|
||||
---------------------------------------------------------------------------------------------------------
|
||||
|
||||
Authorization
|
||||
|
||||
bearerAuth
|
||||
|
||||
Body
|
||||
|
||||
Try it out
|
||||
|
||||
Samples[](https://coolify.io/docs/api-reference/api/operations/create-database-dragonfly#samples)
|
||||
|
||||
---------------------------------------------------------------------------------------------------
|
||||
|
||||
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)
|
||||
Reference in New Issue
Block a user