Skip to main content

Get strategies that use a context field

GET 

/api/admin/context/:contextField/strategies

Retrieves a list of all strategies that use the specified context field. If the context field doesn't exist, returns an empty list of strategies

Request

Path Parameters

    contextField stringrequired

Responses

contextFieldStrategiesSchema

Schema

    strategies

    object[]

    required

    List of strategies using the context field

  • Array [

  • id stringrequired

    The ID of the strategy.

    Example: 433ae8d9-dd69-4ad0-bc46-414aedbe9c55
    featureName stringrequired

    The name of the feature that contains this strategy.

    Example: best-feature
    projectId stringrequired

    The ID of the project that contains this feature.

    environment stringrequired

    The ID of the environment where this strategy is in.

    strategyName stringrequired

    The name of the strategy.

  • ]

Loading...