TO: Type validation for steering targets #3531
Labels
bug
something isn't working as intended
documentation
related to documentation
Traffic Ops
related to Traffic Ops
POST /api/1.1/steering/:id/targets
This endpoint doesn't perform validation on the type id. The only valid types are
STEERING_ORDER
,STEERING_WEIGHT
,STEERING_GEO_ORDER
, andSTEERING_GEO_WEIGHT
.I came across this while reading the documentation, where the
HTTP
type is used.The description for 'value' in the documentation shouldn't correspond just to the weight, but to any of the types that are posted.
The text was updated successfully, but these errors were encountered: