Last modified: 2013-09-18 17:32:36 UTC
using prop=stashimageinfo with siiprop=bitdepth gives bitdepth="0", not the 8 which is stored in the database. You have to override the stub File::getBitDepth.
So I'd test this with https://en.wikipedia.org/w/api.php?action=query&prop=stashimageinfo&siiprop=bitdepth&siifilekey=124sd34rsdf567 and would have to replace 124sd34rsdf567 with the key for a previous upload?
Yes, but the upload module will already provide it to you on the result, but you can also see it of stashimageinfo.