grishka / Smithereen

Federated, ActivityPub-compatible social network server with friends, walls, and groups.
The Unlicense
393 stars 31 forks source link

Export blocklist in well-known API path? #65

Open Quix0r opened 9 months ago

Quix0r commented 9 months ago

Most Fediverse software, like Mastodon, supports domain block lists. This isn't a personal block/mute. It is a server-wide block/mute that only the administrator can start.

It is commonly reachable under /api/v1/instance/domain_blocks and is, of course, a JSON response. You can find great example by calling that URL on many Mastodon instances, e.g. https://mastodon.social/api/v1/instance/domain_blocks is a very large list.

Can you add such API path to your software?

grishka commented 9 months ago

Sure, I will add that as part of my client API.

As of right now, Smithereen doesn't have an API at all. My current milestones for the 1.0 release are:

Quix0r commented 9 months ago

Okay, thank you for adding it on your list.