Search API only shows results for Hashtags
Steps to reproduce the problem
Using the Search API without Token shows only Hashtags, Statuses and Profiles are empty: https://mas.to/api/v2/search?q=test https://mastodon.social/api/v2/search?q=test https://mstdn.social/api/v2/search?q=test
Expected behaviour
Statuses and Profiles should appear
Actual behaviour
Only Hashtags appear
Detailed description
No response
Mastodon instance
mastodon.social
Mastodon version
No response
Technical details
If this is happening on your own Mastodon server, please fill out those:
- Ruby version: (from
ruby --version, eg. v3.4.1) - Node.js version: (from
node --version, eg. v20.18.0)
This is expected, full text search is not available for unlogged users, only hashtag-based search
In my opinion this should then be added to the documentation (https://docs.joinmastodon.org/methods/search/) and/or an error message should be sent back by the API for these fields.
Moving to the documentation repository so this can be addressed here.