Skip to content

Instantly share code, notes, and snippets.

@maxxcrawford
Created December 5, 2019 16:01
Show Gist options
  • Save maxxcrawford/9b1b30d4e28eb7f1e24d6364027452e4 to your computer and use it in GitHub Desktop.
Save maxxcrawford/9b1b30d4e28eb7f1e24d6364027452e4 to your computer and use it in GitHub Desktop.
Run to simulate enrollment in v2 Helped add-on study, and receive the v1.0.4 of the DoH Rollout add-on
{
"id": 875,
"last_updated": "2019-11-15T21:49:09.103837Z",
"name": "DoH US Engagement Study V2 - Add-on helper",
"enabled": true,
"is_approved": true,
"revision_id": 2821,
"action": "branched-addon-study",
"arguments": {
"branches": [
{
"extensionApiId": 95,
"ratio": 1,
"slug": "helper"
}
],
"isEnrollmentPaused": false,
"slug": "pref-doh-us-engagement-study-v2-helper-1590831",
"userFacingDescription": "Helps maintain the integrity of the DNS over HTTPS Rollout",
"userFacingName": "DNS over HTTPS US Rollout"
},
"extra_filter_expression": "\"doh-rollout.enabled\"|preferenceValue",
"filter_expression": "([\"doh-rollout\",normandy.userId]|bucketSample(0,100,10000)) && (\"doh-rollout.enabled\"|preferenceValue)",
"latest_revision_id": 2821,
"approved_revision_id": 2821,
"approval_request": {
"id": 1895,
"created": "2019-11-15T21:40:38.971871Z",
"creator": {
"id": 1,
"first_name": "Michael",
"last_name": "Cooper (mythmon)",
"email": "[email protected]"
},
"approved": true,
"approver": {
"id": 14,
"first_name": "Rehan",
"last_name": "Dalal",
"email": "[email protected]"
},
"comment": "r+"
},
"identicon_seed": "v1:xz70cvkfueg",
"capabilities": [
"action.branched-addon-study",
"jexl.transform.bucketSample"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment