MediaWiki:Apihelp-compare-param-fromtext
From MoodleDocs
Specify fromslots=main and use fromtext-main instead.
Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: Apihelp-compare-param-fromtext.