Commit inicial - estructura base del proyecto
This commit is contained in:
@@ -0,0 +1,119 @@
|
||||
[Skip to content](https://coolify.io/docs/api-reference/api/operations/create-env-by-application-uuid#VPContent)
|
||||
|
||||
Return to top
|
||||
|
||||
Create Env[](https://coolify.io/docs/api-reference/api/operations/create-env-by-application-uuid#create-env)
|
||||
|
||||
==============================================================================================================
|
||||
|
||||
POST
|
||||
|
||||
/applications/{uuid}/envs
|
||||
|
||||
Create env by application UUID.
|
||||
|
||||
Authorizations[](https://coolify.io/docs/api-reference/api/operations/create-env-by-application-uuid#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-env-by-application-uuid#parameters)
|
||||
|
||||
--------------------------------------------------------------------------------------------------------------
|
||||
|
||||
### Path Parameters
|
||||
|
||||
uuid\*
|
||||
|
||||
UUID of the application.
|
||||
|
||||
Type
|
||||
|
||||
string
|
||||
|
||||
Required
|
||||
|
||||
Request Body[](https://coolify.io/docs/api-reference/api/operations/create-env-by-application-uuid#request-body)
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
application/json
|
||||
|
||||
SchemaJSON
|
||||
|
||||
JSON
|
||||
|
||||
{
|
||||
|
||||
"key": "string",
|
||||
|
||||
"value": "string",
|
||||
|
||||
"is\_preview": true,
|
||||
|
||||
"is\_literal": true,
|
||||
|
||||
"is\_multiline": true,
|
||||
|
||||
"is\_shown\_once": true
|
||||
|
||||
}
|
||||
|
||||
Responses[](https://coolify.io/docs/api-reference/api/operations/create-env-by-application-uuid#responses)
|
||||
|
||||
------------------------------------------------------------------------------------------------------------
|
||||
|
||||
201400401404
|
||||
|
||||
Environment variable created.
|
||||
|
||||
Content-Type
|
||||
|
||||
application/json
|
||||
|
||||
SchemaJSON
|
||||
|
||||
JSON
|
||||
|
||||
{
|
||||
|
||||
"uuid": "nc0k04gk8g0cgsk440g0koko"
|
||||
|
||||
}
|
||||
|
||||
POST
|
||||
|
||||
/applications/{uuid}/envs
|
||||
|
||||
Playground[](https://coolify.io/docs/api-reference/api/operations/create-env-by-application-uuid#playground)
|
||||
|
||||
--------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Authorization
|
||||
|
||||
bearerAuth
|
||||
|
||||
Variables
|
||||
|
||||
Key
|
||||
|
||||
Value
|
||||
|
||||
uuid\*
|
||||
|
||||
Body
|
||||
|
||||
Try it out
|
||||
|
||||
Samples[](https://coolify.io/docs/api-reference/api/operations/create-env-by-application-uuid#samples)
|
||||
|
||||
--------------------------------------------------------------------------------------------------------
|
||||
|
||||
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)
|
||||
Reference in New Issue
Block a user