Take one step of the staged switch from a baseline to an owned deployment: canary, primary, rollback, finish, or abandon
Authorizations
Body
canary, primary (the baseline as fallback), and rollback (the baseline alone) apply to any baseline. finish (the owned deployment alone; rollback ends) and abandon (the baseline alone if it is ready, otherwise the owned deployment alone on its PASS verdict) apply to a deployment baseline only. From primary, abandon while the baseline cannot serve is refused with migration_abandon_would_commit (HTTP 409), and nothing changes: finish commits to the new model.
canary, primary, rollback, finish, abandon The active serving plan the caller decided from (the endpoint's active_serving_plan_id). When the endpoint serves another, the step is refused with migration_plan_changed (HTTP 409) and nothing changes; a step that another step overtook is refused the same way. Plans are reused by their content, so the same stage reached again has the same id: the field stops a page rendered at another stage (primary, say) from acting on a canary, and it does not cover the models' readiness. Omitted, the step is taken against the plan the endpoint serves when it is read; sent empty, it is refused (HTTP 422). Requires a control plane with this field: an older one refuses the unknown field (HTTP 400).
1 - 255Response
Success
The response is of type object.