DomainBlocks
public struct DomainBlocks
Undocumented
-
Fetches a user’s blocked domains.
Declaration
Swift
public static func all(range: RequestRange = .default) -> Request<[String]>Parameters
rangeThe bounds used when requesting data from Mastodon.
Return Value
Request for
[String]. -
Blocks a domain.
Parameters
domainThe domain to block.
Return Value
Request for
Empty. -
Unblocks a domain.
Parameters
domainThe domain to unblock.
Return Value
Request for
Empty.
View on GitHub
Install in Dash
DomainBlocks Structure Reference