Page MenuHomePhabricator

Add structured data to api response
Open, LowPublic


The commons app uses the following action api call to get data about an image


It would be great to return captions and statements too so they don't have to run many http queries to get the data. Can use the onGetExtendedMetadata hook to add the data in the WikibaseMediaInfo extension

Event Timeline

Cparle created this task.Sun, May 19, 1:13 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSun, May 19, 1:13 PM

Change 511320 had a related patch set uploaded (by Cparle; owner: Cparle):
[mediawiki/extensions/WikibaseMediaInfo@master] WIP add structured data to ImageInfo action api response

Ramsey-WMF triaged this task as Low priority.Mon, May 20, 4:14 PM
Ramsey-WMF moved this task from Untriaged to Next up on the Multimedia board.
Ramsey-WMF moved this task from To Do to Doing on the Multimedia-Current-Work board.