I'm wondering if it's possible for non-users to query a server to see what federation state it's set-to, so that users can be aware of how limited their content will be before they signup.
Each instance has a /instances/ url that shows its current federation links at least. It doesn't tell you its federation config, but you can at least tell if the federation list looks weirdly small or the blocklist looks weirdly big.
And you can see that monero house has a pretty short list in comparison. This is absolutely a page I was scoping out when shopping around for an instance to join. I would also spend some time scrolling through /modlog/ to get a feel for what their moderation was like in practice.
thanks! Unfortunately that site is basically unuseable for me, but perhaps if we dig into their code, we'll find how they figure out the federation state..
That's an open issue on Github. The devs are currently in the middle of trying to optimize performance so the whole network doesn't go down on the 12th. If you know any webdevs willing to have at it, great!
Thanks! I can't find any field that specifies open or blocklist or allowlist but I do see arrays for linked and allowed and blocked. My best-guess is:
if allowed is not null, then the server's federation is in allowlist state
if blocked is not null, then the server's federation is in blocklist state
...but I could be totally wrong
And I don't know how to determine if the server's federation state is open.
It would be good if we had three example servers -- one in each state (open, blocklist, and allowlist) so that I could compare the API's output for each.
Regarding "federation state": You can have a blocklist, then Lemmy will federate with every instance except blocked ones. Or have an allowlist, then it will only federate with the allowed ones. If neither is set then it also federate with everything. Using allowlist and blocklist together doesnt make much sense, then it would only federate with allowed instances which are not in the blocklist.
Related: see also my feature request for join-lemmy.org to display this information about each instance in a data table that compares each instance available: