https://bugzilla.wikimedia.org/show_bug.cgi?id=46648
Web browser: ---
Bug ID: 46648
Summary: API. Handling invalid cohort or metrics in URL
Product: Analytics
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General/Unknown
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
When a user cohort or metric is not found flag this as an error to the user.
Validate cohort names in URL. Write a method to validate from usertage_meta
table.
See the output and cohort views in
https://github.com/rfaulkner/E3_analysis/blob/master/user_metrics/api/views.py
Call validation in views.py on cohort names at the following points:
https://github.com/rfaulkner/E3_analysis/blob/master/user_metrics/api/views.py#L186
https://github.com/rfaulkner/E3_analysis/blob/master/user_metrics/api/views.py#L241
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l