mastodon/mastodon#15740:
Allows converting a
username@domain
into a local ID quickly (unlike search, it does not resolve anything, and as such, is available without an API token).
This method allows to quickly convert a username of a known account to an ID that can be used with the REST API, or to check if a username is available for sign-up