mirror of
https://github.com/hanzoai/insights-go.git
synced 2026-09-30 22:46:12 +00:00
* add support for fetching feature flag payloads * improve mock server handler readability * drying code * update decide fixtures * pr feedback
96 lines
2.6 KiB
JSON
96 lines
2.6 KiB
JSON
{
|
|
"count": 1,
|
|
"next": null,
|
|
"previous": null,
|
|
"flags": [
|
|
{
|
|
"id": 719,
|
|
"name": "",
|
|
"key": "simpleFlag",
|
|
"filters": {
|
|
"groups": [
|
|
{
|
|
"properties": [],
|
|
"rollout_percentage": null
|
|
}
|
|
],
|
|
"payloads": { "true": "{\"test\": 1}" }
|
|
},
|
|
"deleted": false,
|
|
"active": true,
|
|
"is_simple_flag": true,
|
|
"rollout_percentage": null
|
|
},
|
|
{
|
|
"id": 719,
|
|
"name": "",
|
|
"key": "continuation-flag",
|
|
"filters": {
|
|
"groups": [
|
|
{
|
|
"properties": [],
|
|
"rollout_percentage": null
|
|
}
|
|
],
|
|
"payloads": { "true": "{\"test\": 1}" }
|
|
},
|
|
"deleted": false,
|
|
"active": true,
|
|
"is_simple_flag": true,
|
|
"rollout_percentage": null,
|
|
"ensure_experience_continuity": true
|
|
},
|
|
{
|
|
"id": 720,
|
|
"name": "",
|
|
"key": "enabled-flag",
|
|
"filters": {
|
|
"groups": [
|
|
{
|
|
"properties": [],
|
|
"rollout_percentage": null
|
|
}
|
|
],
|
|
"payloads": { "true": "{\"test\": 1}", "false": "{\"test\": 0}" }
|
|
},
|
|
"deleted": false,
|
|
"active": true,
|
|
"is_simple_flag": false,
|
|
"rollout_percentage": null
|
|
},
|
|
{
|
|
"id": 721,
|
|
"name": "",
|
|
"key": "disabled-flag",
|
|
"filters": {
|
|
"groups": [
|
|
{
|
|
"properties": [],
|
|
"rollout_percentage": null
|
|
}
|
|
]
|
|
},
|
|
"deleted": false,
|
|
"active": true,
|
|
"is_simple_flag": false,
|
|
"rollout_percentage": null
|
|
},
|
|
{
|
|
"id": 722,
|
|
"name": "",
|
|
"key": "multi-variate-flag",
|
|
"filters": {
|
|
"groups": [
|
|
{
|
|
"properties": [],
|
|
"rollout_percentage": null
|
|
}
|
|
]
|
|
},
|
|
"deleted": false,
|
|
"active": true,
|
|
"is_simple_flag": false,
|
|
"rollout_percentage": null
|
|
}
|
|
]
|
|
} |