Not an API but probably relevant, this data stream on media (binary file) downloads:
From: Analytics [mailto:firstname.lastname@example.org] On Behalf Of Sander Ubink
Sent: Thursday, April 28, 2016 14:28
Subject: [Analytics] API usage advice
as a new subscriber to this mailing list I would like to introduce myself. My name is
Sander, I'm a student and I'm currently working on a project using Wikimedia APIs.
A Dutch cultural institution has requested a team of students to analyze how their
uploaded material is being used. Some examples of what they're interested in is
knowing where their material is reused, how many visitors view to pages, if visitors open
the media on the page, etc. Which APIs would you suggest we should look at that could have
valuable information? Also, is there any general documentation about the various APIs? Any
advice would be greatly appreciated.