Promote the canary backend to stable (canary only)
Changed onRequest
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v1/trafficpolicies/{name}/promote
- Auth: none declared
Path parameters
Response
Promoted.
Example response
{
"accessUrl": "https://infer.axisml.io/services/team-vision/resnet-serving/",
"backends": [
{
"actualPct": 90,
"ready": true,
"role": "stable",
"serviceName": "resnet-serving-v1",
"weight": 90
},
{
"actualPct": 10,
"ready": true,
"role": "canary",
"serviceName": "resnet-serving-v2",
"weight": 10
}
],
"canaryPercent": 10,
"createdAt": "2026-06-20T08:00:00Z",
"description": "Canary traffic split for the ResNet-50 online inference service.",
"displayName": "ResNet inference traffic",
"endpoint": {
"hostname": "infer.axisml.io",
"path": "/services/team-vision/resnet-serving/"
},
"id": "d4e5f6a7-8b9c-0d1e-2f3a-4b5c6d7e8f90",
"message": "Routing 90/10 between stable and canary.",
"mode": "canary",
"name": "resnet-serving",
"namespace": "team-vision",
"owner": "li.wei",
"ownerId": "3a2b1c0d-4e5f-6789-abcd-ef0123456789",
"phase": "Ready",
"tenantDisplayName": "Vision Team",
"tenantName": "team-vision",
"updatedAt": "2026-06-28T09:30:00Z"
}Changes
- breaking
the
//response's property type changed fromstringto no type for status - breaking
the
response's property type changed fromobjectto no type for status - breaking
the
response's property type changed fromstringto no type for status - breaking
the
response's property type changed fromstringto no type for status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
added to the
//response propertyallOflist for the response status - info
added to the
response propertyallOflist for the response status - info
added to the
response propertyallOflist for the response status - info
added to the
response propertyallOflist for the response status - info
removed the
Creatingenum value from theresponse property for the response status - info
removed the
Degradedenum value from theresponse property for the response status - info
removed the
Deletedenum value from theresponse property for the response status - info
removed the
Deletingenum value from theresponse property for the response status - info
removed the
Failedenum value from theresponse property for the response status - info
removed the
Pendingenum value from theresponse property for the response status - info
removed the
Readyenum value from theresponse property for the response status - info
removed the
canaryenum value from the//response property for the response status - info
removed the
canaryenum value from theresponse property for the response status - info
removed the
memberenum value from the//response property for the response status - info
removed the
stableenum value from the//response property for the response status - info
removed the
weightedenum value from theresponse property for the response status
- breaking