Get strategies that reference segment
GET/api/admin/segments/:id/strategies
Retrieve all strategies that reference the specified segment.
Request
Path Parameters
Responses
- 200
segmentStrategiesSchema
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
strategies
object[]
required
The list of strategies
The ID of the strategy
e465c813-cffb-4232-b184-82b1d6fe9d3d
The name of the feature flag that this strategy belongs to.
new-signup-flow
The ID of the project that the strategy belongs to.
red-vista
The ID of the environment that the strategy belongs to.
development
The name of the strategy's type.
flexibleRollout
changeRequestStrategies
object[]
A list of strategies that use this segment in active change requests.
The ID of the strategy. Not present on new strategies that haven't been added to the feature flag yet.
e465c813-cffb-4232-b184-82b1d6fe9d3d
The name of the feature flag that this strategy belongs to.
new-signup-flow
The ID of the project that the strategy belongs to.
red-vista
The ID of the environment that the strategy belongs to.
development
The name of the strategy's type.
flexibleRollout
{
"strategies": [
{
"id": "e465c813-cffb-4232-b184-82b1d6fe9d3d",
"featureName": "new-signup-flow",
"projectId": "red-vista",
"environment": "development",
"strategyName": "flexibleRollout"
}
],
"changeRequestStrategies": [
{
"id": "e465c813-cffb-4232-b184-82b1d6fe9d3d",
"featureName": "new-signup-flow",
"projectId": "red-vista",
"environment": "development",
"strategyName": "flexibleRollout"
}
]
}