Files
insights-go/fixtures/test-flags-v3.json
Dustin ByrneandGitHub f93ef34367 fix: Flag payloads can contain JSON types (#161)
Previously we expected serialized JSON strings. However, the API can
also return any valid JSON type
2026-01-30 12:44:01 -05:00

43 lines
1.2 KiB
JSON

{
"config": {
"enable_collect_everything": true
},
"editorParams": {},
"isAuthenticated": true,
"supportedCompression": ["gzip", "gzip-js", "lz64"],
"toolbarParams": {},
"featureFlags": {
"enabled-flag": true,
"group-flag": true,
"disabled-flag": false,
"multi-variate-flag": "hello",
"simple-flag": true,
"beta-feature": "decide-fallback-value",
"beta-feature2": "variant-2",
"false-flag-2": false,
"test-get-feature": "variant-1",
"continuation-flag": true
},
"featureFlagPayloads": {
"enabled-flag": {"foo": 1},
"simple-flag": "{\"bar\": 2}",
"continuation-flag": {"foo": "bar"},
"beta-feature": "{\"foo\": \"bar\"}",
"test-get-feature": "this is a string",
"multi-variate-flag": "this is the payload"
},
"sessionRecording": false,
"errorsWhileComputingFlags": false,
"capturePerformance": false,
"autocapture_opt_out": true,
"autocaptureExceptions": false,
"analytics": { "endpoint": "/i/v0/e/" },
"__preview_ingestion_endpoints": true,
"elementsChainAsString": true,
"surveys": false,
"heatmaps": false,
"siteApps": [],
"requestId": "42853c54-1431-4861-996e-3a548989fa2c",
"evaluatedAt": 1737312368000
}