MediaWiki

Apihelp-query+allmessages-param-nocontent

From Wiki**3

If set, do not include the content of the messages in the output.