Create customer application recipe
create_application_recipeCreate an immutable application recipe revision by resolving image tags, validating a digest-pinned Compose definition, and saving it without installing containers.
Instructions
Resolve image tags from their registries, validate the resulting digest-pinned Compose definition, and freeze that exact definition as the first immutable customer-owned recipe revision. This saves a definition only and does not install or start containers. If validation remains pending, retain its ID and resolved_compose_yaml, poll get_application_recipe_validation, then retry with validation_id and that exact pinned document. Plain environment values belong in env; secret_names contain names only. Confirm the exact service, name, Compose definition, variable names, and registry bindings first. Requires applications:manage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Plain, non-secret environment values. Put secret values in the install tool's secrets field. | |
| name | Yes | Lowercase customer recipe name, 2-41 characters | |
| orderNo | Yes | Tenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1 | |
| confirmed | Yes | True only after the user confirmed this immutable recipe definition | |
| compose_yaml | Yes | Docker Compose YAML. Mutable image tags are resolved once and replaced with immutable sha256 digests before worker validation. | |
| secret_names | No | Secret variable names only; definitions and exports never contain values | |
| validation_id | No | Resume only the exact successful validation for this service and digest-pinned compose_yaml; retain the initial resolved document | |
| idempotencyKey | Yes | Client-global unique key. Reuse it only to replay this exact recipe creation request. | |
| registry_credential_ids | No | Owned registry credential UUIDs from list_application_registry_credentials |