Open stormy-petrel opened 1 year ago
@jacob-statsig
Thanks for the request. We did implement overrides via the console API for experiments, and can extend that to support feature gates as well.
We have addressed the first two bullet points (see docs here: https://docs.statsig.com/console-api/gates).
To provide self-serving client debugging, we need APIs/ SDK methods to patch, and delete the IDs of a feature gate's overrides. We also need to retrieve the overrides of all feature gates
PATCH /gates/{gate_id}/overrides/{id}?list_type=[pass,fail]
DELETE /gates/{gate_id}/overrides/{id}?list_type=[pass,fail]
GET /gates/overrides/{id}
Retrieve the overrides status of all feature gates for a given ID. Return false or true for each feature gate.The two recommendations in Statsig unit testing don't satisfy the same requirement here: