In an installation of MediaWiki 1.32, performing an API query in the format of:
{ "action": "query", "format": "json", "list": "users", "usprop": "editcount|groups|rights|emailable|registration", "ususers": "Void-bot" }
Provides the expected information on the user
{ "batchcomplete": "", "query": { "users": [ { "userid": 6440, "name": "Void-bot", ... Truncated for sake of task ... } ] } }
However, performing the same API query, but including the usprop blockinfo:
{ "action": "query", "format": "json", "list": "users", "usprop": "editcount|groups|rights|emailable|registration|blockinfo", "ususers": "Void-bot" }
Returns the following:
{ "batchcomplete": "", "query": { "users": [ { "name": "Void-bot", "missing": "" } ] } }