Release Templates
Updates a strategy attached to a milestone
Enterprise feature
Overwrites existing strategy configuration for the strategy referenced by the id
put/api/admin/release-plan-templates/{templateId}/milestones/{milestoneId}/strategies/{strategyId}
Path parameters
templateIdstring required
milestoneIdstring required
strategyIdstring required
Response
#/components/schemas/releasePlanMilestoneStrategySchema
Example response
{
"id": "01JB9GGTGQYEQ9D40R17T3YVW3",
"milestoneId": "01JB9GGTGQYEQ9D40R17T3YVW1",
"sortOrder": 9999,
"title": "Gradual Rollout 25-Prod",
"name": "flexibleRollout",
"strategyName": "flexibleRollout",
"constraints": [
{
"values": [
"1",
"2"
],
"inverted": false,
"operator": "IN",
"contextName": "appName",
"caseInsensitive": false
}
],
"variants": [
{
"name": "blue_group",
"weightType": "fix",
"stickiness": "custom.context.field",
"payload": {
"type": "json",
"value": "{\"color\": \"red\"}"
}
}
],
"segments": [
1,
2
]
}