setStrategySortOrder
Define the execution sequence of strategies for a feature flag in a specified environment, ensuring precise control over feature activation logic.
Instructions
Set the sort order of strategies for a feature flag in a specific environment
Input Schema
Name | Required | Description | Default |
---|---|---|---|
environment | Yes | ||
featureName | Yes | ||
projectId | Yes | ||
strategyIds | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"environment": {
"minLength": 1,
"type": "string"
},
"featureName": {
"maxLength": 100,
"minLength": 1,
"pattern": "^[a-z0-9-_.]+$",
"type": "string"
},
"projectId": {
"minLength": 1,
"type": "string"
},
"strategyIds": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"projectId",
"featureName",
"environment",
"strategyIds"
],
"type": "object"
}