this post was submitted on 06 Jun 2023
8 points (100.0% liked)
Asklemmy
43917 readers
1410 users here now
A loosely moderated place to ask open-ended questions
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Thanks! I can't find any field that specifies
open
orblocklist
orallowlist
but I do see arrays forlinked
andallowed
andblocked
. My best-guess is:allowed
is not null, then the server's federation is inallowlist
stateblocked
is not null, then the server's federation is inblocklist
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
, andallowlist
) so that I could compare the API's output for each.Edit: /u/Nutomic clarified this on GitHub:
this.
otherwise it's open federation with or without blocklist
wait but there's three states. If it's not
allowlist
then it's eitheropen
orblocklist
-- according to the documentation.Are you suggesting that if both are null then the federation state is set to
open
?according to the documentation
open
andblocklist
have open federation.