Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/feomasto/priv/mast.ts>Status

Sync posts from Mastodon into FeoBlog
Latest
interface Status
import { type Status } from "https://deno.land/x/feomasto@v1.0.1/priv/mast.ts";

Properties

id: string

Really should just be used for pagination with max_id

created_at: string

ex: "2019-12-08T03:48:33.901Z"

account: Account
optional
url: string

A link to the status's HTML representation.

... Well, so say the docs at https://docs.joinmastodon.org/entities/Status/#url However, when a status is a reblog, you get a URL in the format: https://mastodon.social/users/{username}/statuses/{statusID}/activity // Which is NOT an HTML representation.

uri: string

A link to the status's URI, used for federation:

content: string
optional
reblog: Status
visibility:
| "public"
| "unlisted"
| "private"
| "direct"
optional
spoiler_text: string
media_attachments: Attachment[]