Does Lemmy have some public JSON API to query information about communities?
I would like to adapt this to automatically configure XMPP chatrooms for each Lemmy community: https://modules.prosody.im/mod_muc_http_defaults.html
Thanks!
Does Lemmy have some public JSON API to query information about communities?
I would like to adapt this to automatically configure XMPP chatrooms for each Lemmy community: https://modules.prosody.im/mod_muc_http_defaults.html
Thanks!
By id seems to work: https://slrpnk.net/api/v3/community?id=4112
But https://slrpnk.net/api/v3/community?name=foss just results in
error: "couldnt_find_community"
Sadly by id doesn’t work for my usecase as I want to use the same webfinger address of the communty as the chatroom address on XMPP, and I only know the name not the id for that.
Edit: ah, that works only for non-federated communities: https://slrpnk.net/api/v3/community?name=farming
or with the full address: https://slrpnk.net/api/v3/community?name=foss@beehaw.org