Dominicbm created this task. Dominicbm added a project: Wikidata-Query-Service. Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION Having a way to access the Wikimedia REST API (https://wikimedia.org/api/rest_v1/) would be very useful, similar to how MWAPI can be accessed. If there is already a way, it is not documented, that I can find. Certain analytics data (at least that is my use case) can only be accessed from that API. For example, the `mediarequests` API is different from the `pageviews` prop available in the MWAPI, because it allows you to see all global views of a given media file in the Wikimedia servers, rather than page views associated with the given wiki project. This would pair nicely with a WCQS query, allowing you to make queries to get media requests for a certain set of images. (This use case might require T244712 <https://phabricator.wikimedia.org/T244712>, if there is not a way to generate the server URLs from what is available in the query service; if the REST API could take M-ids as well, even better.) Additionally, the page view data in MWAPI only contains data 60 days back from the current date. From the REST API `pageviews` endpoint, you can query all historical data, and not just daily. Additionally, you could start from the API, to get the entities for the top-viewed pages (`GET /metrics/pageviews/top/...`) and display certain data about them. TASK DETAIL https://phabricator.wikimedia.org/T305867 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dominicbm Cc: Aklapper, Dominicbm, MPhamWMF, CBogen, Namenlos314, Gq86, Lucas_Werkmeister_WMDE, EBjune, merbst, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org