From 638f44c4ff0b8e40c4a0ecc74c7b32af753ecfba Mon Sep 17 00:00:00 2001 From: Leli <33942105+lelilia@users.noreply.github.com> Date: Wed, 28 Feb 2024 19:24:56 +0100 Subject: [PATCH] DENG-2896 Telemetry Dev Cycle fix experimenter API (#5135) --- .../experiments_stats_v1/query.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/moz-fx-data-shared-prod/telemetry_dev_cycle_external/experiments_stats_v1/query.py b/sql/moz-fx-data-shared-prod/telemetry_dev_cycle_external/experiments_stats_v1/query.py index d25e935580..3288490734 100644 --- a/sql/moz-fx-data-shared-prod/telemetry_dev_cycle_external/experiments_stats_v1/query.py +++ b/sql/moz-fx-data-shared-prod/telemetry_dev_cycle_external/experiments_stats_v1/query.py @@ -60,7 +60,7 @@ def store_data_in_bigquery(data, schema, destination_project, destination_table_ def download_experiments_v1(url): """Download experiment data from API v1 and parse it.""" experiments_v1 = [] - experiments = get_api_response(f"{url}/api/v1/experiments") + experiments = get_api_response(f"{url}/api/v1/experiments/") for experiment in experiments: if experiment["status"] == "Draft": continue @@ -81,7 +81,7 @@ def download_experiments_v1(url): def download_experiments_v6(url): """Download experiment data from API v6 and parse it.""" experiments_v6 = [] - experiments = get_api_response(f"{url}/api/v6/experiments") + experiments = get_api_response(f"{url}/api/v6/experiments/") for experiment in experiments: experiments_v6.append( {