Deploy Application Demo
Deploy a throwaway demo of the application onto the organisation’s staging cluster. Provide exactly one of branch or a positive pr_number; PR demos additionally require an explicit image_tag. Launch env entries are merged over the application’s saved demo defaults (overrides win by name) and database overrides the saved throwaway-database default (null keeps it). A browser session twin is mounted at the same path without the /api/v1 prefix (cookie authentication plus the X-Ankra-CSRF double-submit header).
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
The deploy-demo body. Provide exactly one of branch or a positive pr_number; PR demos additionally require an explicit image_tag.
Null resolves the application's default demo container port.
Overrides the application's saved throwaway-database default; null keeps it.
Per-launch env overrides, merged over the application's saved demo defaults (overrides win by name). Secret values ride as ${SECRET_SLOT:} sentinels.
Null resolves the branch's built image via the build check.
At least 1 and at most the caller's role-capped maximum; null applies the policy default.
Subset of a monorepo's components to deploy with optional per-component overrides; omitted deploys every recorded component.
Names the component that owns the demo host's root path; omitted applies the entry heuristic.