Topic on API talk:REST API

Getting 'The "q" parameter must be set.'

3
צמא לדעת (talkcontribs)

When using the REST API to search on my wiki (yi.hamichlol.org.il), whether content or titles, I'm always getting the "missingparam" failureCode - although the q paramater clearly is set. See:

/w/rest.php/v1/search/title?q=b&limit=10

/w/rest.php/v1/search/page?q=b&limit=10

Other endpoints, which don't use the 'q' parameter, work just fine. Such as:

/w/rest.php/v1/page/11/bare

Anything I can do to get search results via REST? Thanks!

APaskulin (WMF) (talkcontribs)
צמא לדעת (talkcontribs)

Thanks, submitted T348546.

Reply to "Getting 'The "q" parameter must be set.'"