Get Involved
Edit on GitHub

mastodon

Important

As of Flowpipe 1.0.0, credential has been renamed to connection. The mastodon credential resource is deprecated and will be removed in a future version of Flowpipe. Use the mastodon connection instead.

The mastodon credential can be used to access Mastodon resources.

credential "mastodon" "mastodon_creds" {
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 credential with no arguments will behave the same as the default credential.