publish_stack_profile_draft
Publish a stack profile builder draft as a profile version. A new-profile draft creates the profile (version 1, organisation-visible); a draft editing an existing profile adds the next version. Publish validates the draft (at least one addon or manifest, parents resolve, no plaintext secrets) and redacts ANKRA_SECRET_PARAMETER placeholders into required parameters; validation errors are returned with the offending resources so they can be fixed with the draft edit tools. The draft is consumed on success. Nothing deploys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No | Release channel for the version. | stable |
| draft_id | No | UUID of the stack profile builder draft. Defaults to the draft from the current page context, or the organisation's only open draft. | |
| changelog | No | Changelog entry for the published version. |