Get env file content
Returns the content of an environment file. Defaults to .env if no file query parameter is specified.
Path parameters
Stack directory name. Must match ^[a-zA-Z0-9_-]+$ (alphanumeric characters, hyphens, and underscores only). Returns 400 Invalid stack name if the name contains path separators, dots, spaces, or other special characters.
Query parameters
Path to a specific env file (must be in the resolved env files list).
Headers
Target a specific node by ID. If omitted, the default node is used. Can also be passed as ?nodeId= query parameter.
Response
Raw env file content (KEY=VALUE format).
Changes
Changed in 3 of the 36 revisions of this API.136
- ○
removed the
ADMIRAL_REQUIREDenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
ADMIRAL_REQUIREDenum value from thecoderesponse property for the response status404response-property-enum-value-removed
- ○
removed the
ADMIRAL_REQUIREDenum value from thecoderesponse property for the response status500response-property-enum-value-removed
- ○
- ●
added the new
PAID_REQUIREDenum value to thecoderesponse property for the response status400response-property-enum-value-added
- ●
added the new
PAID_REQUIREDenum value to thecoderesponse property for the response status404response-property-enum-value-added
- ●
added the new
PAID_REQUIREDenum value to thecoderesponse property for the response status500response-property-enum-value-added
- ○
removed the
PRO_REQUIREDenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
PRO_REQUIREDenum value from thecoderesponse property for the response status404response-property-enum-value-removed
- ○
removed the
PRO_REQUIREDenum value from thecoderesponse property for the response status500response-property-enum-value-removed
- ●
- ▲
added the pattern
^[a-zA-Z0-9_-]+$to thepathrequest parameterstackNamerequest-parameter-pattern-added
- ▲