Each image that is displayed during a Participation Session needs to have it's current data retrieved via the API.
For initial implementation we should make a API calls at the moment the user lands on the image (i.e. when they just start Participating, or when they click next/previous).
We can get all the data we need with 3 API calls:
- T222492: Commons API call to get Unstructured data for image file - Gets Description, Categories, Camera Location, Licence
The structured data needs two steps:
- T222493: Commons API call to get Structured data for image file - Gets all captions, and a list of Wikidata IDs used in 'depicts' statements
- T222495: Wikidata API call to get labels and descriptions from Wikidata IDs - Gets labels for the Wikidata IDs returned in previous call