Skip to content

ImportDomainBlocksRequest

The rows of a domain block CSV to import.

object
blocks
required
Array<object>
<= 5000 items

A row of Mastodon’s domain block CSV. The server checks the domain (a U-label spelling such as 例え.jp is accepted) and the public comment (at most 5,000 characters).

object
domain
required
string
severity
required

The #severity of Mastodon’s domain block CSV. suspend: the action suspend. silence: Mastodon’s name of the action limit. noop: no action but the rejections.

string
Allowed values: suspend silence noop
reject_media
required
boolean
reject_reports
required
boolean
public_comment
string
obfuscate
required
boolean
private_note

The private note of every action issued.

string
<= 5000 characters

Example generated

{
"blocks": [
{
"domain": "example",
"severity": "suspend",
"reject_media": true,
"reject_reports": true,
"public_comment": "example",
"obfuscate": true
}
],
"private_note": "example"
}

For LLMs and coding agents:llms.txt,llms-full.txt, llms-small.txt

Analytics on this site