social

Get a Mastodon feed

Get the recent public posts from a Mastodon account. Pass the instance and user query parameters to identify the account. No API key or connected account is required, because the posts are public. HTML formatting in the post text is removed before the response is returned.

Notes.

  • Feed envelope: stale (and staleSince) beside data. Answers are cached at the edge for a few minutes.
  • A public account's posts; no connected account is needed.
get/v1/social/mastodon/feed

Request

  • Base URL: https://api.brixsignage.com
  • URL: https://api.brixsignage.com/v1/social/mastodon/feed
  • Auth: none required

Query parameters

dtstring required

The app data token.

instancestring required

The server's host name (mastodon.social).

userstring required

The account's user name.

Response

Success.

staleboolean required

True when the provider failed and this is the last good answer.

staleSincestring

When the stale copy was fetched (only when stale).

Changes

No recorded changes to this operation across all 1 revision of this API.