Get Involved
Edit on GitHub

mastodon

The mastodon connection can be used to access Mastodon resources.

connection "mastodon" "mastodon_connection" {
server = "https://myserver.social"
access_token = "FK1_fake-token"
}

Arguments

NameTypeRequired?Description
serverStringOptionalThe federated server your account lives
access_tokenStringOptionalMastodon access token

All arguments are optional, and a mastodon connection with no arguments will behave the same as the default connection.