Page MenuHomePhabricator
Paste P8605

SWAP incorrect AQS results
ActivePublic

Authored by nshahquinn-wmf on Jun 11 2019, 6:20 PM.
Tags
None
Referenced Files
F29462203: raw.txt
Jun 11 2019, 6:20 PM
Subscribers
requests.get(
"https://wikimedia.org/api/rest_v1/metrics/edited-pages/new/all-projects/" +
"all-editor-types/content/monthly/20190501/20190601"
).json()["items"][0]["results"]
SHOULD RETURN:
[{'timestamp': '2019-05-01T00:00:00.000Z', 'new_pages': 1978179}]
ACTUALLY RETURNS:
[]

Event Timeline

I found a workaround url:

"http://aqs1004.eqiad.wmnet:7232/analytics.wikimedia.org/v1/edited-pages/new/all-projects/all-editor-types/content/monthly/20190501/20190601"