Commit inicial - estructura base del proyecto
This commit is contained in:
@@ -0,0 +1,101 @@
|
||||
[Skip to content](https://coolify.io/docs/api-reference/api/operations/create-server#VPContent)
|
||||
|
||||
Return to top
|
||||
|
||||
Create[](https://coolify.io/docs/api-reference/api/operations/create-server#create)
|
||||
|
||||
=====================================================================================
|
||||
|
||||
POST
|
||||
|
||||
/servers
|
||||
|
||||
Create Server.
|
||||
|
||||
Authorizations[](https://coolify.io/docs/api-reference/api/operations/create-server#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-server#request-body)
|
||||
|
||||
-------------------------------------------------------------------------------------------------
|
||||
|
||||
application/json
|
||||
|
||||
SchemaJSON
|
||||
|
||||
JSON
|
||||
|
||||
{
|
||||
|
||||
"name": "My Server",
|
||||
|
||||
"description": "My Server Description",
|
||||
|
||||
"ip": "127.0.0.1",
|
||||
|
||||
"port": 22,
|
||||
|
||||
"user": "root",
|
||||
|
||||
"private\_key\_uuid": "og888os",
|
||||
|
||||
"is\_build\_server": false,
|
||||
|
||||
"instant\_validate": false,
|
||||
|
||||
"proxy\_type": "traefik"
|
||||
|
||||
}
|
||||
|
||||
Responses[](https://coolify.io/docs/api-reference/api/operations/create-server#responses)
|
||||
|
||||
-------------------------------------------------------------------------------------------
|
||||
|
||||
201400401404422
|
||||
|
||||
Server created.
|
||||
|
||||
Content-Type
|
||||
|
||||
application/json
|
||||
|
||||
SchemaJSON
|
||||
|
||||
JSON
|
||||
|
||||
{
|
||||
|
||||
"uuid": "og888os"
|
||||
|
||||
}
|
||||
|
||||
POST
|
||||
|
||||
/servers
|
||||
|
||||
Playground[](https://coolify.io/docs/api-reference/api/operations/create-server#playground)
|
||||
|
||||
---------------------------------------------------------------------------------------------
|
||||
|
||||
Authorization
|
||||
|
||||
bearerAuth
|
||||
|
||||
Body
|
||||
|
||||
Try it out
|
||||
|
||||
Samples[](https://coolify.io/docs/api-reference/api/operations/create-server#samples)
|
||||
|
||||
---------------------------------------------------------------------------------------
|
||||
|
||||
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)
|
||||
Reference in New Issue
Block a user