I may be missing something but it appears that https://en.wikipedia.org/w/api.php?action=help&modules=query%2Bimages does not mention anything about redirects.
I.e. when I create a page with one or more file names that redirect to another file I want to know how the result of the query looks like.