I want to display images from Wikimedia Commons inside my website (as links) using the following mediawiki-api call to search for images:
This returns a search result containing all images that match my query. But what I do not see in that response is the license information. I can retrieve the uploader information using "user" inside the aiprop, but how do I retrieve the license information (like CC-BY-SA)?