Thread:Talk:Files and licenses concept/API: adding info at upload time, extracting it later?

I've got three main API-related interests:


 * 1) Foreign API repo clients need access to this information in imageinfo output so they can retrieve and replicate it.
 * 2) Upload tools need a way to query the available license options, and a way to pass the machine-friendly license & other metadata at upload time.
 * 3) Client tools may also need a way to edit the machine-readable info later.

Retrieving the info is probably pretty straightforward, but the format needs to be fleshed out and written. Pushing the data back up with an upload or edit request may be a little trickier.