" entity_field = entity_fields.get(field.replace(\"_\", \":\")) # hack for fields with colons. the actual json has this documented, but we don't care here\n",
" if not (entity_fields[field][\"field_type\"] == \"EntityList\" and len(entity_fields_real) == 1 and list(entity_fields_real)[0] == NonPaginatableList):\n",
" print(result_name + \":\", field, \"documented as\", entity_fields[field][\"field_type\"], \"but does not parse as such in all cases (found types:\", field_types_found[field], \")\")\n",
" if set(field_types_found[field]) == set(str(type(None))):\n",
" print(result_name + \":\", field, \"documented as\", entity_fields[field][\"field_type\"], \"but only found as None\")\n",
"for entity_name in entities_by_name:\n",
" entity = entities_by_name[entity_name]\n",
" entity_fields = entity[\"fields\"]\n",
" if not entity_name in results:\n",
" print(\"entity\", entity_name + \":\", \"documented but never retrieved\")\n",
" continue\n",
" for field in entity_fields:\n",
" found = False\n",
" for result in results[entity_name]:\n",
" if field in result:\n",
" found = True\n",
" else:\n",
" if not entity_fields[field][\"is_optional\"] and not entity_fields[field].get(\"api_version\") is None:\n",
" print(entity_name + \": field\", field, \"documented as not optional but missing from some retrieved entities\")\n",
" if not found:\n",
" print(entity_name + \": field\", field, \"documented but missing from all retrieved entities\")\n"
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/Account/\n",
" \"\"\"\n",
"\n",
" id: \"MaybeSnowflakeIdType\"\n",
" \"\"\"\n",
" The accounts id.\n",
"\n",
" Version history:\n",
" * 0.1.0: added\n",
" \"\"\"\n",
"\n",
" username: \"str\"\n",
" \"\"\"\n",
" The username, without the domain part.\n",
"\n",
" Version history:\n",
" * 0.1.0: added\n",
" \"\"\"\n",
"\n",
" acct: \"str\"\n",
" \"\"\"\n",
" The user's account name as username@domain (@domain omitted for local users).\n",
"\n",
" Version history:\n",
" * 0.1.0: added\n",
" \"\"\"\n",
"\n",
" display_name: \"str\"\n",
" \"\"\"\n",
" The user's display name.\n",
"\n",
" Version history:\n",
" * 0.1.0: added\n",
" \"\"\"\n",
"\n",
" discoverable: \"Optional[bool]\"\n",
" \"\"\"\n",
" Indicates whether or not a user is visible on the discovery page. (nullable)\n",
"\n",
" Version history:\n",
" * 3.1.0: added\n",
" \"\"\"\n",
"\n",
" group: \"bool\"\n",
" \"\"\"\n",
" A boolean indicating whether the account represents a group rather than an individual.\n",
"\n",
" Version history:\n",
" * 3.1.0: added\n",
" \"\"\"\n",
"\n",
" locked: \"bool\"\n",
" \"\"\"\n",
" Denotes whether the account can be followed without a follow request.\n",
"\n",
" Version history:\n",
" * 0.1.0: added\n",
" \"\"\"\n",
"\n",
" created_at: \"datetime\"\n",
" \"\"\"\n",
" The accounts creation time.\n",
"\n",
" Version history:\n",
" * 0.1.0: added\n",
" * 3.4.0: now resolves to midnight instead of an exact time\n",
" \"\"\"\n",
"\n",
" following_count: \"int\"\n",
" \"\"\"\n",
" How many accounts this account follows.\n",
"\n",
" Version history:\n",
" * 0.1.0: added\n",
" \"\"\"\n",
"\n",
" followers_count: \"int\"\n",
" \"\"\"\n",
" How many followers this account has.\n",
"\n",
" Version history:\n",
" * 0.1.0: added\n",
" \"\"\"\n",
"\n",
" statuses_count: \"int\"\n",
" \"\"\"\n",
" How many statuses this account has created, excluding: 1) later deleted posts 2) direct messages / 'mentined users only' posts, except in earlier versions mastodon.\n",
"\n",
" Version history:\n",
" * 0.1.0: added\n",
" * 2.4.2: no longer includes direct / mentioned-only visibility statuses\n",
" \"\"\"\n",
"\n",
" note: \"str\"\n",
" \"\"\"\n",
" The users bio / profile text / 'note'.\n",
"\n",
" Version history:\n",
" * 0.1.0: added\n",
" \"\"\"\n",
"\n",
" url: \"str\"\n",
" \"\"\"\n",
" A URL pointing to this users profile page (can be remote).\n",
" Should contain (as text): URL\n",
"\n",
" Version history:\n",
" * 0.1.0: added\n",
" \"\"\"\n",
"\n",
" uri: \"str\"\n",
" \"\"\"\n",
" Webfinger-resolvable URI for this account.\n",
" Should contain (as text): URL\n",
"\n",
" Version history:\n",
" * 4.2.0: added\n",
" \"\"\"\n",
"\n",
" avatar: \"str\"\n",
" \"\"\"\n",
" URL for this users avatar, can be animated.\n",
" Should contain (as text): URL\n",
"\n",
" Version history:\n",
" * 0.1.0: added\n",
" \"\"\"\n",
"\n",
" header: \"str\"\n",
" \"\"\"\n",
" URL for this users header image, can be animated.\n",
" Should contain (as text): URL\n",
"\n",
" Version history:\n",
" * 0.1.0: added\n",
" \"\"\"\n",
"\n",
" avatar_static: \"str\"\n",
" \"\"\"\n",
" URL for this users avatar, never animated.\n",
" Should contain (as text): URL\n",
"\n",
" Version history:\n",
" * 1.1.2: added\n",
" \"\"\"\n",
"\n",
" header_static: \"str\"\n",
" \"\"\"\n",
" URL for this users header image, never animated.\n",
" Should contain (as text): URL\n",
"\n",
" Version history:\n",
" * 1.1.2: added\n",
" \"\"\"\n",
"\n",
" moved_to_account: \"Optional[Account]\"\n",
" \"\"\"\n",
" If set, Account that this user has set up as their moved-to address. (optional)\n",
"\n",
" Version history:\n",
" * 2.1.0: added\n",
" \"\"\"\n",
"\n",
" suspended: \"Optional[bool]\"\n",
" \"\"\"\n",
" Boolean indicating whether the user has been suspended. (optional)\n",
"\n",
" Version history:\n",
" * 3.3.0: added\n",
" \"\"\"\n",
"\n",
" limited: \"Optional[bool]\"\n",
" \"\"\"\n",
" Boolean indicating whether the user has been silenced. (optional)\n",
"\n",
" Version history:\n",
" * 3.5.3: added\n",
" \"\"\"\n",
"\n",
" bot: \"bool\"\n",
" \"\"\"\n",
" Boolean indicating whether this account is automated.\n",
"\n",
" Version history:\n",
" * 2.4.0: added\n",
" \"\"\"\n",
"\n",
" fields: \"EntityList[AccountField]\"\n",
" \"\"\"\n",
" List of up to four (by default) AccountFields.\n",
"\n",
" Version history:\n",
" * 2.4.0: added\n",
" \"\"\"\n",
"\n",
" emojis: \"EntityList[CustomEmoji]\"\n",
" \"\"\"\n",
" List of custom emoji used in name, bio or fields.\n",
"\n",
" Version history:\n",
" * 2.4.0: added\n",
" \"\"\"\n",
"\n",
" last_status_at: \"Optional[datetime]\"\n",
" \"\"\"\n",
" When the most recent status was posted. (nullable)\n",
"\n",
" Version history:\n",
" * 3.0.0: added\n",
" * 3.1.0: now returns date only, no time\n",
" \"\"\"\n",
"\n",
" noindex: \"Optional[bool]\"\n",
" \"\"\"\n",
" Whether the local user has opted out of being indexed by search engines. (nullable)\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" roles: \"Optional[EntityList]\"\n",
" \"\"\"\n",
" THIS FIELD IS DEPRECATED. IT IS RECOMMENDED THAT YOU DO NOT USE IT.\n",
"\n",
" Deprecated. Was a list of strings with the users roles. Now just an empty list. Mastodon.py makes no attempt to fill it, and the field may be removed if Mastodon removes it. Use the `role` field instead. (optional, nullable)\n",
"\n",
" Version history:\n",
" * 0.1.0: added\n",
" * 4.0.0: deprecated\n",
" \"\"\"\n",
"\n",
" role: \"Optional[Role]\"\n",
" \"\"\"\n",
" The users role. Only present for account returned from account_verify_credentials(). (optional)\n",
" Additional information about the account, useful for profile editing. Only present for account returned from account_verify_credentials(). (optional)\n",
"\n",
" Version history:\n",
" * 2.4.0: added\n",
" \"\"\"\n",
"\n",
" mute_expires_at: \"Optional[datetime]\"\n",
" \"\"\"\n",
" If the user is muted by the logged in user with a timed mute, when the mute expires. (nullable)\n",
"\n",
" Version history:\n",
" * 3.3.0: added\n",
" \"\"\"\n",
"\n",
" indexable: \"bool\"\n",
" \"\"\"\n",
" Boolean indicating whether public posts by this account should be searchable by anyone.\n",
"\n",
" Version history:\n",
" * 4.2.0: added\n",
" \"\"\"\n",
"\n",
" hide_collections: \"bool\"\n",
" \"\"\"\n",
" Boolean indicating whether a user has chosen to hide their network (followers/followed accounts).\n",
"\n",
" Version history:\n",
" * 4.1.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"4.2.0\"\n",
"\n",
"class AccountField(AttribAccessDict):\n",
" \"\"\"\n",
" A field, displayed on a users profile (e.g. \"Pronouns\", \"Favorite color\").\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/Account/\n",
" \"\"\"\n",
"\n",
" name: \"str\"\n",
" \"\"\"\n",
" The key of a given field's key-value pair.\n",
"\n",
" Version history:\n",
" * 2.4.0: added\n",
" \"\"\"\n",
"\n",
" value: \"str\"\n",
" \"\"\"\n",
" The value associated with the `name` key.\n",
"\n",
" Version history:\n",
" * 2.4.0: added\n",
" \"\"\"\n",
"\n",
" verified_at: \"Optional[str]\"\n",
" \"\"\"\n",
" Timestamp of when the server verified a URL value for a rel=\"me\" link. (nullable)\n",
"\n",
" Version history:\n",
" * 2.6.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"2.6.0\"\n",
"\n",
"class Role(AttribAccessDict):\n",
" \"\"\"\n",
" A role granting a user a set of permissions.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/Role/\n",
" \"\"\"\n",
"\n",
" id: \"IdType\"\n",
" \"\"\"\n",
" The ID of the Role in the database.\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" name: \"str\"\n",
" \"\"\"\n",
" The name of the role.\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" permissions: \"str\"\n",
" \"\"\"\n",
" A bitmask that represents the sum of all permissions granted to the role.\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" color: \"str\"\n",
" \"\"\"\n",
" The hex code assigned to this role. If no hex code is assigned, the string will be empty.\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" highlighted: \"bool\"\n",
" \"\"\"\n",
" Whether the role is publicly visible as a badge on user profiles.\n",
" True if the status is bookmarked by the logged in user, False if not. (optional)\n",
"\n",
" Version history:\n",
" * 3.1.0: added\n",
" \"\"\"\n",
"\n",
" application: \"Optional[Application]\"\n",
" \"\"\"\n",
" Application for the client used to post the status (Does not federate and is therefore always None for remote statuses, can also be None for local statuses for some legacy applications registered before this field was introduced). (optional)\n",
"\n",
" Version history:\n",
" * 0.9.9: added\n",
" \"\"\"\n",
"\n",
" language: \"Optional[str]\"\n",
" \"\"\"\n",
" The language of the status, if specified by the server, as ISO 639-1 (two-letter) language code. (nullable)\n",
" Should contain (as text): TwoLetterLanguageCodeEnum\n",
"\n",
" Version history:\n",
" * 1.4.0: added\n",
" \"\"\"\n",
"\n",
" muted: \"Optional[bool]\"\n",
" \"\"\"\n",
" Boolean denoting whether the user has muted this status by way of conversation muting. (optional)\n",
"\n",
" Version history:\n",
" * 1.4.0: added\n",
" \"\"\"\n",
"\n",
" pinned: \"Optional[bool]\"\n",
" \"\"\"\n",
" Boolean denoting whether or not the status is currently pinned for the associated account. (optional)\n",
"\n",
" Version history:\n",
" * 1.6.0: added\n",
" \"\"\"\n",
"\n",
" replies_count: \"int\"\n",
" \"\"\"\n",
" The number of replies to this status.\n",
"\n",
" Version history:\n",
" * 2.5.0: added\n",
" \"\"\"\n",
"\n",
" card: \"Optional[PreviewCard]\"\n",
" \"\"\"\n",
" A preview card for links from the status, if present at time of delivery. (nullable)\n",
"\n",
" Version history:\n",
" * 2.6.0: added\n",
" \"\"\"\n",
"\n",
" poll: \"Optional[Poll]\"\n",
" \"\"\"\n",
" A poll object if a poll is attached to this status. (nullable)\n",
" List of MediaAttachment objects with the attached media for this version of the status.\n",
"\n",
" Version history:\n",
" * 3.5.0: added\n",
" \"\"\"\n",
"\n",
" emojis: \"EntityList[CustomEmoji]\"\n",
" \"\"\"\n",
" List of custom emoji used in this version of the status.\n",
"\n",
" Version history:\n",
" * 3.5.0: added\n",
" \"\"\"\n",
"\n",
" poll: \"Optional[Poll]\"\n",
" \"\"\"\n",
" The current state of the poll options at this revision. Note that edits changing the poll options will be collapsed together into one edit, since this action resets the poll. (optional)\n",
"\n",
" Version history:\n",
" * 3.5.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"3.5.0\"\n",
"\n",
"class FilterResult(AttribAccessDict):\n",
" \"\"\"\n",
" A filter action that should be taken on a status.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/FilterResult/\n",
" ID of the status this one is a reply to. (nullable)\n",
"\n",
" Version history:\n",
" * 2.7.0: added\n",
" \"\"\"\n",
"\n",
" media_ids: \"Optional[EntityList[str]]\"\n",
" \"\"\"\n",
" IDs of media attached to this status. (nullable)\n",
"\n",
" Version history:\n",
" * 2.7.0: added\n",
" \"\"\"\n",
"\n",
" sensitive: \"Optional[bool]\"\n",
" \"\"\"\n",
" Whether this status is sensitive or not. (nullable)\n",
"\n",
" Version history:\n",
" * 2.7.0: added\n",
" \"\"\"\n",
"\n",
" visibility: \"Optional[str]\"\n",
" \"\"\"\n",
" Visibility of the status. (nullable)\n",
"\n",
" Version history:\n",
" * 2.7.0: added\n",
" \"\"\"\n",
"\n",
" idempotency: \"Optional[str]\"\n",
" \"\"\"\n",
" Idempotency key for the scheduled status. (nullable)\n",
"\n",
" Version history:\n",
" * 2.7.0: added\n",
" \"\"\"\n",
"\n",
" scheduled_at: \"Optional[datetime]\"\n",
" \"\"\"\n",
" Present, but generally \"None\". Unsure what this is for - the actual scheduled_at is in the ScheduledStatus object, not here. If you know, let me know. (nullable)\n",
"\n",
" Version history:\n",
" * 2.7.0: added\n",
" \"\"\"\n",
"\n",
" spoiler_text: \"Optional[str]\"\n",
" \"\"\"\n",
" CW text for this status. (nullable)\n",
"\n",
" Version history:\n",
" * 2.7.0: added\n",
" \"\"\"\n",
"\n",
" application_id: \"IdType\"\n",
" \"\"\"\n",
" ID of the application that scheduled the status.\n",
"\n",
" Version history:\n",
" * 2.7.0: added\n",
" \"\"\"\n",
"\n",
" poll: \"Optional[Poll]\"\n",
" \"\"\"\n",
" Poll parameters. (nullable)\n",
"\n",
" Version history:\n",
" * 2.8.0: added\n",
" \"\"\"\n",
"\n",
" language: \"Optional[str]\"\n",
" \"\"\"\n",
" The language that will be used for the status. (nullable)\n",
" Should contain (as text): TwoLetterLanguageCodeEnum\n",
" Undocumented. If you know what this does, please let me know. (nullable)\n",
"\n",
" Version history:\n",
" * 2.7.0: added\n",
" \"\"\"\n",
"\n",
" with_rate_limit: \"bool\"\n",
" \"\"\"\n",
" Whether the status should be rate limited. It is unclear to me what this does. If you know, please let met know.\n",
"\n",
" Version history:\n",
" * 2.7.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"2.8.0\"\n",
"\n",
"class Poll(AttribAccessDict):\n",
" \"\"\"\n",
" A poll attached to a status.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/Poll/\n",
" \"\"\"\n",
"\n",
" id: \"IdType\"\n",
" \"\"\"\n",
" The polls ID.\n",
"\n",
" Version history:\n",
" * 2.8.0: added\n",
" \"\"\"\n",
"\n",
" expires_at: \"Optional[datetime]\"\n",
" \"\"\"\n",
" The time at which the poll is set to expire. (nullable)\n",
"\n",
" Version history:\n",
" * 2.8.0: added\n",
" \"\"\"\n",
"\n",
" expired: \"bool\"\n",
" \"\"\"\n",
" Boolean denoting whether users can still vote in this poll.\n",
"\n",
" Version history:\n",
" * 2.8.0: added\n",
" \"\"\"\n",
"\n",
" multiple: \"bool\"\n",
" \"\"\"\n",
" Boolean indicating whether it is allowed to vote for more than one option.\n",
"\n",
" Version history:\n",
" * 2.8.0: added\n",
" \"\"\"\n",
"\n",
" votes_count: \"int\"\n",
" \"\"\"\n",
" Total number of votes cast in this poll.\n",
"\n",
" Version history:\n",
" * 2.8.0: added\n",
" \"\"\"\n",
"\n",
" voted: \"bool\"\n",
" \"\"\"\n",
" Boolean indicating whether the logged-in user has already voted in this poll.\n",
"\n",
" Version history:\n",
" * 2.8.0: added\n",
" \"\"\"\n",
"\n",
" options: \"EntityList[PollOption]\"\n",
" \"\"\"\n",
" The poll options.\n",
"\n",
" Version history:\n",
" * 2.8.0: added\n",
" \"\"\"\n",
"\n",
" emojis: \"EntityList[CustomEmoji]\"\n",
" \"\"\"\n",
" List of CustomEmoji used in answer strings,.\n",
"\n",
" Version history:\n",
" * 2.8.0: added\n",
" \"\"\"\n",
"\n",
" own_votes: \"EntityList[int]\"\n",
" \"\"\"\n",
" The logged-in users votes, as a list of indices to the options.\n",
"\n",
" Version history:\n",
" * 2.8.0: added\n",
" \"\"\"\n",
"\n",
" voters_count: \"Optional[int]\"\n",
" \"\"\"\n",
" How many unique accounts have voted on a multiple-choice poll. (nullable)\n",
"\n",
" Version history:\n",
" * 2.8.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"2.8.0\"\n",
"\n",
"class PollOption(AttribAccessDict):\n",
" \"\"\"\n",
" A poll option within a poll.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/Poll/\n",
" \"\"\"\n",
"\n",
" title: \"str\"\n",
" \"\"\"\n",
" Text of the option.\n",
"\n",
" Version history:\n",
" * 2.8.0: added\n",
" \"\"\"\n",
"\n",
" votes_count: \"Optional[int]\"\n",
" \"\"\"\n",
" Count of votes for the option. Can be None if the poll creator has chosen to hide vote totals until the poll expires and it hasn't yet. (nullable)\n",
"\n",
" Version history:\n",
" * 2.8.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"2.8.0\"\n",
"\n",
"class Conversation(AttribAccessDict):\n",
" \"\"\"\n",
" A conversation (using direct / mentions-only visibility) between two or more users.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/Conversation/\n",
" \"\"\"\n",
"\n",
" id: \"IdType\"\n",
" \"\"\"\n",
" The ID of this conversation object.\n",
"\n",
" Version history:\n",
" * 2.6.0: added\n",
" \"\"\"\n",
"\n",
" unread: \"bool\"\n",
" \"\"\"\n",
" Boolean indicating whether this conversation has yet to be read by the user.\n",
"\n",
" Version history:\n",
" * 2.6.0: added\n",
" \"\"\"\n",
"\n",
" accounts: \"EntityList[Account]\"\n",
" \"\"\"\n",
" List of accounts (other than the logged-in account) that are part of this conversation.\n",
"\n",
" Version history:\n",
" * 2.6.0: added\n",
" \"\"\"\n",
"\n",
" last_status: \"Optional[Status]\"\n",
" \"\"\"\n",
" The newest status in this conversation. (nullable)\n",
"\n",
" Version history:\n",
" * 2.6.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"2.6.0\"\n",
"\n",
"class Tag(AttribAccessDict):\n",
" \"\"\"\n",
" A hashtag, as part of a status or on its own (e.g. trending).\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/Tag/\n",
" List of TagHistory for up to 7 days. Not present in statuses. (optional)\n",
"\n",
" Version history:\n",
" * 2.4.1: added\n",
" \"\"\"\n",
"\n",
" following: \"Optional[bool]\"\n",
" \"\"\"\n",
" Boolean indicating whether the logged-in user is following this tag. (optional)\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"4.0.0\"\n",
"\n",
"class TagHistory(AttribAccessDict):\n",
" \"\"\"\n",
" Usage history for a hashtag.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/Tag/\n",
" \"\"\"\n",
"\n",
" day: \"datetime\"\n",
" \"\"\"\n",
" Date of the day this TagHistory is for.\n",
" Should contain (as text): datetime\n",
"\n",
" Version history:\n",
" * 2.4.1: added\n",
" \"\"\"\n",
"\n",
" uses: \"str\"\n",
" \"\"\"\n",
" Number of statuses using this hashtag on that day.\n",
"\n",
" Version history:\n",
" * 2.4.1: added\n",
" \"\"\"\n",
"\n",
" accounts: \"str\"\n",
" \"\"\"\n",
" Number of accounts using this hashtag in at least one status on that day.\n",
"\n",
" Version history:\n",
" * 2.4.1: added\n",
" \"\"\"\n",
"\n",
" _version = \"2.4.1\"\n",
"\n",
"class CustomEmoji(AttribAccessDict):\n",
" \"\"\"\n",
" A custom emoji.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/CustomEmoji/\n",
" \"\"\"\n",
"\n",
" shortcode: \"str\"\n",
" \"\"\"\n",
" Emoji shortcode, without surrounding colons.\n",
"\n",
" Version history:\n",
" * 2.0.0: added\n",
" \"\"\"\n",
"\n",
" url: \"str\"\n",
" \"\"\"\n",
" URL for the emoji image, can be animated.\n",
" Should contain (as text): URL\n",
"\n",
" Version history:\n",
" * 2.0.0: added\n",
" \"\"\"\n",
"\n",
" static_url: \"str\"\n",
" \"\"\"\n",
" URL for the emoji image, never animated.\n",
" Should contain (as text): URL\n",
"\n",
" Version history:\n",
" * 2.0.0: added\n",
" \"\"\"\n",
"\n",
" visible_in_picker: \"bool\"\n",
" \"\"\"\n",
" True if the emoji is enabled, False if not.\n",
"\n",
" Version history:\n",
" * 2.0.0: added\n",
" \"\"\"\n",
"\n",
" category: \"Optional[str]\"\n",
" \"\"\"\n",
" The category to display the emoji under (not present if none is set). (nullable)\n",
"\n",
" Version history:\n",
" * 3.0.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"3.0.0\"\n",
"\n",
"class Application(AttribAccessDict):\n",
" \"\"\"\n",
" Information about an app (in terms of the API).\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/Application/\n",
" \"\"\"\n",
"\n",
" id: \"IdType\"\n",
" \"\"\"\n",
" ID of the application.\n",
"\n",
" Version history:\n",
" * 2.7.0: added\n",
" \"\"\"\n",
"\n",
" name: \"str\"\n",
" \"\"\"\n",
" The applications name.\n",
"\n",
" Version history:\n",
" * 0.9.9: added\n",
" \"\"\"\n",
"\n",
" website: \"Optional[str]\"\n",
" \"\"\"\n",
" The applications website. (nullable)\n",
"\n",
" Version history:\n",
" * 0.9.9: added\n",
" * 3.5.1: this property is now nullable\n",
" \"\"\"\n",
"\n",
" vapid_key: \"str\"\n",
" \"\"\"\n",
" THIS FIELD IS DEPRECATED. IT IS RECOMMENDED THAT YOU DO NOT USE IT.\n",
"\n",
" A vapid key that can be used in web applications.\n",
"\n",
" Version history:\n",
" * 2.8.0: added\n",
" * 4.3.0: deprecated\n",
" \"\"\"\n",
"\n",
" redirect_uri: \"str\"\n",
" \"\"\"\n",
" THIS FIELD IS DEPRECATED. IT IS RECOMMENDED THAT YOU DO NOT USE IT.\n",
"\n",
" The applications redirect URI or urn:ietf:wg:oauth:2.0:oob. Deprecated, it is recommended to use redirect_uris instead.\n",
"\n",
" Version history:\n",
" * 0.0.0: added\n",
" * 4.3.0: deprecated\n",
" \"\"\"\n",
"\n",
" redirect_uris: \"EntityList[str]\"\n",
" \"\"\"\n",
" The applications redirect URI or urn:ietf:wg:oauth:2.0:oob. Deprecated, it is recommended to use redirect_uris instead.\n",
" Should contain (as text): URL\n",
"\n",
" Version history:\n",
" * 4.3.0: added\n",
" \"\"\"\n",
"\n",
" scopes: \"EntityList[str]\"\n",
" \"\"\"\n",
" The applications available scopes.\n",
" Should contain (as text): Scopes\n",
"\n",
" Version history:\n",
" * 4.3.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"4.3.0\"\n",
"\n",
"class Relationship(AttribAccessDict):\n",
" \"\"\"\n",
" Information about the relationship between two users.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/Relationship/\n",
" \"\"\"\n",
"\n",
" id: \"IdType\"\n",
" \"\"\"\n",
" ID of the relationship object.\n",
"\n",
" Version history:\n",
" * 0.6.0: added\n",
" \"\"\"\n",
"\n",
" following: \"bool\"\n",
" \"\"\"\n",
" Boolean denoting whether the logged-in user follows the specified user.\n",
"\n",
" Version history:\n",
" * 0.6.0: added\n",
" \"\"\"\n",
"\n",
" followed_by: \"bool\"\n",
" \"\"\"\n",
" Boolean denoting whether the specified user follows the logged-in user.\n",
"\n",
" Version history:\n",
" * 0.6.0: added\n",
" \"\"\"\n",
"\n",
" blocking: \"bool\"\n",
" \"\"\"\n",
" Boolean denoting whether the logged-in user has blocked the specified user.\n",
"\n",
" Version history:\n",
" * 0.6.0: added\n",
" \"\"\"\n",
"\n",
" blocked_by: \"bool\"\n",
" \"\"\"\n",
" Boolean denoting whether the logged-in user has been blocked by the specified user, if information is available.\n",
"\n",
" Version history:\n",
" * 2.8.0: added\n",
" \"\"\"\n",
"\n",
" muting: \"bool\"\n",
" \"\"\"\n",
" Boolean denoting whether the logged-in user has muted the specified user.\n",
"\n",
" Version history:\n",
" * 1.1.0: added\n",
" \"\"\"\n",
"\n",
" muting_notifications: \"bool\"\n",
" \"\"\"\n",
" Boolean denoting wheter the logged-in user has muted notifications related to the specified user.\n",
"\n",
" Version history:\n",
" * 2.1.0: added\n",
" \"\"\"\n",
"\n",
" requested: \"bool\"\n",
" \"\"\"\n",
" Boolean denoting whether the logged-in user has sent the specified user a follow request.\n",
"\n",
" Version history:\n",
" * 0.9.9: added\n",
" \"\"\"\n",
"\n",
" domain_blocking: \"bool\"\n",
" \"\"\"\n",
" Boolean denoting whether the logged-in user has blocked the specified users domain.\n",
"\n",
" Version history:\n",
" * 1.4.0: added\n",
" \"\"\"\n",
"\n",
" showing_reblogs: \"bool\"\n",
" \"\"\"\n",
" Boolean denoting whether the specified users reblogs show up on the logged-in users Timeline.\n",
"\n",
" Version history:\n",
" * 2.1.0: added\n",
" \"\"\"\n",
"\n",
" endorsed: \"bool\"\n",
" \"\"\"\n",
" Boolean denoting wheter the specified user is being endorsed / featured by the logged-in user.\n",
"\n",
" Version history:\n",
" * 2.5.0: added\n",
" \"\"\"\n",
"\n",
" note: \"str\"\n",
" \"\"\"\n",
" A free text note the logged in user has created for this account (not publicly visible).\n",
"\n",
" Version history:\n",
" * 3.2.0: added\n",
" \"\"\"\n",
"\n",
" notifying: \"bool\"\n",
" \"\"\"\n",
" Boolean indicating whether the logged-in user has enabled notifications for this users posts.\n",
"\n",
" Version history:\n",
" * 3.3.0: added\n",
" \"\"\"\n",
"\n",
" languages: \"Optional[EntityList[str]]\"\n",
" \"\"\"\n",
" List of languages that the logged in user is following this user for (if any). (nullable)\n",
" Should contain (as text): TwoLetterLanguageCodeEnum\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" requested_by: \"bool\"\n",
" \"\"\"\n",
" Boolean indicating whether the specified user has sent the logged-in user a follow request.\n",
"\n",
" Version history:\n",
" * 0.9.9: added\n",
" \"\"\"\n",
"\n",
" _version = \"4.0.0\"\n",
"\n",
"class Filter(AttribAccessDict):\n",
" \"\"\"\n",
" Information about a keyword / status filter.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/V1_Filter/\n",
" \"\"\"\n",
"\n",
" id: \"IdType\"\n",
" \"\"\"\n",
" Id of the filter.\n",
"\n",
" Version history:\n",
" * 2.4.3: added\n",
" \"\"\"\n",
"\n",
" phrase: \"str\"\n",
" \"\"\"\n",
" Filtered keyword or phrase.\n",
"\n",
" Version history:\n",
" * 2.4.3: added\n",
" \"\"\"\n",
"\n",
" context: \"EntityList[str]\"\n",
" \"\"\"\n",
" List of places where the filters are applied.\n",
" Should contain (as text): FilterContextEnum\n",
"\n",
" Version history:\n",
" * 2.4.3: added\n",
" * 3.1.0: added `account`\n",
" \"\"\"\n",
"\n",
" expires_at: \"Optional[datetime]\"\n",
" \"\"\"\n",
" Expiry date for the filter. (nullable)\n",
"\n",
" Version history:\n",
" * 2.4.3: added\n",
" \"\"\"\n",
"\n",
" irreversible: \"bool\"\n",
" \"\"\"\n",
" Boolean denoting if this filter is executed server-side or if it should be ran client-side.\n",
"\n",
" Version history:\n",
" * 2.4.3: added\n",
" \"\"\"\n",
"\n",
" whole_word: \"bool\"\n",
" \"\"\"\n",
" Boolean denoting whether this filter can match partial words.\n",
"\n",
" Version history:\n",
" * 2.4.3: added\n",
" \"\"\"\n",
"\n",
" _version = \"3.1.0\"\n",
"\n",
"class FilterV2(AttribAccessDict):\n",
" \"\"\"\n",
" Information about a keyword / status filter.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/Filter/\n",
" \"\"\"\n",
"\n",
" id: \"IdType\"\n",
" \"\"\"\n",
" Id of the filter.\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" context: \"EntityList[str]\"\n",
" \"\"\"\n",
" List of places where the filters are applied.\n",
" Should contain (as text): FilterContextEnum\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" expires_at: \"Optional[datetime]\"\n",
" \"\"\"\n",
" Expiry date for the filter. (nullable)\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" title: \"str\"\n",
" \"\"\"\n",
" Name the user has chosen for this filter.\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" filter_action: \"str\"\n",
" \"\"\"\n",
" The action to be taken when a status matches this filter.\n",
" Should contain (as text): FilterActionEnum\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" keywords: \"EntityList[FilterKeyword]\"\n",
" \"\"\"\n",
" A list of keywords that will trigger this filter.\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" statuses: \"EntityList[FilterStatus]\"\n",
" \"\"\"\n",
" A list of statuses that will trigger this filter.\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"4.0.0\"\n",
"\n",
"class Notification(AttribAccessDict):\n",
" \"\"\"\n",
" A notification about some event, like a new reply or follower.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/Notification/\n",
" \"\"\"\n",
"\n",
" id: \"IdType\"\n",
" \"\"\"\n",
" id of the notification.\n",
"\n",
" Version history:\n",
" * 0.9.9: added\n",
" \"\"\"\n",
"\n",
" type: \"str\"\n",
" \"\"\"\n",
" \"mention\", \"reblog\", \"favourite\", \"follow\", \"poll\" or \"follow_request\".\n",
" Should contain (as text): NotificationTypeEnum\n",
"\n",
" Version history:\n",
" * 0.9.9: added\n",
" * 2.8.0: added `poll`\n",
" * 3.1.0: added `follow_request`\n",
" * 3.3.0: added `status`\n",
" * 3.5.0: added `update` and `admin.sign_up`\n",
" * 4.0.0: added `admin.report`\n",
" \"\"\"\n",
"\n",
" created_at: \"datetime\"\n",
" \"\"\"\n",
" The time the notification was created.\n",
"\n",
" Version history:\n",
" * 0.9.9: added\n",
" \"\"\"\n",
"\n",
" account: \"Account\"\n",
" \"\"\"\n",
" Account of the user from whom the notification originates.\n",
"\n",
" Version history:\n",
" * 0.9.9: added\n",
" \"\"\"\n",
"\n",
" status: \"Optional[Status]\"\n",
" \"\"\"\n",
" In case of \"mention\", the mentioning status In case of reblog / favourite, the reblogged / favourited status. (optional)\n",
"\n",
" Version history:\n",
" * 0.9.9: added\n",
" * 4.0.0: is now optional\n",
" \"\"\"\n",
"\n",
" group_key: \"str\"\n",
" \"\"\"\n",
" A key to group notifications by. Structure is unspecified and subject to change, so please do not make assumptions about it.\n",
"\n",
" Version history:\n",
" * 4.3.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"4.3.0\"\n",
"\n",
"class Context(AttribAccessDict):\n",
" \"\"\"\n",
" The conversation context for a given status, i.e. its predecessors (that it replies to) and successors (that reply to it).\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/Context/\n",
" \"\"\"\n",
"\n",
" ancestors: \"EntityList[Status]\"\n",
" \"\"\"\n",
" A list of Statuses that the Status with this Context is a reply to.\n",
"\n",
" Version history:\n",
" * 0.6.0: added\n",
" \"\"\"\n",
"\n",
" descendants: \"EntityList[Status]\"\n",
" \"\"\"\n",
" A list of Statuses that are replies to the Status with this Context.\n",
"\n",
" Version history:\n",
" * 0.6.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"0.6.0\"\n",
"\n",
"class UserList(AttribAccessDict):\n",
" \"\"\"\n",
" A list of users.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/List/\n",
" \"\"\"\n",
"\n",
" id: \"IdType\"\n",
" \"\"\"\n",
" id of the list.\n",
"\n",
" Version history:\n",
" * 2.1.0: added\n",
" \"\"\"\n",
"\n",
" title: \"str\"\n",
" \"\"\"\n",
" title of the list.\n",
"\n",
" Version history:\n",
" * 2.1.0: added\n",
" \"\"\"\n",
"\n",
" replies_policy: \"str\"\n",
" \"\"\"\n",
" Which replies should be shown in the list.\n",
" Should contain (as text): RepliesPolicyEnum\n",
"\n",
" Version history:\n",
" * 3.3.0: added\n",
" \"\"\"\n",
"\n",
" exclusive: \"Optional[bool]\"\n",
" \"\"\"\n",
" Boolean indicating whether users on this list are removed from the home feed (appearing exclusively as part of the list). nb: This setting applies to posts at the time they are put into a feed. (optional)\n",
"\n",
" Version history:\n",
" * 4.2.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"4.2.0\"\n",
"\n",
"class MediaAttachment(AttribAccessDict):\n",
" \"\"\"\n",
" A piece of media (like an image, video, or audio file) that can be or has been attached to a status.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/MediaAttachment/\n",
" \"\"\"\n",
"\n",
" id: \"MaybeSnowflakeIdType\"\n",
" \"\"\"\n",
" The ID of the attachment.\n",
"\n",
" Version history:\n",
" * 0.6.0: added\n",
" \"\"\"\n",
"\n",
" type: \"str\"\n",
" \"\"\"\n",
" Media type: 'image', 'video', 'gifv', 'audio' or 'unknown'.\n",
"\n",
" Version history:\n",
" * 0.6.0: added\n",
" * 2.9.1: added `audio`\n",
" \"\"\"\n",
"\n",
" url: \"str\"\n",
" \"\"\"\n",
" The URL for the image in the local cache.\n",
" Should contain (as text): URL\n",
"\n",
" Version history:\n",
" * 0.6.0: added\n",
" \"\"\"\n",
"\n",
" remote_url: \"Optional[str]\"\n",
" \"\"\"\n",
" The remote URL for the media (if the image is from a remote instance). (nullable)\n",
" Should contain (as text): URL\n",
"\n",
" Version history:\n",
" * 0.6.0: added\n",
" \"\"\"\n",
"\n",
" preview_url: \"Optional[str]\"\n",
" \"\"\"\n",
" The URL for the media preview. (nullable)\n",
" Should contain (as text): URL\n",
"\n",
" Version history:\n",
" * 0.6.0: added\n",
" \"\"\"\n",
"\n",
" text_url: \"Optional[str]\"\n",
" \"\"\"\n",
" THIS FIELD IS DEPRECATED. IT IS RECOMMENDED THAT YOU DO NOT USE IT.\n",
"\n",
" Deprecated. The display text for the media (what shows up in text). May not be present in mastodon versions after 3.5.0. (optional)\n",
" Should contain (as text): URL\n",
"\n",
" Version history:\n",
" * 0.6.0: added\n",
" * 3.5.0: removed\n",
" \"\"\"\n",
"\n",
" meta: \"MediaAttachmentMetadataContainer\"\n",
" \"\"\"\n",
" MediaAttachmentMetadataContainer that contains metadata for 'original' and 'small' (preview) versions of the MediaAttachment. Either may be empty. May additionally contain an \"fps\" field giving a videos frames per second (possibly rounded), and a \"length\" field giving a videos length in a human-readable format. Note that a video may have an image as preview. May also contain a 'focus' object and a media 'colors' object.\n",
"\n",
" Version history:\n",
" * 1.5.0: added\n",
" * 2.3.0: added focus\n",
" * 4.0.0: added colors\n",
" \"\"\"\n",
"\n",
" blurhash: \"str\"\n",
" \"\"\"\n",
" The blurhash for the image, used for preview / placeholder generation.\n",
" Should contain (as text): Blurhash\n",
"\n",
" Version history:\n",
" * 2.8.1: added\n",
" \"\"\"\n",
"\n",
" description: \"Optional[str]\"\n",
" \"\"\"\n",
" If set, the user-provided description for this media. (nullable)\n",
"\n",
" Version history:\n",
" * 2.0.0: added\n",
" \"\"\"\n",
"\n",
" preview_remote_url: \"Optional[str]\"\n",
" \"\"\"\n",
" If set, the remote URL for the thumbnail of this media attachment on the or originating instance. (nullable)\n",
" An object holding metadata about a media attachment and its thumbnail. In addition to the documented fields, there may be additional fields. These are not documented, not guaranteed to be present (they are a Mastodon implementation detail), and may change without notice, so relying on them is not recommended.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/MediaAttachment/\n",
" Metadata for a video attachment. This can be a proper video, or a gifv (a looping, soundless animation). Both use the same data model currently, though there is a possibility that they could be split in the future.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/MediaAttachment/\n",
" \"\"\"\n",
"\n",
" width: \"int\"\n",
" \"\"\"\n",
" Width of the video in pixels.\n",
"\n",
" Version history:\n",
" * 0.6.0: added\n",
" \"\"\"\n",
"\n",
" height: \"int\"\n",
" \"\"\"\n",
" Height of the video in pixels.\n",
"\n",
" Version history:\n",
" * 0.6.0: added\n",
" \"\"\"\n",
"\n",
" frame_rate: \"str\"\n",
" \"\"\"\n",
" Exact frame rate of the video in frames per second. Can be an integer fraction (i.e. \"20/7\").\n",
"\n",
" Version history:\n",
" * 0.6.0: added\n",
" \"\"\"\n",
"\n",
" duration: \"float\"\n",
" \"\"\"\n",
" Duration of the video in seconds.\n",
"\n",
" Version history:\n",
" * 0.6.0: added\n",
" \"\"\"\n",
"\n",
" bitrate: \"int\"\n",
" \"\"\"\n",
" Average bit-rate of the video in bytes per second.\n",
" Object describing the accent colors for a media attachment.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/MediaAttachment/\n",
" \"\"\"\n",
"\n",
" foreground: \"str\"\n",
" \"\"\"\n",
" Estimated foreground colour for the attachment thumbnail, as a html format hex color (#rrggbb).\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" background: \"str\"\n",
" \"\"\"\n",
" Estimated background colour for the attachment thumbnail, as a html format hex color (#rrggbb).\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" accent: \"str\"\n",
" \"\"\"\n",
" Estimated accent colour for the attachment thumbnail.\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"4.0.0\"\n",
"\n",
"class PreviewCard(AttribAccessDict):\n",
" \"\"\"\n",
" A preview card attached to a status, e.g. for an embedded video or link.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/PreviewCard/\n",
" \"\"\"\n",
"\n",
" url: \"str\"\n",
" \"\"\"\n",
" The URL of the card.\n",
" Should contain (as text): URL\n",
"\n",
" Version history:\n",
" * 1.0.0: added\n",
" \"\"\"\n",
"\n",
" title: \"str\"\n",
" \"\"\"\n",
" The title of the card.\n",
"\n",
" Version history:\n",
" * 1.0.0: added\n",
" \"\"\"\n",
"\n",
" description: \"str\"\n",
" \"\"\"\n",
" Description of the embedded content.\n",
"\n",
" Version history:\n",
" * 1.0.0: added\n",
" \"\"\"\n",
"\n",
" type: \"str\"\n",
" \"\"\"\n",
" Embed type: 'link', 'photo', 'video', or 'rich'.\n",
"\n",
" Version history:\n",
" * 1.3.0: added\n",
" \"\"\"\n",
"\n",
" image: \"Optional[str]\"\n",
" \"\"\"\n",
" (optional) The image associated with the card. (nullable)\n",
" Should contain (as text): URL\n",
"\n",
" Version history:\n",
" * 1.0.0: added\n",
" \"\"\"\n",
"\n",
" author_name: \"str\"\n",
" \"\"\"\n",
" THIS FIELD IS DEPRECATED. IT IS RECOMMENDED THAT YOU DO NOT USE IT.\n",
"\n",
" Name of the embedded contents author. Deprecated in favour of the `authors` field.\n",
"\n",
" Version history:\n",
" * 1.3.0: added\n",
" * 4.3.0: deprecated\n",
" \"\"\"\n",
"\n",
" author_url: \"str\"\n",
" \"\"\"\n",
" URL pointing to the embedded contents author. Deprecated in favour of the `authors` field.\n",
" Should contain (as text): URL\n",
"\n",
" Version history:\n",
" * 1.3.0: added\n",
" * 4.3.0: deprecated\n",
" \"\"\"\n",
"\n",
" width: \"int\"\n",
" \"\"\"\n",
" Width of the embedded object.\n",
"\n",
" Version history:\n",
" * 1.3.0: added\n",
" \"\"\"\n",
"\n",
" height: \"int\"\n",
" \"\"\"\n",
" Height of the embedded object.\n",
"\n",
" Version history:\n",
" * 1.3.0: added\n",
" \"\"\"\n",
"\n",
" html: \"str\"\n",
" \"\"\"\n",
" HTML string representing the embed.\n",
" Should contain (as text): HTML\n",
"\n",
" Version history:\n",
" * 1.3.0: added\n",
" \"\"\"\n",
"\n",
" provider_name: \"str\"\n",
" \"\"\"\n",
" Name of the provider from which the embed originates.\n",
"\n",
" Version history:\n",
" * 1.3.0: added\n",
" \"\"\"\n",
"\n",
" provider_url: \"str\"\n",
" \"\"\"\n",
" URL pointing to the embeds provider.\n",
" Should contain (as text): URL\n",
"\n",
" Version history:\n",
" * 1.3.0: added\n",
" \"\"\"\n",
"\n",
" blurhash: \"Optional[str]\"\n",
" \"\"\"\n",
" Blurhash of the preview image. (nullable)\n",
" Should contain (as text): Blurhash\n",
"\n",
" Version history:\n",
" * 3.2.0: added\n",
" \"\"\"\n",
"\n",
" language: \"Optional[str]\"\n",
" \"\"\"\n",
" Language of the embedded content. (optional)\n",
" Should contain (as text): TwoLetterLanguageCodeEnum\n",
"\n",
" Version history:\n",
" * 1.3.0: added\n",
" \"\"\"\n",
"\n",
" embed_url: \"str\"\n",
" \"\"\"\n",
" Used for photo embeds, instead of custom `html`.\n",
" Should contain (as text): URL\n",
"\n",
" Version history:\n",
" * 2.1.0: added\n",
" \"\"\"\n",
"\n",
" authors: \"EntityList[PreviewCardAuthor]\"\n",
" \"\"\"\n",
" List of fediverse accounts of the authors of this post, as `PreviewCardAuthor`.\n",
"\n",
" Version history:\n",
" * 4.3.0: added\n",
" \"\"\"\n",
"\n",
" image_description: \"str\"\n",
" \"\"\"\n",
" Alt text / image description for the image preview for the card.\n",
"\n",
" Version history:\n",
" * 4.2.0: added\n",
" \"\"\"\n",
"\n",
" published_at: \"Optional[datetime]\"\n",
" \"\"\"\n",
" Publication time of the embedded content, if available, as a `datetime` object. (nullable)\n",
"\n",
" Version history:\n",
" * 4.2.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"4.3.0\"\n",
"\n",
"class PreviewCardAuthor(AttribAccessDict):\n",
" \"\"\"\n",
" A preview card attached to a status, e.g. for an embedded video or link.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/PreviewCardAuthor/\n",
" \"\"\"\n",
"\n",
" name: \"str\"\n",
" \"\"\"\n",
" THIS FIELD IS DEPRECATED. IT IS RECOMMENDED THAT YOU DO NOT USE IT.\n",
"\n",
" Name of the embedded contents author.\n",
"\n",
" Version history:\n",
" * 4.3.0: added\n",
" \"\"\"\n",
"\n",
" url: \"str\"\n",
" \"\"\"\n",
" URL pointing to the embedded contents author.\n",
" Should contain (as text): URL\n",
"\n",
" Version history:\n",
" * 4.3.0: added\n",
" \"\"\"\n",
"\n",
" account: \"Account\"\n",
" \"\"\"\n",
" Account of the author of this post, as `Account`.\n",
"\n",
" Version history:\n",
" * 4.3.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"4.3.0\"\n",
"\n",
"class Search(AttribAccessDict):\n",
" \"\"\"\n",
" A search result, with accounts, hashtags and statuses.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/Search/\n",
" \"\"\"\n",
"\n",
" accounts: \"EntityList[Account]\"\n",
" \"\"\"\n",
" List of Accounts resulting from the query.\n",
"\n",
" Version history:\n",
" * 1.1.0: added\n",
" \"\"\"\n",
"\n",
" hashtags: \"EntityList[str]\"\n",
" \"\"\"\n",
" THIS FIELD IS DEPRECATED. IT IS RECOMMENDED THAT YOU DO NOT USE IT.\n",
"\n",
" List of Tags resulting from the query.\n",
"\n",
" Version history:\n",
" * 1.1.0: added\n",
" * 2.4.1: v1 search deprecated because it returns a list of strings. v2 search added which returns a list of tags.\n",
" * 3.0.0: v1 removed\n",
" \"\"\"\n",
"\n",
" statuses: \"EntityList[Status]\"\n",
" \"\"\"\n",
" List of Statuses resulting from the query.\n",
"\n",
" Version history:\n",
" * 1.1.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"3.0.0\"\n",
"\n",
"class SearchV2(AttribAccessDict):\n",
" \"\"\"\n",
" A search result, with accounts, hashtags and statuses.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/Search/\n",
" \"\"\"\n",
"\n",
" accounts: \"EntityList[Account]\"\n",
" \"\"\"\n",
" List of Accounts resulting from the query.\n",
"\n",
" Version history:\n",
" * 1.1.0: added\n",
" \"\"\"\n",
"\n",
" hashtags: \"EntityList[Tag]\"\n",
" \"\"\"\n",
" List of Tags resulting from the query.\n",
"\n",
" Version history:\n",
" * 2.4.1: added\n",
" \"\"\"\n",
"\n",
" statuses: \"EntityList[Status]\"\n",
" \"\"\"\n",
" List of Statuses resulting from the query.\n",
"\n",
" Version history:\n",
" * 1.1.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"2.4.1\"\n",
"\n",
"class Instance(AttribAccessDict):\n",
" \"\"\"\n",
" Information about an instance. V1 API version.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/V1_Instance/\n",
" \"\"\"\n",
"\n",
" uri: \"str\"\n",
" \"\"\"\n",
" The instance's domain name. Moved to 'domain' for the v2 API, though Mastodon.py will mirror it here for backwards compatibility.\n",
" Should contain (as text): DomainName\n",
"\n",
" Version history:\n",
" * 1.1.0: added\n",
" \"\"\"\n",
"\n",
" title: \"str\"\n",
" \"\"\"\n",
" The instance's title.\n",
"\n",
" Version history:\n",
" * 1.1.0: added\n",
" \"\"\"\n",
"\n",
" short_description: \"str\"\n",
" \"\"\"\n",
" An very brief text only instance description. Moved to 'description' for the v2 API.\n",
"\n",
" Version history:\n",
" * 2.9.2: added\n",
" \"\"\"\n",
"\n",
" description: \"str\"\n",
" \"\"\"\n",
" THIS FIELD IS DEPRECATED. IT IS RECOMMENDED THAT YOU DO NOT USE IT.\n",
"\n",
" A brief instance description set by the admin. The V1 variant could contain html, but this is now deprecated. Likely to be empty on many instances.\n",
" Should contain (as text): HTML\n",
"\n",
" Version history:\n",
" * 1.1.0: added\n",
" * 4.0.0: deprecated - likely to be empty.\n",
" \"\"\"\n",
"\n",
" email: \"str\"\n",
" \"\"\"\n",
" The admin contact email. Moved to InstanceContacts for the v2 API, though Mastodon.py will mirror it here for backwards compatibility.\n",
" Should contain (as text): Email\n",
"\n",
" Version history:\n",
" * 1.1.0: added\n",
" \"\"\"\n",
"\n",
" version: \"str\"\n",
" \"\"\"\n",
" The instance's Mastodon version. For a more robust parsed major/minor/patch version see TODO IMPLEMENT FUNCTION TO RETURN VERSIONS.\n",
"\n",
" Version history:\n",
" * 1.3.0: added\n",
" \"\"\"\n",
"\n",
" urls: \"InstanceURLs\"\n",
" \"\"\"\n",
" Additional InstanceURLs, in the v1 api version likely to be just 'streaming_api' with the stream server websocket address.\n",
"\n",
" Version history:\n",
" * 1.4.2: added\n",
" \"\"\"\n",
"\n",
" stats: \"Optional[InstanceStatistics]\"\n",
" \"\"\"\n",
" InstanceStatistics containing three stats, user_count (number of local users), status_count (number of local statuses) and domain_count (number of known instance domains other than this one). This information is not present in the v2 API variant in this form - there is a 'usage' field instead. (optional)\n",
"\n",
" Version history:\n",
" * 1.6.0: added\n",
" \"\"\"\n",
"\n",
" thumbnail: \"Optional[str]\"\n",
" \"\"\"\n",
" Information about thumbnails to represent the instance. In the v1 API variant, simply an URL pointing to a banner image representing the instance. The v2 API provides a more complex structure with a list of thumbnails of different sizes in this field. (nullable)\n",
" Should contain (as text): URL\n",
"\n",
" Version history:\n",
" * 1.6.1: added\n",
" \"\"\"\n",
"\n",
" languages: \"EntityList[str]\"\n",
" \"\"\"\n",
" Array of ISO 639-1 (two-letter) language codes the instance has chosen to advertise.\n",
" Should contain (as text): TwoLetterLanguageCodeEnum\n",
"\n",
" Version history:\n",
" * 2.3.0: added\n",
" \"\"\"\n",
"\n",
" registrations: \"bool\"\n",
" \"\"\"\n",
" A boolean indication whether registrations on this instance are open (True) or not (False). The v2 API variant instead provides a dict with more information about possible registration requirements here.\n",
"\n",
" Version history:\n",
" * 1.6.0: added\n",
" \"\"\"\n",
"\n",
" approval_required: \"bool\"\n",
" \"\"\"\n",
" True if account approval is required when registering, False if not. Moved to InstanceRegistrations object for the v2 API.\n",
"\n",
" Version history:\n",
" * 2.9.2: added\n",
" \"\"\"\n",
"\n",
" invites_enabled: \"bool\"\n",
" \"\"\"\n",
" THIS FIELD IS DEPRECATED. IT IS RECOMMENDED THAT YOU DO NOT USE IT.\n",
"\n",
" Boolean indicating whether invites are enabled on this instance. Changed in 4.0.0 from being true when the instance setting to enable invites is true to be true when the default user role has invites enabled (i.e. everyone can invite people). The v2 API does not contain this field, and it is not clear whether it will stay around.\n",
"\n",
" Version history:\n",
" * 3.1.4: added\n",
" * 4.0.0: changed specifics of when field is true, deprecated\n",
" \"\"\"\n",
"\n",
" configuration: \"InstanceConfiguration\"\n",
" \"\"\"\n",
" Various instance configuration settings - especially various limits (character counts, media upload sizes, ...).\n",
"\n",
" Version history:\n",
" * 3.1.4: added\n",
" \"\"\"\n",
"\n",
" contact_account: \"Account\"\n",
" \"\"\"\n",
" Account of the primary contact for the instance. Moved to InstanceContacts for the v2 API.\n",
"\n",
" Version history:\n",
" * 1.1.0: added\n",
" \"\"\"\n",
"\n",
" rules: \"EntityList[Rule]\"\n",
" \"\"\"\n",
" List of Rules with `id` and `text` fields, one for each server rule set by the admin.\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/V1_Instance/\n",
" \"\"\"\n",
"\n",
" streaming_api: \"str\"\n",
" \"\"\"\n",
" The Websockets URL for connecting to the streaming API. Renamed to 'streaming' for the v2 API.\n",
" Should contain (as text): URL\n",
"\n",
" Version history:\n",
" * 3.4.2: added\n",
" \"\"\"\n",
"\n",
" _version = \"3.4.2\"\n",
" _access_map = {\n",
" \"streaming_api\": \"streaming\",\n",
" }\n",
"\n",
"class InstanceV2(AttribAccessDict):\n",
" \"\"\"\n",
" Information about an instance.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/Instance/\n",
" \"\"\"\n",
"\n",
" domain: \"str\"\n",
" \"\"\"\n",
" The instances domain name.\n",
" Should contain (as text): DomainName\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" title: \"str\"\n",
" \"\"\"\n",
" The instance's title.\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" version: \"str\"\n",
" \"\"\"\n",
" The instance's Mastodon version. For a more robust parsed major/minor/patch version see TODO IMPLEMENT FUNCTION TO RETURN VERSIONS.\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" source_url: \"str\"\n",
" \"\"\"\n",
" URL pointing to a copy of the source code that is used to run this instance. For Mastodon instances, the AGPL requires that this code be available.\n",
" Should contain (as text): URL\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" description: \"str\"\n",
" \"\"\"\n",
" A brief instance description set by the admin. Contains what in the v1 version was the short description.\n",
" Should contain (as text): HTML\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" usage: \"InstanceUsage\"\n",
" \"\"\"\n",
" Information about recent activity on this instance.\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" thumbnail: \"Optional[InstanceThumbnail]\"\n",
" \"\"\"\n",
" Information about thumbnails to represent the instance. (nullable)\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" languages: \"EntityList[str]\"\n",
" \"\"\"\n",
" Array of ISO 639-1 (two-letter) language codes the instance has chosen to advertise.\n",
" Should contain (as text): TwoLetterLanguageCodeEnum\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" configuration: \"InstanceConfigurationV2\"\n",
" \"\"\"\n",
" Various instance configuration settings - especially various limits (character counts, media upload sizes, ...).\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" registrations: \"InstanceRegistrations\"\n",
" \"\"\"\n",
" InstanceRegistrations object with information about how users can sign up on this instance.\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" contact: \"InstanceContact\"\n",
" \"\"\"\n",
" Contact information for this instance.\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" rules: \"EntityList[Rule]\"\n",
" \"\"\"\n",
" List of Rules with `id` and `text` fields, one for each server rule set by the admin.\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" icon: \"EntityList[InstanceIcon]\"\n",
" \"\"\"\n",
" The instance icon, as a list of `InstanceIcon`s, with entries representing different available size variants.\n",
" Should contain (as text): URL\n",
"\n",
" Version history:\n",
" * 4.3.0: added\n",
" \"\"\"\n",
"\n",
" api_versions: \"AttribAccessDict\"\n",
" \"\"\"\n",
" A list of API versions supported by this instance, each as an entry in a dict with the name of the implementation as the key (such as 'mastodon'). The exact format is unspecified, any fork or implementation can put what if feels like there. Mastodon currently puts just '2'.\n",
"\n",
" Version history:\n",
" * 4.3.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"4.3.0\"\n",
"\n",
"class InstanceIcon(AttribAccessDict):\n",
" \"\"\"\n",
" Icon for the instance, in a specific size.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/methods/instance/#InstanceIcon\n",
" \"\"\"\n",
"\n",
" src: \"str\"\n",
" \"\"\"\n",
" URL for this icon size.\n",
" Should contain (as text): URL\n",
"\n",
" Version history:\n",
" * 4.3.0: added\n",
" \"\"\"\n",
"\n",
" size: \"str\"\n",
" \"\"\"\n",
" Textual representation of the icon size in pixels as (width)x(height) string, e.g. '64x64'.\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/methods/instance/\n",
" \"\"\"\n",
"\n",
" max_options: \"int\"\n",
" \"\"\"\n",
" How many poll options this instance allows local users to use per poll.\n",
"\n",
" Version history:\n",
" * 3.4.2: added\n",
" \"\"\"\n",
"\n",
" max_characters_per_option: \"int\"\n",
" \"\"\"\n",
" Maximum number of characters this instance allows local users to use per poll option.\n",
"\n",
" Version history:\n",
" * 3.4.2: added\n",
" \"\"\"\n",
"\n",
" min_expiration: \"int\"\n",
" \"\"\"\n",
" The shortest allowed duration for a poll on this instance, in seconds.\n",
"\n",
" Version history:\n",
" * 3.4.2: added\n",
" \"\"\"\n",
"\n",
" max_expiration: \"int\"\n",
" \"\"\"\n",
" The longest allowed duration for a poll on this instance, in seconds.\n",
"\n",
" Version history:\n",
" * 3.4.2: added\n",
" \"\"\"\n",
"\n",
" _version = \"3.4.2\"\n",
"\n",
"class Nodeinfo(AttribAccessDict):\n",
" \"\"\"\n",
" The instances standardized NodeInfo data.\n",
"\n",
" See also (Mastodon API documentation): https://github.com/jhass/nodeinfo\n",
" \"\"\"\n",
"\n",
" version: \"str\"\n",
" \"\"\"\n",
" Version of the nodeinfo schema spec that was used for this response.\n",
"\n",
" Version history:\n",
" * 3.0.0: added\n",
" \"\"\"\n",
"\n",
" software: \"NodeinfoSoftware\"\n",
" \"\"\"\n",
" Information about the server software being used on this instance.\n",
"\n",
" Version history:\n",
" * 3.0.0: added\n",
" \"\"\"\n",
"\n",
" protocols: \"EntityList[str]\"\n",
" \"\"\"\n",
" A list of strings specifying the federation protocols this instance supports. Typically, just \"activitypub\".\n",
"\n",
" Version history:\n",
" * 3.0.0: added\n",
" \"\"\"\n",
"\n",
" services: \"NodeinfoServices\"\n",
" \"\"\"\n",
" Services that this instance can retrieve messages from or send messages to.\n",
"\n",
" Version history:\n",
" * 3.0.0: added\n",
" \"\"\"\n",
"\n",
" usage: \"NodeinfoUsage\"\n",
" \"\"\"\n",
" Information about recent activity on this instance.\n",
"\n",
" Version history:\n",
" * 3.0.0: added\n",
" \"\"\"\n",
"\n",
" openRegistrations: \"bool\"\n",
" \"\"\"\n",
" Bool indicating whether the instance is open for registrations.\n",
"\n",
" Version history:\n",
" * 3.0.0: added\n",
" \"\"\"\n",
"\n",
" metadata: \"NodeinfoMetadata\"\n",
" \"\"\"\n",
" Additional node metadata. On Mastodon, typically an empty object with no fields.\n",
"\n",
" Version history:\n",
" * 3.0.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"3.0.0\"\n",
"\n",
"class NodeinfoSoftware(AttribAccessDict):\n",
" \"\"\"\n",
" NodeInfo software-related information.\n",
"\n",
" See also (Mastodon API documentation): https://github.com/jhass/nodeinfo\n",
" \"\"\"\n",
"\n",
" name: \"str\"\n",
" \"\"\"\n",
" Name of the software used by this instance.\n",
"\n",
" Version history:\n",
" * 3.0.0: added\n",
" \"\"\"\n",
"\n",
" version: \"str\"\n",
" \"\"\"\n",
" String indicating the version of the software used by this instance.\n",
"\n",
" Version history:\n",
" * 3.0.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"3.0.0\"\n",
"\n",
"class NodeinfoServices(AttribAccessDict):\n",
" \"\"\"\n",
" Nodeinfo services-related information.\n",
"\n",
" See also (Mastodon API documentation): https://github.com/jhass/nodeinfo\n",
" \"\"\"\n",
"\n",
" outbound: \"EntityList\"\n",
" \"\"\"\n",
" List of services that this instance can send messages to. On Mastodon, typically an empty list.\n",
"\n",
" Version history:\n",
" * 3.0.0: added\n",
" \"\"\"\n",
"\n",
" inbound: \"EntityList\"\n",
" \"\"\"\n",
" List of services that this instance can retrieve messages from. On Mastodon, typically an empty list.\n",
"\n",
" Version history:\n",
" * 3.0.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"3.0.0\"\n",
"\n",
"class NodeinfoUsage(AttribAccessDict):\n",
" \"\"\"\n",
" Nodeinfo usage-related information.\n",
"\n",
" See also (Mastodon API documentation): https://github.com/jhass/nodeinfo\n",
" \"\"\"\n",
"\n",
" users: \"NodeinfoUsageUsers\"\n",
" \"\"\"\n",
" Information about user counts on this instance.\n",
"\n",
" Version history:\n",
" * 3.0.0: added\n",
" \"\"\"\n",
"\n",
" localPosts: \"int\"\n",
" \"\"\"\n",
" The total number of local posts that have been made on this instance.\n",
"\n",
" Version history:\n",
" * 3.0.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"3.0.0\"\n",
"\n",
"class NodeinfoUsageUsers(AttribAccessDict):\n",
" \"\"\"\n",
" Nodeinfo user count statistics.\n",
"\n",
" See also (Mastodon API documentation): https://github.com/jhass/nodeinfo\n",
" \"\"\"\n",
"\n",
" total: \"int\"\n",
" \"\"\"\n",
" The total number of accounts that have been created on this instance.\n",
"\n",
" Version history:\n",
" * 3.0.0: added\n",
" \"\"\"\n",
"\n",
" activeMonth: \"int\"\n",
" \"\"\"\n",
" Number of users that have been active, by some definition (Mastodon: Have logged in at least once) in the last month.\n",
"\n",
" Version history:\n",
" * 3.0.0: added\n",
" \"\"\"\n",
"\n",
" activeHalfyear: \"int\"\n",
" \"\"\"\n",
" Number of users that have been active, by some definition (Mastodon: Have logged in at least once) in the last half year.\n",
"\n",
" Version history:\n",
" * 3.0.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"3.0.0\"\n",
"\n",
"class NodeinfoMetadata(AttribAccessDict):\n",
" \"\"\"\n",
" Nodeinfo extra metadata. Entirely freeform, be careful about consuming it programatically. Survey of real world usage: https://codeberg.org/thefederationinfo/nodeinfo_metadata_survey.\n",
"\n",
" See also (Mastodon API documentation): https://github.com/jhass/nodeinfo\n",
" \"\"\"\n",
"\n",
" _version = \"0.0.0\"\n",
"\n",
"class Activity(AttribAccessDict):\n",
" \"\"\"\n",
" Information about recent activity on an instance.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/methods/instance/#activity\n",
" \"\"\"\n",
"\n",
" week: \"datetime\"\n",
" \"\"\"\n",
" Date of the first day of the week the stats were collected for.\n",
"\n",
" Version history:\n",
" * 2.1.2: added\n",
" \"\"\"\n",
"\n",
" logins: \"int\"\n",
" \"\"\"\n",
" Number of users that logged in that week.\n",
"\n",
" Version history:\n",
" * 2.1.2: added\n",
" \"\"\"\n",
"\n",
" registrations: \"int\"\n",
" \"\"\"\n",
" Number of new users that week.\n",
"\n",
" Version history:\n",
" * 2.1.2: added\n",
" \"\"\"\n",
"\n",
" statuses: \"int\"\n",
" \"\"\"\n",
" Number of statuses posted that week.\n",
"\n",
" Version history:\n",
" * 2.1.2: added\n",
" \"\"\"\n",
"\n",
" _version = \"2.1.2\"\n",
"\n",
"class Report(AttribAccessDict):\n",
" \"\"\"\n",
" Information about a report that has been filed against a user. Currently largely pointless, as updated reports cannot be fetched.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/Report/\n",
" \"\"\"\n",
"\n",
" id: \"IdType\"\n",
" \"\"\"\n",
" Id of the report.\n",
"\n",
" Version history:\n",
" * 2.9.1: added\n",
" \"\"\"\n",
"\n",
" action_taken: \"bool\"\n",
" \"\"\"\n",
" True if a moderator or admin has processed the report, False otherwise.\n",
"\n",
" Version history:\n",
" * 2.9.1: added\n",
" \"\"\"\n",
"\n",
" comment: \"str\"\n",
" \"\"\"\n",
" Text comment submitted with the report.\n",
"\n",
" Version history:\n",
" * 2.9.1: added\n",
" \"\"\"\n",
"\n",
" created_at: \"datetime\"\n",
" \"\"\"\n",
" Time at which this report was created, as a datetime object.\n",
"\n",
" Version history:\n",
" * 2.9.1: added\n",
" \"\"\"\n",
"\n",
" target_account: \"Account\"\n",
" \"\"\"\n",
" Account that has been reported with this report.\n",
"\n",
" Version history:\n",
" * 2.9.1: added\n",
" \"\"\"\n",
"\n",
" status_ids: \"EntityList[IdType]\"\n",
" \"\"\"\n",
" List of status IDs attached to the report.\n",
"\n",
" Version history:\n",
" * 2.9.1: added\n",
" \"\"\"\n",
"\n",
" action_taken_at: \"Optional[datetime]\"\n",
" \"\"\"\n",
" When an action was taken, if this report is currently resolved. (nullable)\n",
"\n",
" Version history:\n",
" * 2.9.1: added\n",
" \"\"\"\n",
"\n",
" category: \"str\"\n",
" \"\"\"\n",
" The category under which the report is classified.\n",
" Should contain (as text): ReportReasonEnum\n",
"\n",
" Version history:\n",
" * 3.5.0: added\n",
" \"\"\"\n",
"\n",
" forwarded: \"bool\"\n",
" \"\"\"\n",
" Whether a report was forwarded to a remote instance.\n",
"\n",
" Version history:\n",
" * 4.0.0: added\n",
" \"\"\"\n",
"\n",
" rules_ids: \"EntityList[IdType]\"\n",
" \"\"\"\n",
" IDs of the rules selected for this report.\n",
"\n",
" Version history:\n",
" * 3.5.0: added\n",
" \"\"\"\n",
"\n",
" _version = \"4.0.0\"\n",
"\n",
"class AdminReport(AttribAccessDict):\n",
" \"\"\"\n",
" Information about a report that has been filed against a user.\n",
"\n",
" See also (Mastodon API documentation): https://docs.joinmastodon.org/entities/Admin_Report/\n",
" \"\"\"\n",
"\n",
" id: \"IdType\"\n",
" \"\"\"\n",
" Id of the report.\n",
"\n",
" Version history:\n",
" * 2.9.1: added\n",
" \"\"\"\n",
"\n",
" action_taken: \"bool\"\n",
" \"\"\"\n",
" True if a moderator or admin has processed the report, False otherwise.\n",
"\n",
" Version history:\n",
" * 2.9.1: added\n",
" \"\"\"\n",
"\n",
" comment: \"str\"\n",
" \"\"\"\n",
" Text comment submitted with the report.\n",
"\n",
" Version history:\n",
" * 2.9.1: added\n",
" \"\"\"\n",
"\n",
" created_at: \"datetime\"\n",
" \"\"\"\n",
" Time at which this report was created, as a datetime object.\n",
"\n",
" Version history:\n",
" * 2.9.1: added\n",
" \"\"\"\n",
"\n",
" updated_at: \"datetime\"\n",
" \"\"\"\n",
" Last time this report has been updated, as a datetime object.\n",
"\n",
" Version history:\n",
" * 2.9.1: added\n",
" \"\"\"\n",
"\n",
" account: \"Account\"\n",
" \"\"\"\n",
" Account of the user that filed this report.\n",
"\n",
" Version history:\n",
" * 2.9.1: added\n",
" \"\"\"\n",
"\n",
" target_account: \"Account\"\n",
" \"\"\"\n",
" Account that has been reported with this report.\n",