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-environment#VPContent)
|
||||
|
||||
Return to top
|
||||
|
||||
Create Environment[](https://coolify.io/docs/api-reference/api/operations/create-environment#create-environment)
|
||||
|
||||
==================================================================================================================
|
||||
|
||||
POST
|
||||
|
||||
/projects/{uuid}/environments
|
||||
|
||||
Create environment in project.
|
||||
|
||||
Authorizations[](https://coolify.io/docs/api-reference/api/operations/create-environment#authorizations)
|
||||
|
||||
----------------------------------------------------------------------------------------------------------
|
||||
|
||||
bearerAuth
|
||||
|
||||
Go to `Keys & Tokens` / `API tokens` and create a new token. Use the token as the bearer token.
|
||||
|
||||
Type
|
||||
|
||||
HTTP (bearer)
|
||||
|
||||
Parameters[](https://coolify.io/docs/api-reference/api/operations/create-environment#parameters)
|
||||
|
||||
--------------------------------------------------------------------------------------------------
|
||||
|
||||
### Path Parameters
|
||||
|
||||
uuid\*
|
||||
|
||||
Project UUID
|
||||
|
||||
Type
|
||||
|
||||
string
|
||||
|
||||
Required
|
||||
|
||||
Request Body[](https://coolify.io/docs/api-reference/api/operations/create-environment#request-body)
|
||||
|
||||
------------------------------------------------------------------------------------------------------
|
||||
|
||||
application/json
|
||||
|
||||
SchemaJSON
|
||||
|
||||
JSON
|
||||
|
||||
{
|
||||
|
||||
"name": "string"
|
||||
|
||||
}
|
||||
|
||||
Responses[](https://coolify.io/docs/api-reference/api/operations/create-environment#responses)
|
||||
|
||||
------------------------------------------------------------------------------------------------
|
||||
|
||||
201
|
||||
|
||||
Environment created.
|
||||
|
||||
Content-Type
|
||||
|
||||
application/json
|
||||
|
||||
SchemaJSON
|
||||
|
||||
JSON
|
||||
|
||||
{
|
||||
|
||||
"uuid": "env123"
|
||||
|
||||
}
|
||||
|
||||
POST
|
||||
|
||||
/projects/{uuid}/environments
|
||||
|
||||
Playground[](https://coolify.io/docs/api-reference/api/operations/create-environment#playground)
|
||||
|
||||
--------------------------------------------------------------------------------------------------
|
||||
|
||||
Authorization
|
||||
|
||||
bearerAuth
|
||||
|
||||
Variables
|
||||
|
||||
Key
|
||||
|
||||
Value
|
||||
|
||||
uuid\*
|
||||
|
||||
Body
|
||||
|
||||
Try it out
|
||||
|
||||
Samples[](https://coolify.io/docs/api-reference/api/operations/create-environment#samples)
|
||||
|
||||
--------------------------------------------------------------------------------------------
|
||||
|
||||
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)
|
||||
Reference in New Issue
Block a user