Save a Blossom App Plan from a Git repository: what it creates and its Capacity effect. Saving is free; app_plan_deploy deploys it.
Arguments
| Argument |
Type |
Description |
data |
object |
Required. |
data.app_name |
string |
An existing App gets a new Environment. |
data.environment_name |
string |
— |
data.clone_url |
string |
— |
data.repository_type |
string |
private needs a connected Git provider. One of: public, private. |
data.subfolder |
string |
Repository folder to deploy. |
data.quickstart |
string |
Key from catalog_list with kind quickstart. |
data.services |
object list |
— |
data.services[].name |
string |
— |
data.services[].image |
string |
Override the Environment image. |
data.services[].entrypoint |
string |
— |
data.services[].command |
string |
Start command or Procfile process. |
data.services[].port |
integer |
— |
data.services[].publicly_exposed |
boolean |
— |
data.services[].paths |
string list |
— |
data.services[].resources |
object |
— |
data.env_vars |
object |
— |
data.database_instance_id |
string |
— |
data.cache_instance_id |
string |
— |
data.location_id |
string |
Uses the default Location if omitted. |
location |
string |
Location id; defaults to the Account’s default Location. |
note |
string |
Note for the plan reviewer. |
prepared_by |
string |
Name of the agent preparing the plan. |
Example
{"data":{"clone_url":"https://github.com/acme/shop","services":[{"name":"web","command":"web","port":3000,"publicly_exposed":true}]}}