Create, update, or rename one virtual model
GoModel API reference for PUT /admin/virtual-models: Create, update, or rename one virtual model.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Virtual model definition
Failover retries a failed request on the remaining targets. Omitted means enabled; false serves the chosen target only.
SessionAffinity keeps a detected session on the target that served it before. Omitted means enabled; false restores stateless balancing.
Slowdown is an extra-time factor from 0.1 to 10; zero disables it.
0 StrategyPlugin names the routing-strategy plugin for strategy "plugin"; StrategyConfig holds that plugin's route-scoped settings, validated against its schema (see GET /admin/plugins, route_fields).
1001024Response
OK
Slowdown is an extra-time factor from 0.1 to 10; zero disables it.
0