DomainBlocksApi

interface DomainBlocksApi

View and manage blocked domains.

See also

Functions

Link copied to clipboard
abstract suspend fun blockDomain(domain: String)

Blocks the domain of a Mastodon instance.

Link copied to clipboard
abstract suspend fun getDomainBlocks(limit: Int? = null, pageInfo: PageInfo? = null): Page<List<String>>

Gets the list of blocked domains (Mastodon instances) for this account.

Link copied to clipboard
abstract suspend fun unblockDomain(domain: String)

Unblocks a domain.