Features

[BETA] Get partial updates (SDK)

Enterprise feature

[BETA] This API is in beta state, which means it may change or be removed in the future.

Initially returns the full set of feature flags available to the provided API key. When called again with the returned etag, only returns the flags that have changed

get/api/client/delta

Response

clientFeaturesDeltaSchema

Example response

{
  "events": [
    {
      "feature": {
        "name": "new.payment.flow.stripe",
        "type": "release",
        "description": "No variants here",
        "enabled": true,
        "project": "new.payment.flow",
        "strategies": [
          {
            "id": "6b5157cb-343a-41e7-bfa3-7b4ec3044840",
            "name": "flexibleRollout",
            "title": "Gradual Rollout 25-Prod",
            "featureName": "myAwesomeFeature",
            "sortOrder": 9999,
            "segments": [
              1,
              2
            ],
            "constraints": [
              {
                "contextName": "appName",
                "operator": "IN",
                "values": [
                  "my-app",
                  "my-other-app"
                ],
                "value": "my-app"
              }
            ],
            "variants": [
              {
                "name": "blue_group",
                "weightType": "fix",
                "stickiness": "custom.context.field",
                "payload": {
                  "type": "json",
                  "value": "{\"color\": \"red\"}"
                }
              }
            ]
          }
        ],
        "variants": [
          {
            "name": "blue_group",
            "weightType": "variable",
            "stickiness": "custom.context.field",
            "payload": {
              "type": "json",
              "value": "{\"color\": \"red\"}"
            },
            "overrides": [
              {
                "contextName": "userId",
                "values": [
                  "red",
                  "blue"
                ]
              }
            ]
          }
        ],
        "dependencies": [
          {
            "feature": "parent_feature",
            "variants": [
              "variantA",
              "variantB"
            ]
          }
        ]
      }
    }
  ]
}

Changes

Changed in 2 of the 7 revisions of this API.6

    • added subschema #1 subschema #3 subschema #5 to the / response property anyOf list for the response status

      response-property-any-of-added

    • removed subschema #1 subschema #3 subschema #5 from the / response property anyOf list for the response status

      response-property-any-of-removed

    • api tag Features added

      api-tag-added

    • api tag Unstable removed

      api-tag-removed

    • added subschema #1 subschema #3 subschema #5 to the / response property anyOf list for the response status

      response-property-any-of-added

    • removed subschema #1 subschema #3 subschema #5 from the / response property anyOf list for the response status

      response-property-any-of-removed

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog