[go: up one dir, main page]

Page MenuHomePhabricator

MPIC: Create public experiments API endpoint
Closed, ResolvedPublic3 Estimated Story Points

Description

T370880

Description

Create a new public experiments endpoint /api/v1/experiments that will include all the metadata similar to instruments minus excluded fields (see T373467) plus the variants i.e.:

...
"variants": [
  {
    "name": "feature a",
    "type": "boolean",
    "values": [
      "true",
      "false"
    ]
  },
  {
    "name": "feature b",
    "type": "boolean",
    "values": [
      "true",
      "false"
    ]
  }
}
...

Derivation of this experiments endpoint will be similar to the instruments endpoint - we can filter by Type === a/b test.

Acceptance Criteria

  • Route is created and publicly accessible
  • Validators are updated
  • Variants field is deserialized correctly for the api response

Required

  • Unit/Integration tests
  • Documentation?
  • Passed QA?

Event Timeline

SGupta-WMF updated Other Assignee, added: Sfaci.
SGupta-WMF subscribed.
Sfaci removed cjming as the assignee of this task.Mon, Sep 16, 1:50 PM
Sfaci assigned this task to SGupta-WMF.
Sfaci updated Other Assignee, removed: SGupta-WMF.

This is already merged and ready for deployment

Change #1075207 had a related patch set uploaded (by Santiago Faci; author: Santiago Faci):

[operations/deployment-charts@master] MPIC: Deploying on staging a new relase v0.2

https://gerrit.wikimedia.org/r/1075207

Change #1075207 merged by jenkins-bot:

[operations/deployment-charts@master] MPIC: Deploying on staging a new relase v0.2

https://gerrit.wikimedia.org/r/1075207

Change #1075524 had a related patch set uploaded (by Santiago Faci; author: Santiago Faci):

[operations/deployment-charts@master] MPIC: Deploying to production a new relase v0.2

https://gerrit.wikimedia.org/r/1075524

Change #1075524 merged by jenkins-bot:

[operations/deployment-charts@master] MPIC: Deploying to production a new relase v0.2

https://gerrit.wikimedia.org/r/1075524