apps
Create a new environment for app
Create a new environment with specified configuration and resources for specified app.
post/apps/{appId}/environments
Request
- Base URLhttps://pmp-demo.privateplatform.mendix.com/deployservice/v1
- Auth
- HTTP basic
- or API key in header Authorization
Path parameters
appIdstring required
App Id
Request body
Example request
{
"displayName": "Env-Dev",
"clusterName": "cluster-dev",
"namespace": "namespace-dev",
"storagePlanName": "storage-dev",
"databasePlanName": "database-dev",
"deploymentPackageName": "mh-local-ui102413-5e6a49a5.mda",
"deploymentPurpose": "Development",
"coreResourcePlan": "low-level"
}Response
Response for async operations include create environment, deploy, apply config, start, stop and restart app.
Example response
{
"environmentId": "j60vwiju",
"pipelineId": 179862510118532200,
"message": "Request accepted, deploy app package started"
}Changes
No recorded changes to this operation across all 1 revision of this API.