MediaWiki:Apihelp-compare-extended-description

A revision number, a page title, a page ID, text, or a relative reference for both "from" and "to" must be passed.