Skip to content

CreateRelayRequest

A relay to register and join.

object
protocol

How a relay is joined. mastodon: at its inbox, by a Follow of the Public collection. litepub: at its actor, by a Follow of the actor.

string
Allowed values: mastodon litepub
url
required

The relay’s inbox (mastodon) or actor (litepub), an https URL.

string
>= 1 characters <= 2048 characters
receive

Whether to take in the public posts it relays; true when omitted.

boolean

Example generated

{
"protocol": "mastodon",
"url": "example",
"receive": true
}

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

Analytics on this site