130 lines
2.4 KiB
Markdown
130 lines
2.4 KiB
Markdown
[Skip to content](https://coolify.io/docs/api-reference/api/operations/list-envs-by-application-uuid#VPContent)
|
||
|
||
Return to top
|
||
|
||
List Envs[](https://coolify.io/docs/api-reference/api/operations/list-envs-by-application-uuid#list-envs)
|
||
|
||
===========================================================================================================
|
||
|
||
GET
|
||
|
||
/applications/{uuid}/envs
|
||
|
||
List all envs by application UUID.
|
||
|
||
Authorizations[](https://coolify.io/docs/api-reference/api/operations/list-envs-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/list-envs-by-application-uuid#parameters)
|
||
|
||
-------------------------------------------------------------------------------------------------------------
|
||
|
||
### Path Parameters
|
||
|
||
uuid\*
|
||
|
||
UUID of the application.
|
||
|
||
Type
|
||
|
||
string
|
||
|
||
Required
|
||
|
||
Responses[](https://coolify.io/docs/api-reference/api/operations/list-envs-by-application-uuid#responses)
|
||
|
||
-----------------------------------------------------------------------------------------------------------
|
||
|
||
200400401404
|
||
|
||
All environment variables by application UUID.
|
||
|
||
Content-Type
|
||
|
||
application/json
|
||
|
||
SchemaJSON
|
||
|
||
JSON
|
||
|
||
\[\
|
||
\
|
||
{\
|
||
\
|
||
"id": 0,\
|
||
\
|
||
"uuid": "string",\
|
||
\
|
||
"resourceable\_type": "string",\
|
||
\
|
||
"resourceable\_id": 0,\
|
||
\
|
||
"is\_literal": true,\
|
||
\
|
||
"is\_multiline": true,\
|
||
\
|
||
"is\_preview": true,\
|
||
\
|
||
"is\_runtime": true,\
|
||
\
|
||
"is\_buildtime": true,\
|
||
\
|
||
"is\_shared": true,\
|
||
\
|
||
"is\_shown\_once": true,\
|
||
\
|
||
"key": "string",\
|
||
\
|
||
"value": "string",\
|
||
\
|
||
"real\_value": "string",\
|
||
\
|
||
"comment": "string",\
|
||
\
|
||
"version": "string",\
|
||
\
|
||
"created\_at": "string",\
|
||
\
|
||
"updated\_at": "string"\
|
||
\
|
||
}\
|
||
\
|
||
\]
|
||
|
||
GET
|
||
|
||
/applications/{uuid}/envs
|
||
|
||
Playground[](https://coolify.io/docs/api-reference/api/operations/list-envs-by-application-uuid#playground)
|
||
|
||
-------------------------------------------------------------------------------------------------------------
|
||
|
||
Authorization
|
||
|
||
bearerAuth
|
||
|
||
Variables
|
||
|
||
Key
|
||
|
||
Value
|
||
|
||
uuid\*
|
||
|
||
Try it out
|
||
|
||
Samples[](https://coolify.io/docs/api-reference/api/operations/list-envs-by-application-uuid#samples)
|
||
|
||
-------------------------------------------------------------------------------------------------------
|
||
|
||
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)
|