Skip to main content

Preview promoting a variant branch

GET 

https://platform.docana.com/api/v1/agents/:agentId/branches/:branchId/promote/

Previews what promoting this variant would do: whether it is stale (the published pointer moved since the branch was forked, so promoting would make main’s draft skip the work main gained in the meantime) and, if so, the semantic changes between the fork base and what is currently published. Promoting itself does not publish — this preview is about what the resulting draft lineage would miss, not about production.

Request

Responses

The promotion preview