this post was submitted on 12 Jul 2023
88 points (100.0% liked)
Memmy - An iOS client for Lemmy
5076 readers
1 users here now
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Each instance does have a list of all their communities, but this would probably require the app to detect that an instance list is being requested (e.g. the query starts with “@“), and then make the API call to that instance instead of the user’s home one.
I don’t think this would be impossible to do. but for sure you would never get all the communities of ALL the instances… but only of those already connected with your instance.
I don’t see why not, if you call out to Beewaw you can get all the Beehaw communities without even being authenticated afaik. No need to get the user’s “home”(?) instance involved at all.
because there’s not just beehaw and lemmy.world. there are thousands of instances and there’s no way to know them all, unless you or someone else knows that instance and searches for it.
The hostname is part of the search query, and they all have the same api.
Yes, that’s the exact use case described in the post.