Create a new environment
  POST /api/v3/organizations/{organisation}/applications/{application}/environments    
 Authorizations
Parameters
Path Parameters
The organisation ID
The application ID
Request Body required
object
object
object
Name of the container
object
Specifies whether the image is internal (ECR) or external (e.g., Docker Hub)
The image identifier. For ‘internal’ type, this is the image tag. For ‘external’ type, this is the full image name.
Container-level CPU units
Container-level memory hard limit (MiB)
Container-level memory soft limit (MiB)
List of container ports to expose
object
The name of the logical volume
The path inside the container where the volume is mounted
Environment variables specific to this container
object
Environment variable name
Environment variable value
Secrets mapped to environment variables
object
The environment variable name to be set in the container
The key of the secret in the environment’s ‘app-secrets’ store
Container health check configuration
object
The command to run to determine if the container is healthy
Time period (seconds) between health checks
Time period (seconds) to wait for a health check to return
Number of times to retry a failed health check
Grace period (seconds) to ignore unhealthy checks after container starts
Container startup dependencies
object
The name of the container this container depends on
The condition to wait for on the dependency
Enable origin protection for all exposed ports on this container
Optional image tag suffix for cloning
Responses
201
The environment created
object
Image tag suffix for cloning
object
object
object
object
object
object
object
object
400
The environment data is invalid
