Skip to content

Description of resolve parameter in search API seems to be wrong #1644

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bocops opened this issue May 2, 2025 · 1 comment
Open

Description of resolve parameter in search API seems to be wrong #1644

bocops opened this issue May 2, 2025 · 1 comment

Comments

@bocops
Copy link
Contributor

bocops commented May 2, 2025

The description of the resolve parameter in Perform a search seems to be wrong. It states that it is

only relevant if type includes accounts.

However, if I perform a search for the URL of a status on a different instance than my own, the returned Array of statuses is empty unless I specify resolve to be true.

@bocops
Copy link
Contributor Author

bocops commented May 5, 2025

mastodon/mastodon#11411 confirms that this is intended behaviour. Only in case of resolve=true, actual statuses should be returned when searching for a status URL, while resolve=false is intended to

allow circumventing the URL resolving logic to use only the search even when a URL is given

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant