Skip to content

CreateDomainListSubscriptionRequest

A new subscription to a domain block list. The settings that are omitted take their defaults: draft, suspend as suspend, silence as limit, the rejections applied, and no public comment copied.

object
url
required

The https URL of the list.

string
>= 1 characters <= 2048 characters
format
required

The format of a subscribed list. mastodon_csv: Mastodon’s domain block CSV, read as the import reads it. mastodon_json: the answer of Mastodon’s GET /api/v1/instance/domain_blocks; obfuscated domains are skipped. plain_text: one domain per line, each a suspend.

string
Allowed values: mastodon_csv mastodon_json plain_text
title
required
string
>= 1 characters <= 200 characters
mode

draft: every difference waits for a moderator. automatic: the differences are applied at each fetch, except those that AdminDomainListHold names.

string
Allowed values: draft automatic
suspend_as

What a suspend of the list issues on this server; ignore issues nothing.

string
Allowed values: suspend limit ignore
silence_as

What a silence of the list issues on this server; ignore issues nothing.

string
Allowed values: limit ignore
apply_reject_media
boolean
apply_reject_reports
boolean
public_comment_from_list
boolean

Example generated

{
"url": "example",
"format": "mastodon_csv",
"title": "example",
"mode": "draft",
"suspend_as": "suspend",
"silence_as": "limit",
"apply_reject_media": true,
"apply_reject_reports": true,
"public_comment_from_list": true
}

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

Analytics on this site