-
Notifications
You must be signed in to change notification settings - Fork 1
feat: Export CSV #110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Export CSV #110
Conversation
rti
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think in order to be usable for our use case, we have to be able to provide the auth header as a get parameter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May I offer #115 as a small simplification?
* fix: csv export without tmp file * fix: do not use StreamingResponse
Co-authored-by: Robert Timm <rti@users.noreply.github.com>
Implemented most basic version:
/csv/metricsGET endpoint, does require the auth header1 row per Wiki, with the following columns:
wikibase_idwikibase_typebase_urlFrom latest successful Quantity observation:
quantity_observation_datetotal_itemstotal_lexemestotal_propertiestotal_triplestotal_ei_propertiestotal_ei_statementstotal_url_propertiestotal_url_statementsFrom latest successful Recent Changes observation:
recent_changes_observation_datefirst_change_datelast_change_datehuman_change_counthuman_change_user_countbot_change_countbot_change_user_countFrom latest successful Software Version observation:
software_version_observation_datesoftware_name-- ONLY MediaWikiversion-- MediaWiki version