From dbbce45bc902d75126f5b558566a3faf3586fa5c Mon Sep 17 00:00:00 2001 From: halcy Date: Wed, 31 May 2023 22:03:28 +0300 Subject: [PATCH] rename some entities for masto consistency, parse masto docs and add that also --- srcgen/entities_masto.json | 5304 +++++++++++++++++++++++++++ srcgen/return_values.json | 7069 ++++++++++++++++++------------------ 2 files changed, 8839 insertions(+), 3534 deletions(-) create mode 100644 srcgen/entities_masto.json diff --git a/srcgen/entities_masto.json b/srcgen/entities_masto.json new file mode 100644 index 0000000..58070b1 --- /dev/null +++ b/srcgen/entities_masto.json @@ -0,0 +1,5304 @@ +{ + "ExtendedDescription": { + "updated_at": { + "description": "A timestamp of when the extended description was last updated.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (ISO 8601 Datetime)", + "type": "String (ISO 8601 Datetime)", + "version_history": { + "4.0.0": "added" + } + }, + "content": { + "description": "The rendered HTML content of the extended description.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (HTML)", + "type": "String (HTML)", + "version_history": { + "4.0.0": "added" + } + } + }, + "AdminDomainBlock": { + "id": { + "description": "The ID of the DomainBlock in the database.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "4.0.0": "added" + } + }, + "domain": { + "description": "The domain that is not allowed to federate.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "4.0.0": "added" + } + }, + "created_at": { + "description": "When the domain was blocked from federating.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (ISO 8601 Datetime)", + "type": "String (ISO 8601 Datetime)", + "version_history": { + "4.0.0": "added" + } + }, + "severity": { + "description": "The policy to be applied by this domain block.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (Enumerable oneOf) `silence` = Account statuses from this domain will be hidden by default `suspend` = All incoming data from this domain will be rejected `noop` = Do nothing. Allows for rejecting media or reports", + "type": "String (Enumerable oneOf) `silence` = Account statuses from this domain will be hidden by default `suspend` = All incoming data from this domain will be rejected `noop` = Do nothing. Allows for rejecting media or reports", + "version_history": { + "4.0.0": "added" + } + }, + "reject_media": { + "description": "Whether to reject media attachments from this domain", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "4.0.0": "added" + } + }, + "reject_reports": { + "description": "Whether to reject reports from this domain", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "4.0.0": "added" + } + }, + "private_comment": { + "description": "", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String", + "type": "String", + "version_history": { + "4.0.0": "added" + } + }, + "public_comment": { + "description": "", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String", + "type": "String", + "version_history": { + "4.0.0": "added" + } + }, + "obfuscate": { + "description": "Whether to obfuscate public displays of this domain block", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "4.0.0": "added" + } + } + }, + "AdminDimension": { + "key": { + "description": "The unique keystring for the requested dimension.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "3.5.0": "added" + } + }, + "data": { + "description": "The data available for the requested dimension.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of Hash", + "type": "Array of Hash", + "version_history": { + "3.5.0": "added" + } + } + }, + "Data": { + "key": { + "description": "The unique keystring for this data item.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "3.5.0": "added" + } + }, + "human_key": { + "description": "A human-readable key for this data item.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "3.5.0": "added" + } + }, + "value": { + "description": "The value for this data item.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "3.5.0": "added" + } + }, + "unit": { + "description": "The units associated with this data item's value, if applicable.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "3.5.0": "added" + } + }, + "human_value": { + "description": "A human-readable formatted value for this data item.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "3.5.0": "added" + } + } + }, + "FilterResult": { + "filter": { + "description": "The filter that was matched.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Filter()", + "type": "Filter()", + "version_history": { + "4.0.0": "added" + } + }, + "keyword_matches": { + "description": "The keyword within the filter that was matched.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " Array of String, or null", + "type": "Array of String, or null", + "version_history": { + "4.0.0": "added" + } + }, + "status_matches": { + "description": "The status ID within the filter that was matched.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String, or null", + "type": "String, or null", + "version_history": { + "4.0.0": "added" + } + } + }, + "Announcement": { + "id": { + "description": "The ID of the announcement in the database.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "3.1.0": "added" + } + }, + "content": { + "description": "The text of the announcement.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (HTML)", + "type": "String (HTML)", + "version_history": { + "3.1.0": "added" + } + }, + "starts_at": { + "description": "When the announcement will start.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String (ISO 8601 Datetime) or null", + "type": "String (ISO 8601 Datetime) or null", + "version_history": { + "3.1.0": "added" + } + }, + "ends_at": { + "description": "When the announcement will end.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String (ISO 8601 Datetime) or null", + "type": "String (ISO 8601 Datetime) or null", + "version_history": { + "3.1.0": "added" + } + }, + "published": { + "description": "Whether the announcement is currently active.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "3.1.0": "added" + } + }, + "all_day": { + "description": "Whether the announcement should start and end on dates only instead of datetimes. Will be false if there is no `starts_at` or `ends_at` time.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "3.1.0": "added" + } + }, + "published_at": { + "description": "When the announcement was published.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (ISO 8601 Datetime)", + "type": "String (ISO 8601 Datetime)", + "version_history": { + "3.1.0": "added" + } + }, + "updated_at": { + "description": "When the announcement was last updated.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (ISO 8601 Datetime)", + "type": "String (ISO 8601 Datetime)", + "version_history": { + "3.1.0": "added" + } + }, + "read": { + "description": "Whether the announcement has been read by the current user.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "3.1.0": "added" + } + }, + "mentions": { + "description": "Accounts mentioned in the announcement text.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of AnnouncementAccount(#Account)", + "type": "Array of AnnouncementAccount(#Account)", + "version_history": { + "3.1.0": "added" + } + }, + "statuses": { + "description": "Statuses linked in the announcement text.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of AnnouncementStatus(#Status)", + "type": "Array of AnnouncementStatus(#Status)", + "version_history": { + "3.1.0": "added" + } + }, + "tags": { + "description": "Tags linked in the announcement text.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of StatusTag()", + "type": "Array of StatusTag()", + "version_history": { + "3.1.0": "added" + } + }, + "emojis": { + "description": "Custom emoji used in the announcement text.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of CustomEmoji()", + "type": "Array of CustomEmoji()", + "version_history": { + "3.1.0": "added" + } + }, + "reactions": { + "description": "Emoji reactions attached to the announcement.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of Reaction()", + "type": "Array of Reaction()", + "version_history": { + "3.1.0": "added" + } + } + }, + "AnnouncementAccount": { + "id": { + "description": "The account ID of the mentioned user.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "3.1.0": "added" + } + }, + "username": { + "description": "The username of the mentioned user.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "3.1.0": "added" + } + }, + "url": { + "description": "The location of the mentioned user's profile.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "3.1.0": "added" + } + }, + "acct": { + "description": "The webfinger acct: URI of the mentioned user. Equivalent to `username` for local users, or `username@domain` for remote users.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "3.1.0": "added" + } + } + }, + "AnnouncementStatus": { + "id": { + "description": "The ID of an attached Status in the database.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "3.1.0": "added" + } + }, + "url": { + "description": "The URL of an attached Status.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "3.1.0": "added" + } + } + }, + "DomainBlock": { + "domain": { + "description": "The domain which is blocked. This may be obfuscated or partially censored.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "4.0.0": "added" + } + }, + "digest": { + "description": "The SHA256 hash digest of the domain string.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (SHA256)", + "type": "String (SHA256)", + "version_history": { + "4.0.0": "added" + } + }, + "severity": { + "description": "The level to which the domain is blocked.", + "nullable": false, + "optional": false, + "enum": { + "silence": "Users from this domain will be hidden from timelines, threads, and notifications (unless you follow the user).", + "suspend": "Incoming messages from this domain will be rejected and dropped entirely." + }, + "type_key": "String (Enumerable, oneOf) `silence` = Users from this domain will be hidden from timelines, threads, and notifications (unless you follow the user). `suspend` = Incoming messages from this domain will be rejected and dropped entirely.", + "type": "String", + "version_history": { + "4.0.0": "added" + } + }, + "comment": { + "description": "An optional reason for the domain block.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "4.0.0": "added" + } + } + }, + "Status": { + "id": { + "description": "ID of the status in the database.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer but not guaranteed to be a number)", + "type": "String (cast from an integer but not guaranteed to be a number)", + "version_history": { + "0.1.0": "added" + } + }, + "uri": { + "description": "URI of the status used for federation.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "0.1.0": "added" + } + }, + "created_at": { + "description": "The date when this status was created.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (ISO 8601 Datetime)", + "type": "String (ISO 8601 Datetime)", + "version_history": { + "0.1.0": "added" + } + }, + "account": { + "description": "The account that authored this status.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Account()", + "type": "Account()", + "version_history": { + "0.1.0": "added" + } + }, + "content": { + "description": "HTML-encoded status content.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (HTML)", + "type": "String (HTML)", + "version_history": { + "0.1.0": "added" + } + }, + "visibility": { + "description": "Visibility of this status.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (Enumerable oneOf) `public` = Visible to everyone, shown in public timelines. `unlisted` = Visible to public, but not included in public timelines. `private` = Visible to followers only, and to any mentioned users. `direct` = Visible only to mentioned users.", + "type": "String (Enumerable oneOf) `public` = Visible to everyone, shown in public timelines. `unlisted` = Visible to public, but not included in public timelines. `private` = Visible to followers only, and to any mentioned users. `direct` = Visible only to mentioned users.", + "version_history": { + "0.9.9": "added" + } + }, + "sensitive": { + "description": "Is this status marked as sensitive content?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "0.9.9": "added" + } + }, + "spoiler_text": { + "description": "Subject or summary line, below which status content is collapsed until expanded.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "1.0.0": "added" + } + }, + "media_attachments": { + "description": "Media that is attached to this status.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of MediaAttachment()", + "type": "Array of MediaAttachment()", + "version_history": { + "0.6.0": "added" + } + }, + "application": { + "description": "The application used to post this status.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "0.9.9": "added" + } + } + }, + "StatusApplication": { + "name": { + "description": "The name of the application that posted this status.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "0.9.9": "added" + } + }, + "website": { + "description": "The website associated with the application that posted this status.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String (URL) or null", + "type": "String (URL) or null", + "version_history": { + "0.9.9": "added", + "3.5.1": "this property is now nullable" + } + }, + "mentions": { + "description": "Mentions of users within the status content.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of StatusMention(#Mention)", + "type": "Array of StatusMention(#Mention)", + "version_history": { + "0.6.0": "added" + } + }, + "tags": { + "description": "Hashtags used within the status content.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of StatusTag(#Tag)", + "type": "Array of StatusTag(#Tag)", + "version_history": { + "0.6.0": "added" + } + }, + "emojis": { + "description": "Custom emoji to be used when rendering status content.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of CustomEmoji()", + "type": "Array of CustomEmoji()", + "version_history": { + "2.0.0": "added" + } + }, + "reblogs_count": { + "description": "How many boosts this status has received.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "0.1.0": "added" + } + }, + "favourites_count": { + "description": "How many favourites this status has received.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "0.1.0": "added" + } + }, + "replies_count": { + "description": "How many replies this status has received.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "2.5.0": "added" + } + }, + "url": { + "description": "A link to the status's HTML representation.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String (URL) or null", + "type": "String (URL) or null", + "version_history": { + "0.1.0": "added" + } + }, + "in_reply_to_id": { + "description": "ID of the status being replied to.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String (cast from an integer but not guaranteed to be a number) or null", + "type": "String (cast from an integer but not guaranteed to be a number) or null", + "version_history": { + "0.1.0": "added" + } + }, + "in_reply_to_account_id": { + "description": "ID of the account that authored the status being replied to.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String (cast from an integer but not guaranteed to be a number) or null", + "type": "String (cast from an integer but not guaranteed to be a number) or null", + "version_history": { + "0.1.0": "added" + } + }, + "reblog": { + "description": "The status being reblogged.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " Status(#) or null", + "type": "Status(#) or null", + "version_history": { + "0.1.0": "added" + } + }, + "poll": { + "description": "The poll attached to the status.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " Poll() or null", + "type": "Poll() or null", + "version_history": { + "2.8.0": "added" + } + }, + "card": { + "description": "Preview card for links included within status content.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " PreviewCard() or null", + "type": "PreviewCard() or null", + "version_history": { + "2.6.0": "added" + } + }, + "language": { + "description": "Primary language of this status.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String (ISO 639 Part 1 two-letter language code) or null", + "type": "String (ISO 639 Part 1 two-letter language code) or null", + "version_history": { + "1.4.0": "added" + } + }, + "text": { + "description": "Plain-text source of a status. Returned instead of `content` when status is deleted, so the user may redraft from the source text without the client having to reverse-engineer the original text from the HTML content.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String or null", + "type": "String or null", + "version_history": { + "2.9.0": "added" + } + }, + "edited_at": { + "description": "Timestamp of when the status was last edited.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String (ISO 8601 Datetime)", + "type": "String (ISO 8601 Datetime)", + "version_history": { + "3.5.0": "added" + } + }, + "favourited": { + "description": "If the current token has an authorized user: Have you favourited this status?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "0.1.0": "added" + } + }, + "reblogged": { + "description": "If the current token has an authorized user: Have you boosted this status?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "0.1.0": "added" + } + }, + "muted": { + "description": "If the current token has an authorized user: Have you muted notifications for this status's conversation?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "1.4.0": "added" + } + }, + "bookmarked": { + "description": "If the current token has an authorized user: Have you bookmarked this status?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "3.1.0": "added" + } + }, + "pinned": { + "description": "If the current token has an authorized user: Have you pinned this status? Only appears if the status is pinnable.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "1.6.0": "added" + } + }, + "filtered": { + "description": "If the current token has an authorized user: The filter and keywords that matched this status.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of FilterResult()", + "type": "Array of FilterResult()", + "version_history": { + "4.0.0": "added" + } + } + }, + "StatusMention": { + "id": { + "description": "The account ID of the mentioned user.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "0.6.0": "added" + } + }, + "username": { + "description": "The username of the mentioned user.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "0.6.0": "added" + } + }, + "url": { + "description": "The location of the mentioned user's profile.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "0.6.0": "added" + } + }, + "acct": { + "description": "The webfinger acct: URI of the mentioned user. Equivalent to `username` for local users, or `username@domain` for remote users.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "0.6.0": "added" + } + } + }, + "StatusTag": { + "name": { + "description": "The value of the hashtag after the # sign.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "0.9.0": "added" + } + }, + "url": { + "description": "A link to the hashtag on the instance.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "0.9.0": "added" + } + } + }, + "StatusEdit": { + "content": { + "description": "The content of the status at this revision.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (HTML)", + "type": "String (HTML)", + "version_history": { + "3.5.0": "added" + } + }, + "spoiler_text": { + "description": "The content of the subject or content warning at this revision.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (HTML)", + "type": "String (HTML)", + "version_history": { + "3.5.0": "added" + } + }, + "sensitive": { + "description": "Whether the status was marked sensitive at this revision.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "3.5.0": "added" + } + }, + "created_at": { + "description": "The timestamp of when the revision was published.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (ISO 8601 Datetime)", + "type": "String (ISO 8601 Datetime)", + "version_history": { + "3.5.0": "added" + } + }, + "account": { + "description": "The account that published this revision.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Account", + "type": "Account", + "version_history": { + "3.5.0": "added" + } + }, + "poll": { + "description": "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.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "3.5.0": "added" + } + } + }, + "StatusEditPoll.Options": { + "": { + "description": "The poll options at this revision.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of Hash", + "type": "Array of Hash", + "version_history": { + "3.5.0": "added" + } + }, + "].titl": { + "description": "The text for a poll option.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "3.5.0": "added" + } + }, + "media_attachments": { + "description": "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.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of MediaAttachment()", + "type": "Array of MediaAttachment()", + "version_history": { + "3.5.0": "added" + } + }, + "emojis": { + "description": "Any custom emoji that are used in the current revision.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of CustomEmoji()", + "type": "Array of CustomEmoji()", + "version_history": { + "3.5.0": "added" + } + } + }, + "Reaction": { + "name": { + "description": "The emoji used for the reaction. Either a unicode emoji, or a custom emoji's shortcode.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "3.1.0": "added" + } + }, + "count": { + "description": "The total number of users who have added this reaction.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "3.1.0": "added" + } + }, + "me": { + "description": "If there is a currently authorized user: Have you added this reaction?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "3.1.0": "added" + } + }, + "url": { + "description": "If the reaction is a custom emoji: A link to the custom emoji.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "3.1.0": "added" + } + }, + "static_url": { + "description": "If the reaction is a custom emoji: A link to a non-animated version of the custom emoji.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "3.1.0": "added" + } + } + }, + "List": { + "id": { + "description": "The internal database ID of the list.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "2.1.0": "added" + } + }, + "title": { + "description": "The user-defined title of the list.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "2.1.0": "added" + } + }, + "replies_policy": { + "description": "Which replies should be shown in the list.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (Enumerable oneOf) `followed` = Show replies to any followed user `list` = Show replies to members of the list `none` = Show replies to no one", + "type": "String (Enumerable oneOf) `followed` = Show replies to any followed user `list` = Show replies to members of the list `none` = Show replies to no one", + "version_history": { + "3.3.0": "added" + } + } + }, + "Translation": { + "content": { + "description": "The translated text of the status.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (HTML)", + "type": "String (HTML)", + "version_history": { + "4.0.0": "added" + } + }, + "detected_source_language": { + "description": "The language of the source text, as auto-detected by the machine translation provider.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (ISO 639 language code)", + "type": "String (ISO 639 language code)", + "version_history": { + "4.0.0": "added" + } + }, + "provider": { + "description": "The service that provided the machine translation.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "4.0.0": "added" + } + } + }, + "Preferences": { + "posting:default:visibility": { + "description": "Default visibility for new posts. Equivalent to CredentialAccount#source\\[privacy\\]().", + "nullable": false, + "optional": false, + "enum": { + "public": "Public post", + "unlisted": "Unlisted post", + "private": "Followers-only post", + "direct": "Direct post" + }, + "type_key": "String (Enumerable, oneOf) `public` = Public post `unlisted` = Unlisted post `private` = Followers-only post `direct` = Direct post", + "type": "String", + "version_history": { + "2.8.0": "added" + } + }, + "posting:default:sensitive": { + "description": "Default sensitivity flag for new posts. Equivalent to CredentialAccount#source\\[sensitive\\]().", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.8.0": "added" + } + }, + "posting:default:language": { + "description": "Default language for new posts. Equivalent to CredentialAccount#source\\[language\\]()", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String (ISO 639-1 language two-letter code), or null", + "type": "String (ISO 639-1 language two-letter code), or null", + "version_history": { + "2.8.0": "added" + } + }, + "reading:expand:media": { + "description": "Whether media attachments should be automatically displayed or blurred/hidden.", + "nullable": false, + "optional": false, + "enum": { + "default": "Hide media marked as sensitive", + "show_all": "Always show all media by default, regardless of sensitivity", + "hide_all": "Always hide all media by default, regardless of sensitivity" + }, + "type_key": "String (Enumerable, oneOf) `default` = Hide media marked as sensitive `show_all` = Always show all media by default, regardless of sensitivity `hide_all` = Always hide all media by default, regardless of sensitivity", + "type": "String", + "version_history": { + "2.8.0": "added" + } + }, + "reading:expand:spoilers": { + "description": "Whether CWs should be expanded by default.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.8.0": "added" + } + } + }, + "Filter": { + "id": { + "description": "The ID of the Filter in the database.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "4.0.0": "added" + } + }, + "title": { + "description": "A title given by the user to name the filter.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "4.0.0": "added" + } + }, + "context": { + "description": "The contexts in which the filter should be applied.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of String (Enumerable, anyOf) `home` = home timeline and lists `notifications` = notifications timeline `public` = public timelines `thread` = expanded thread of a detailed status `account` = when viewing a profile", + "type": "Array of String (Enumerable, anyOf) `home` = home timeline and lists `notifications` = notifications timeline `public` = public timelines `thread` = expanded thread of a detailed status `account` = when viewing a profile", + "version_history": { + "4.0.0": "added" + } + }, + "expires_at": { + "description": "When the filter should no longer be applied.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String (ISO 8601 Datetime), or null if the filter does not expire", + "type": "String (ISO 8601 Datetime), or null if the filter does not expire", + "version_history": { + "4.0.0": "added" + } + }, + "filter_action": { + "description": "The action to be taken when a status matches this filter.", + "nullable": false, + "optional": false, + "enum": { + "warn": "show a warning that identifies the matching filter by `title`, and allow the user to expand the filtered status. This is the default (and unknown values should be treated as equivalent to `warn`).", + "hide": "do not show this status if it is received" + }, + "type_key": "String (Enumerable, oneOf) `warn` = show a warning that identifies the matching filter by `title`, and allow the user to expand the filtered status. This is the default (and unknown values should be treated as equivalent to `warn`). `hide` = do not show this status if it is received", + "type": "String", + "version_history": { + "4.0.0": "added" + } + }, + "keywords": { + "description": "The keywords grouped under this filter.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of FilterKeyword()", + "type": "Array of FilterKeyword()", + "version_history": { + "4.0.0": "added" + } + }, + "statuses": { + "description": "The statuses grouped under this filter.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of FilterStatus()", + "type": "Array of FilterStatus()", + "version_history": { + "4.0.0": "added" + } + } + }, + "AdminReport": { + "id": { + "description": "The ID of the report in the database.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "2.9.1": "added" + } + }, + "action_taken": { + "description": "Whether an action was taken to resolve this report.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.9.1": "added" + } + }, + "action_taken_at": { + "description": "When an action was taken, if this report is currently resolved.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String (ISO 8601 Datetime) or null", + "type": "String (ISO 8601 Datetime) or null", + "version_history": { + "2.9.1": "added" + } + }, + "category": { + "description": "The category under which the report is classified.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (Enumerable oneOf) `spam` = Malicious, fake, or repetitive content `violation` = Violates one or more specific `rules`(#rules) `other` = The default (catch-all) category", + "type": "String (Enumerable oneOf) `spam` = Malicious, fake, or repetitive content `violation` = Violates one or more specific `rules`(#rules) `other` = The default (catch-all) category", + "version_history": { + "3.5.0": "added" + } + }, + "comment": { + "description": "An optional reason for reporting.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "2.9.1": "added" + } + }, + "forwarded": { + "description": "Whether a report was forwarded to a remote instance.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "4.0.0": "added" + } + }, + "created_at": { + "description": "The time the report was filed.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (ISO 8601 Datetime)", + "type": "String (ISO 8601 Datetime)", + "version_history": { + "2.9.1": "added" + } + }, + "updated_at": { + "description": "The time of last action on this report.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (ISO 8601 Datetime)", + "type": "String (ISO 8601 Datetime)", + "version_history": { + "2.9.1": "added" + } + }, + "account": { + "description": "The account which filed the report.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "AdminAccount()", + "type": "AdminAccount()", + "version_history": { + "2.9.1": "added" + } + }, + "target_account": { + "description": "The account being reported.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "AdminAccount()", + "type": "AdminAccount()", + "version_history": { + "2.9.1": "added" + } + }, + "assigned_account": { + "description": "The account of the moderator assigned to this report.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " AdminAccount() or null", + "type": "AdminAccount() or null", + "version_history": { + "2.9.1": "added" + } + }, + "action_taken_by_account": { + "description": "The account of the moderator who handled the report.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " AdminAccount() or null", + "type": "AdminAccount() or null", + "version_history": { + "2.9.1": "added" + } + }, + "statuses": { + "description": "Statuses attached to the report, for context.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of Status()", + "type": "Array of Status()", + "version_history": { + "2.9.1": "added" + } + }, + "rules": { + "description": "Rules attached to the report, for context.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of Rule()", + "type": "Array of Rule()", + "version_history": { + "3.5.0": "added" + } + } + }, + "IdentityProof": { + "provider": { + "description": "The name of the identity provider.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "2.8.0": "added" + } + }, + "provider_username": { + "description": "The account owner's username on the identity provider's service.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "2.8.0": "added" + } + }, + "updated_at": { + "description": "When the identity proof was last updated.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (ISO 8601 Datetime)", + "type": "String (ISO 8601 Datetime)", + "version_history": { + "2.8.0": "added" + } + }, + "proof_url": { + "description": "A link to a statement of identity proof, hosted by the identity provider.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "2.8.0": "added" + } + }, + "profile_url": { + "description": "The account owner's profile URL on the identity provider.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "2.8.0": "added" + } + } + }, + "Search": { + "accounts": { + "description": "Accounts which match the given query", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of Account()", + "type": "Array of Account()", + "version_history": { + "1.1.0": "added" + } + }, + "statuses": { + "description": "Statuses which match the given query", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of Status()", + "type": "Array of Status()", + "version_history": { + "1.1.0": "added" + } + }, + "hashtags": { + "description": "Hashtags which match the given query", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of Tag()", + "type": "Array of Tag()", + "version_history": { + "1.1.0": "added", + "2.4.1": "v1/search deprecated because it returns Array of String. v2/search added which returns Array of Tag.", + "3.0.0": "v1 removed" + } + } + }, + "FilterStatus": { + "id": { + "description": "The ID of the FilterStatus in the database.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "4.0.0": "added" + } + }, + "status_id": { + "description": "The ID of the Status that will be filtered.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "4.0.0": "added" + } + } + }, + "AdminDomainAllow": { + "id": { + "description": "The ID of the DomainAllow in the database.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "4.0.0": "added" + } + }, + "domain": { + "description": "The domain that is allowed to federate.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "4.0.0": "added" + } + }, + "created_at": { + "description": "When the domain was allowed to federate.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (ISO 8601 Datetime)", + "type": "String (ISO 8601 Datetime)", + "version_history": { + "4.0.0": "added" + } + } + }, + "AdminIp": { + "ip": { + "description": "The IP address.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (IP address)", + "type": "String (IP address)", + "version_history": { + "3.5.0": "added" + } + }, + "used_at": { + "description": "The timestamp of when the IP address was last used for this account.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (ISO 8601 Datetime)", + "type": "String (ISO 8601 Datetime)", + "version_history": { + "3.5.0": "added" + } + } + }, + "ScheduledStatus": { + "id": { + "description": "ID of the scheduled status in the database.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer but not guaranteed to be a number)", + "type": "String (cast from an integer but not guaranteed to be a number)", + "version_history": { + "2.7.0": "added" + } + }, + "scheduled_at": { + "description": "The timestamp for when the status will be posted.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (ISO 8601 Datetime)", + "type": "String (ISO 8601 Datetime)", + "version_history": { + "2.7.0": "added" + } + }, + "params": { + "description": "The parameters that were used when scheduling the status, to be used when the status is posted.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "2.7.0": "added" + } + } + }, + "ScheduledStatusParams": { + "text": { + "description": "Text to be used as status content.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "2.7.0": "added" + } + }, + "poll": { + "description": "Poll to be attached to the status.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " Hash", + "type": "Hash", + "version_history": { + "2.8.0": "added" + } + }, + "]": { + "description": "The poll options to be used.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of String", + "type": "Array of String", + "version_history": { + "2.8.0": "added" + } + }, + "expires_in": { + "description": "How many seconds the poll should last before closing.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from integer)", + "type": "String (cast from integer)", + "version_history": { + "2.8.0": "added" + } + }, + "multiple": { + "description": "Whether the poll allows multiple choices.", + "nullable": false, + "optional": true, + "enum": null, + "type_key": " Boolean", + "type": "Boolean", + "version_history": { + "2.8.0": "added" + } + }, + "hide_totals": { + "description": "Whether the poll should hide total votes until after voting has ended.", + "nullable": false, + "optional": true, + "enum": null, + "type_key": " Boolean", + "type": "Boolean", + "version_history": { + "2.8.0": "added" + } + }, + "media_ids": { + "description": "IDs of the MediaAttachments that will be attached to the status.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " Array of String", + "type": "Array of String", + "version_history": { + "2.7.0": "added" + } + }, + "sensitive": { + "description": "Whether the status will be marked as sensitive.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " Boolean", + "type": "Boolean", + "version_history": { + "2.7.0": "added" + } + }, + "spoiler_text": { + "description": "The text of the content warning or summary for the status.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String", + "type": "String", + "version_history": { + "2.7.0": "added" + } + }, + "visibility": { + "description": "The visibility that the status will have once it is posted.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (Enumerable oneOf) `public` = Visible to everyone, shown in public timelines. `unlisted` = Visible to public, but not included in public timelines. `private` = Visible to followers only, and to any mentioned users. `direct` = Visible only to mentioned users.", + "type": "String (Enumerable oneOf) `public` = Visible to everyone, shown in public timelines. `unlisted` = Visible to public, but not included in public timelines. `private` = Visible to followers only, and to any mentioned users. `direct` = Visible only to mentioned users.", + "version_history": { + "2.7.0": "added" + } + }, + "in_reply_to_id": { + "description": "ID of the Status that will be replied to.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " Integer", + "type": "Integer", + "version_history": { + "2.7.0": "added" + } + }, + "language": { + "description": "The language that will be used for the status.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String (ISO 639-1 two-letter language code)", + "type": "String (ISO 639-1 two-letter language code)", + "version_history": { + "2.7.0": "added" + } + }, + "application_id": { + "description": "ID of the Application that posted the status.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "2.7.0": "added" + } + }, + "scheduled_at": { + "description": "When the status will be scheduled. This will be null because the status is only scheduled once.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " Null", + "type": "Null", + "version_history": { + "2.7.0": "added" + } + }, + "idempotency": { + "description": "Idempotency key to prevent duplicate statuses.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String", + "type": "String", + "version_history": { + "2.7.0": "added" + } + }, + "with_rate_limit": { + "description": "Whether the status should be rate limited .", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.7.0": "added" + } + }, + "media_attachments": { + "description": "Media that will be attached when the status is posted.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of MediaAttachment()", + "type": "Array of MediaAttachment()", + "version_history": { + "2.7.0": "added" + } + } + }, + "Notification": { + "id": { + "description": "The id of the notification in the database.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "0.9.9": "added" + } + }, + "type": { + "description": "The type of event that resulted in the notification.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (Enumerable oneOf) `mention` = Someone mentioned you in their status `status` = Someone you enabled notifications for has posted a status `reblog` = Someone boosted one of your statuses `follow` = Someone followed you `follow_request` = Someone requested to follow you `favourite` = Someone favourited one of your statuses `poll` = A poll you have voted in or created has ended `update` = A status you interacted with has been edited `admin.sign_up` = Someone signed up (optionally sent to admins) `admin.report` = A new report has been filed", + "type": "String (Enumerable oneOf) `mention` = Someone mentioned you in their status `status` = Someone you enabled notifications for has posted a status `reblog` = Someone boosted one of your statuses `follow` = Someone followed you `follow_request` = Someone requested to follow you `favourite` = Someone favourited one of your statuses `poll` = A poll you have voted in or created has ended `update` = A status you interacted with has been edited `admin.sign_up` = Someone signed up (optionally sent to admins) `admin.report` = A new report has been filed", + "version_history": { + "0.9.9": "added", + "2.8.0": "added `poll`", + "3.1.0": "added `follow_request`", + "3.3.0": "added `status`", + "3.5.0": "added `update` and `admin.sign_up`", + "4.0.0": "added `admin.report`" + } + }, + "created_at": { + "description": "The timestamp of the notification.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (ISO 8601 Datetime)", + "type": "String (ISO 8601 Datetime)", + "version_history": { + "0.9.9": "added" + } + }, + "account": { + "description": "The account that performed the action that generated the notification.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Account()", + "type": "Account()", + "version_history": { + "0.9.9": "added" + } + }, + "status": { + "description": "Status that was the object of the notification. Attached when `type` of the notification is `favourite`, `reblog`, `status`, `mention`, `poll`, or `update`.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Status()", + "type": "Status()", + "version_history": { + "0.9.9": "added" + } + }, + "report": { + "description": "Report that was the object of the notification. Attached when `type` of the notification is `admin.report`.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Report()", + "type": "Report()", + "version_history": { + "4.0.0": "added" + } + } + }, + "V1Instance": { + "uri": { + "description": "The domain name of the instance.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "1.1.0": "added" + } + }, + "title": { + "description": "The title of the website.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "1.1.0": "added" + } + }, + "short_description": { + "description": "A short, plain-text description defined by the admin.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "2.9.2": "added" + } + }, + "description": { + "description": "An HTML-permitted description of the Mastodon site.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "1.1.0": "added" + } + }, + "email": { + "description": "An email that may be contacted for any inquiries.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "1.1.0": "added" + } + }, + "version": { + "description": "The version of Mastodon installed on the instance.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "1.3.0": "added" + } + }, + "urls": { + "description": "URLs of interest for clients apps.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "1.4.2": "added" + } + } + }, + "V1InstanceUrls": { + "streaming_api": { + "description": "The Websockets URL for connecting to the streaming API.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "1.4.2": "added" + } + }, + "stats": { + "description": "Statistics about how much information the instance contains.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "1.6.0": "added" + } + }, + "user_count": { + "description": "Total users on this instance.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "1.6.0": "added" + } + }, + "status_count": { + "description": "Total statuses on this instance.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "1.6.0": "added" + } + }, + "domain_count": { + "description": "Total domains discovered by this instance.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "1.6.0": "added" + } + }, + "thumbnail": { + "description": "Banner image for the website.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String (URL)", + "type": "String (URL)", + "version_history": { + "1.6.1": "added" + } + }, + "languages": { + "description": "Primary languages of the website and its staff.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of String (ISO 639-1 two-letter code)", + "type": "Array of String (ISO 639-1 two-letter code)", + "version_history": { + "2.3.0": "added" + } + }, + "registrations": { + "description": "Whether registrations are enabled.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.7.2": "added" + } + }, + "approval_required": { + "description": "Whether registrations require moderator approval.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.9.2": "added" + } + }, + "invites_enabled": { + "description": "Whether invites are enabled.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "3.1.4": "added" + } + }, + "configuration": { + "description": "Configured values and limits for this website.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "3.4.2": "added" + } + }, + "accounts": { + "description": "Limits related to accounts.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "4.0.0": "added" + } + }, + "max_featured_tags": { + "description": "The maximum number of featured tags allowed for each account.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "4.0.0": "added" + } + }, + "statuses": { + "description": "Limits related to authoring statuses.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "3.4.2": "added" + } + }, + "max_characters": { + "description": "The maximum number of allowed characters per status.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "3.4.2": "added" + } + }, + "max_media_attachments": { + "description": "The maximum number of media attachments that can be added to a status.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "3.4.2": "added" + } + }, + "characters_reserved_per_url": { + "description": "Each URL in a status will be assumed to be exactly this many characters.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "3.4.2": "added" + } + }, + "media_attachments": { + "description": "Hints for which attachments will be accepted.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "3.4.2": "added" + } + }, + "supported_mime_types": { + "description": "Contains MIME types that can be uploaded.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of String", + "type": "Array of String", + "version_history": { + "3.4.2": "added" + } + }, + "image_size_limit": { + "description": "The maximum size of any uploaded image, in bytes.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "3.4.2": "added" + } + }, + "image_matrix_limit": { + "description": "The maximum number of pixels (width times height) for image uploads.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "3.4.2": "added" + } + }, + "video_size_limit": { + "description": "The maximum size of any uploaded video, in bytes.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "3.4.2": "added" + } + }, + "video_frame_rate_limit": { + "description": "The maximum frame rate for any uploaded video.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "3.4.2": "added" + } + }, + "video_matrix_limit": { + "description": "The maximum number of pixels (width times height) for video uploads.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "3.4.2": "added" + } + }, + "polls": { + "description": "Limits related to polls.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "3.4.2": "added" + } + }, + "max_options": { + "description": "Each poll is allowed to have up to this many options.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "3.4.2": "added" + } + }, + "max_characters_per_option": { + "description": "Each poll option is allowed to have this many characters.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "3.4.2": "added" + } + }, + "min_expiration": { + "description": "The shortest allowed poll duration, in seconds.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "3.4.2": "added" + } + }, + "max_expiration": { + "description": "The longest allowed poll duration, in seconds.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "3.4.2": "added" + } + }, + "contact_account": { + "description": "A user that can be contacted, as an alternative to `email`.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Account()", + "type": "Account()", + "version_history": { + "2.3.0": "added" + } + }, + "rules": { + "description": "An itemized list of rules for this website.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of Rule()", + "type": "Array of Rule()", + "version_history": { + "3.4.0": "added" + } + } + }, + "Marker": { + "last_read_id": { + "description": "The ID of the most recently viewed entity.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from integer but not guaranteed to be a number) 3.0.0 - added", + "type": "String (cast from integer but not guaranteed to be a number) 3.0.0 - added" + }, + "version": { + "description": "An incrementing counter, used for locking to prevent write conflicts.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "3.0.0": "added" + } + }, + "updated_at": { + "description": "The timestamp of when the marker was set.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (ISO 8601 Datetime) 3.0.0 - added", + "type": "String (ISO 8601 Datetime) 3.0.0 - added" + } + }, + "Tag": { + "name": { + "description": "The value of the hashtag after the # sign.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "0.9.0": "added" + } + }, + "url": { + "description": "A link to the hashtag on the instance.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "0.9.0": "added" + } + }, + "history": { + "description": "Usage statistics for given days (typically the past week).", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of Hash", + "type": "Array of Hash", + "version_history": { + "2.4.1": "added" + } + } + }, + "TagHistory": { + "day": { + "description": "UNIX timestamp on midnight of the given day.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (UNIX timestamp)", + "type": "String (UNIX timestamp)", + "version_history": { + "2.4.1": "added" + } + }, + "uses": { + "description": "The counted usage of the tag within that day.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer)", + "type": "String (cast from an integer)", + "version_history": { + "2.4.1": "added" + } + }, + "accounts": { + "description": "The total of accounts using the tag within that day.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer)", + "type": "String (cast from an integer)", + "version_history": { + "2.4.1": "added" + } + }, + "following": { + "description": "Whether the current token's authorized user is following this tag.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "4.0.0": "added" + } + } + }, + "AdminTag": { + "id": { + "description": "The ID of the Tag in the database.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from integer, but not guaranteed to be a number)", + "type": "String (cast from integer, but not guaranteed to be a number)", + "version_history": { + "3.5.0": "added" + } + }, + "trendable": { + "description": "Whether the hashtag has been approved to trend.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "3.5.0": "added" + } + }, + "usable": { + "description": "Whether the hashtag has not been disabled from auto-linking.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "3.5.0": "added" + } + }, + "requires_review": { + "description": "Whether the hashtag has not been reviewed yet to approve or deny its trending.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "3.5.0": "added" + } + } + }, + "FeaturedTag": { + "id": { + "description": "The internal ID of the featured tag in the database.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from integer but not guaranteed to be a number)", + "type": "String (cast from integer but not guaranteed to be a number)", + "version_history": { + "3.0.0": "added" + } + }, + "name": { + "description": "The name of the hashtag being featured.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "3.0.0": "added" + } + }, + "url": { + "description": "A link to all statuses by a user that contain this hashtag.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "3.3.0": "added" + } + }, + "statuses_count": { + "description": "The number of authored statuses containing this hashtag.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Number", + "type": "Number", + "version_history": { + "3.0.0": "added" + } + }, + "last_status_at": { + "description": "The timestamp of the last authored status containing this hashtag.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (ISO 8601 Datetime)", + "type": "String (ISO 8601 Datetime)", + "version_history": { + "3.0.0": "added" + } + } + }, + "Instance": { + "domain": { + "description": "The domain name of the instance.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "4.0.0": "added" + } + }, + "title": { + "description": "The title of the website.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "4.0.0": "added" + } + }, + "version": { + "description": "The version of Mastodon installed on the instance.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "4.0.0": "added" + } + }, + "source_url": { + "description": "The URL for the source code of the software running on this instance, in keeping with AGPL license requirements.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "4.0.0": "added" + } + }, + "description": { + "description": "A short, plain-text description defined by the admin.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "4.0.0": "added" + } + }, + "usage": { + "description": "Usage data for this instance.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "4.0.0": "added" + } + } + }, + "InstanceUsage": { + "users": { + "description": "Usage data related to users on this instance.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "4.0.0": "added" + } + }, + "active_month": { + "description": "The number of active users in the past 4 weeks.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "4.0.0": "added" + } + }, + "thumbnail": { + "description": "An image used to represent this instance.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "4.0.0": "added" + } + }, + "url": { + "description": "The URL for the thumbnail image.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "4.0.0": "added" + } + }, + "blurhash": { + "description": "A hash computed by the BlurHash algorithm(https://github.com/woltapp/blurhash), for generating colorful preview thumbnails when media has not been downloaded yet.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (Blurhash)", + "type": "String (Blurhash)", + "version_history": { + "4.0.0": "added" + } + }, + "versions": { + "description": "Links to scaled resolution images, for high DPI screens.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "4.0.0": "added" + } + }, + "@1x": { + "description": "The URL for the thumbnail image at 1x resolution.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "4.0.0": "added" + } + }, + "@2x": { + "description": "The URL for the thumbnail image at 2x resolution.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "4.0.0": "added" + } + }, + "languages": { + "description": "Primary languages of the website and its staff.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of String (ISO 639-1 two-letter code)", + "type": "Array of String (ISO 639-1 two-letter code)", + "version_history": { + "4.0.0": "added" + } + }, + "configuration": { + "description": "Configured values and limits for this website.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "4.0.0": "added" + } + }, + "urls": { + "description": "URLs of interest for clients apps.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "4.0.0": "added" + } + }, + "streaming_api": { + "description": "The Websockets URL for connecting to the streaming API.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "4.0.0": "added" + } + }, + "accounts": { + "description": "Limits related to accounts.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "4.0.0": "added" + } + }, + "max_featured_tags": { + "description": "The maximum number of featured tags allowed for each account.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "4.0.0": "added" + } + }, + "statuses": { + "description": "Limits related to authoring statuses.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "4.0.0": "added" + } + }, + "max_characters": { + "description": "The maximum number of allowed characters per status.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "4.0.0": "added" + } + }, + "max_media_attachments": { + "description": "The maximum number of media attachments that can be added to a status.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "4.0.0": "added" + } + }, + "characters_reserved_per_url": { + "description": "Each URL in a status will be assumed to be exactly this many characters.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "4.0.0": "added" + } + }, + "media_attachments": { + "description": "Hints for which attachments will be accepted.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "4.0.0": "added" + } + }, + "supported_mime_types": { + "description": "Contains MIME types that can be uploaded.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of String", + "type": "Array of String", + "version_history": { + "4.0.0": "added" + } + }, + "image_size_limit": { + "description": "The maximum size of any uploaded image, in bytes.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "4.0.0": "added" + } + }, + "image_matrix_limit": { + "description": "The maximum number of pixels (width times height) for image uploads.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "4.0.0": "added" + } + }, + "video_size_limit": { + "description": "The maximum size of any uploaded video, in bytes.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "4.0.0": "added" + } + }, + "video_frame_rate_limit": { + "description": "The maximum frame rate for any uploaded video.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "4.0.0": "added" + } + }, + "video_matrix_limit": { + "description": "The maximum number of pixels (width times height) for video uploads.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "4.0.0": "added" + } + }, + "polls": { + "description": "Limits related to polls.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "4.0.0": "added" + } + }, + "max_options": { + "description": "Each poll is allowed to have up to this many options.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "4.0.0": "added" + } + }, + "max_characters_per_option": { + "description": "Each poll option is allowed to have this many characters.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "4.0.0": "added" + } + }, + "min_expiration": { + "description": "The shortest allowed poll duration, in seconds.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "4.0.0": "added" + } + }, + "max_expiration": { + "description": "The longest allowed poll duration, in seconds.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "4.0.0": "added" + } + }, + "translation": { + "description": "Hints related to translation.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "4.0.0": "added" + } + }, + "enabled": { + "description": "Whether registrations are enabled.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "4.0.0": "added" + } + }, + "registrations": { + "description": "Information about registering for this website.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "4.0.0": "added" + } + }, + "approval_required": { + "description": "Whether registrations require moderator approval.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "4.0.0": "added" + } + }, + "message": { + "description": "A custom message to be shown when registrations are closed.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String (HTML) or null", + "type": "String (HTML) or null", + "version_history": { + "4.0.0": "added" + } + }, + "contact": { + "description": "Hints related to contacting a representative of the website.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "4.0.0": "added" + } + }, + "email": { + "description": "An email address that can be messaged regarding inquiries or issues.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (Email)", + "type": "String (Email)", + "version_history": { + "4.0.0": "added" + } + }, + "account": { + "description": "An account that can be contacted natively over the network regarding inquiries or issues.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Account()", + "type": "Account()", + "version_history": { + "4.0.0": "added" + } + }, + "rules": { + "description": "An itemized list of rules for this website.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of Rule()", + "type": "Array of Rule()", + "version_history": { + "4.0.0": "added" + } + } + }, + "AdminCohort": { + "period": { + "description": "The timestamp for the start of the period, at midnight.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (ISO 8601 Datetime)", + "type": "String (ISO 8601 Datetime)", + "version_history": { + "3.5.0": "added" + } + }, + "frequency": { + "description": "The size of the bucket for the returned data.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (Enumerable oneOf) `day` = Daily buckets `month` = Monthly buckets", + "type": "String (Enumerable oneOf) `day` = Daily buckets `month` = Monthly buckets", + "version_history": { + "3.5.0": "added" + } + }, + "data": { + "description": "Retention data for users who registered during the given period.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of CohortData(#CohortData)", + "type": "Array of CohortData(#CohortData)", + "version_history": { + "3.5.0": "added" + } + } + }, + "CohortData": { + "date": { + "description": "The timestamp for the start of the bucket, at midnight.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (ISO 8601 Datetime)", + "type": "String (ISO 8601 Datetime)", + "version_history": { + "3.5.0": "added" + } + }, + "rate": { + "description": "The percentage rate of users who registered in the specified `period` and were active for the given `date` bucket.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Number", + "type": "Number", + "version_history": { + "3.5.0": "added" + } + }, + "value": { + "description": "How many users registered in the specified `period` and were active for the given `date` bucket.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "3.5.0": "added" + } + } + }, + "Account": { + "id": { + "description": "The account id.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "0.1.0": "added" + } + }, + "username": { + "description": "The username of the account, not including domain.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "0.1.0": "added" + } + }, + "acct": { + "description": "The Webfinger account URI. Equal to `username` for local users, or `username@domain` for remote users.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "0.1.0": "added" + } + }, + "url": { + "description": "The location of the user's profile page.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "0.1.0": "added" + } + }, + "display_name": { + "description": "The profile's display name.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "0.1.0": "added" + } + }, + "note": { + "description": "The profile's bio or description.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (HTML)", + "type": "String (HTML)", + "version_history": { + "0.1.0": "added" + } + }, + "avatar": { + "description": "An image icon that is shown next to statuses and in the profile.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "0.1.0": "added" + } + }, + "avatar_static": { + "description": "A static version of the avatar. Equal to `avatar` if its value is a static image; different if `avatar` is an animated GIF.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "1.1.2": "added" + } + }, + "header": { + "description": "An image banner that is shown above the profile and in profile cards.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "0.1.0": "added" + } + }, + "header_static": { + "description": "A static version of the header. Equal to `header` if its value is a static image; different if `header` is an animated GIF.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "1.1.2": "added" + } + }, + "locked": { + "description": "Whether the account manually approves follow requests.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "0.1.0": "added" + } + }, + "fields": { + "description": "Additional metadata attached to a profile as name-value pairs.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of Field(#Field)", + "type": "Array of Field(#Field)", + "version_history": { + "2.4.0": "added" + } + }, + "emojis": { + "description": "Custom emoji entities to be used when rendering the profile.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of CustomEmoji()", + "type": "Array of CustomEmoji()", + "version_history": { + "2.4.0": "added" + } + }, + "bot": { + "description": "Indicates that the account may perform automated actions, may not be monitored, or identifies as a robot.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.4.0": "added" + } + }, + "group": { + "description": "Indicates that the account represents a Group actor.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "3.1.0": "added" + } + }, + "discoverable": { + "description": "Whether the account has opted into discovery features such as the profile directory.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " Boolean", + "type": "Boolean", + "version_history": { + "3.1.0": "added" + } + }, + "noindex": { + "description": "Whether the local user has opted out of being indexed by search engines.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " Boolean", + "type": "Boolean", + "version_history": { + "4.0.0": "added" + } + }, + "moved": { + "description": "Indicates that the profile is currently inactive and that its user has moved to a new account.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " Account(), or null if the profile is suspended.", + "type": "Account(), or null if the profile is suspended.", + "version_history": { + "2.1.0": "added" + } + }, + "suspended": { + "description": "An extra attribute returned only when an account is suspended.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "3.3.0": "added" + } + }, + "limited": { + "description": "An extra attribute returned only when an account is silenced. If true, indicates that the account should be hidden behind a warning screen.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "3.5.3": "added" + } + }, + "created_at": { + "description": "When the account was created.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (ISO 8601 Datetime)", + "type": "String (ISO 8601 Datetime)", + "version_history": { + "0.1.0": "added", + "3.4.0": "now resolves to midnight instead of an exact time" + } + }, + "last_status_at": { + "description": "When the most recent status was posted.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String (ISO 8601 Date), or null if no statuses", + "type": "String (ISO 8601 Date), or null if no statuses", + "version_history": { + "3.0.0": "added", + "3.1.0": "now returns date only, no time" + } + }, + "statuses_count": { + "description": "How many statuses are attached to this account.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "0.1.0": "added" + } + }, + "followers_count": { + "description": "The reported followers of this profile.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "0.1.0": "added" + } + }, + "following_count": { + "description": "The reported follows of this profile.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "0.1.0": "added" + } + } + }, + "CredentialAccount": { + "source": { + "description": "An extra attribute that contains source values to be used with API methods that verify credentials() and update credentials().", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "2.4.0": "added" + } + } + }, + "CredentialAccountSource": { + "note": { + "description": "Profile bio, in plain-text instead of in HTML.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "1.5.0": "added" + } + }, + "fields": { + "description": "Metadata about the account.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of Field(#Field)", + "type": "Array of Field(#Field)", + "version_history": { + "2.4.0": "added" + } + }, + "privacy": { + "description": "The default post privacy to be used for new statuses.", + "nullable": false, + "optional": false, + "enum": { + "public": "Public post", + "unlisted": "Unlisted post", + "private": "Followers-only post", + "direct": "Direct post" + }, + "type_key": "String (Enumerable, oneOf) `public` = Public post `unlisted` = Unlisted post `private` = Followers-only post `direct` = Direct post", + "type": "String", + "version_history": { + "1.5.0": "added" + } + }, + "sensitive": { + "description": "Whether new statuses should be marked sensitive by default.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "1.5.0": "added" + } + }, + "language": { + "description": "The default posting language for new statuses.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (ISO 639-1 language two-letter code) or empty string", + "type": "String (ISO 639-1 language two-letter code) or empty string", + "version_history": { + "2.4.2": "added" + } + }, + "follow_requests_count": { + "description": "The number of pending follow requests.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "3.0.0": "added" + } + }, + "role": { + "description": "The role assigned to the currently authorized user.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Role()", + "type": "Role()", + "version_history": { + "4.0.0": "added" + } + } + }, + "MutedAccount": { + "mute_expires_at": { + "description": "When a timed mute will expire, if applicable.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String (ISO 8601 Datetime), or null if the mute is indefinite", + "type": "String (ISO 8601 Datetime), or null if the mute is indefinite", + "version_history": { + "3.3.0": "added" + } + } + }, + "Field": { + "name": { + "description": "The key of a given field's key-value pair.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "2.4.0": "added" + } + }, + "value": { + "description": "The value associated with the `name` key.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (HTML)", + "type": "String (HTML)", + "version_history": { + "2.4.0": "added" + } + }, + "verified_at": { + "description": "Timestamp of when the server verified a URL value for a rel=\"me\" link.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String (ISO 8601 Datetime) if `value` is a verified URL. Otherwise, null.", + "type": "String (ISO 8601 Datetime) if `value` is a verified URL. Otherwise, null.", + "version_history": { + "2.6.0": "added" + } + } + }, + "Context": { + "ancestors": { + "description": "Parents in the thread.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of Status()", + "type": "Array of Status()", + "version_history": { + "0.6.0": "added" + } + }, + "descendants": { + "description": "Children in the thread.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of Status()", + "type": "Array of Status()", + "version_history": { + "0.6.0": "added" + } + } + }, + "AdminEmailDomainBlock": { + "id": { + "description": "The ID of the EmailDomainBlock in the database.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "4.0.0": "added" + } + }, + "domain": { + "description": "The email domain that is not allowed to be used for signups.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "4.0.0": "added" + } + }, + "created_at": { + "description": "When the email domain was disallowed from signups.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (ISO 8601 Datetime)", + "type": "String (ISO 8601 Datetime)", + "version_history": { + "4.0.0": "added" + } + }, + "history": { + "description": "Usage statistics for given days (typically the past week).", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of Hash", + "type": "Array of Hash", + "version_history": { + "4.0.0": "added" + } + } + }, + "AdminEmailDomainBlockHistory": { + "day": { + "description": "UNIX timestamp on midnight of the given day.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (UNIX timestamp)", + "type": "String (UNIX timestamp)", + "version_history": { + "4.0.0": "added" + } + }, + "accounts": { + "description": "The counted accounts signup attempts using that email domain within that day.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer)", + "type": "String (cast from an integer)", + "version_history": { + "4.0.0": "added" + } + }, + "uses": { + "description": "The counted IP signup attempts of that email domain within that day.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer)", + "type": "String (cast from an integer)", + "version_history": { + "4.0.0": "added" + } + } + }, + "PreviewCard": { + "url": { + "description": "Location of linked resource.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "1.0.0": "added" + } + }, + "title": { + "description": "Title of linked resource.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "1.0.0": "added" + } + }, + "description": { + "description": "Description of preview.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "1.0.0": "added" + } + }, + "type": { + "description": "The type of the preview card.", + "nullable": false, + "optional": false, + "enum": { + "link": "Link OEmbed", + "photo": "Photo OEmbed", + "video": "Video OEmbed", + "rich": "iframe OEmbed. Not currently accepted, so won't show up in practice." + }, + "type_key": "String (Enumerable, oneOf) `link` = Link OEmbed `photo` = Photo OEmbed `video` = Video OEmbed `rich` = iframe OEmbed. Not currently accepted, so won't show up in practice.", + "type": "String", + "version_history": { + "1.3.0": "added" + } + }, + "author_name": { + "description": "The author of the original resource.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "1.3.0": "added" + } + }, + "author_url": { + "description": "A link to the author of the original resource.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "1.3.0": "added" + } + }, + "provider_name": { + "description": "The provider of the original resource.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "1.3.0": "added" + } + }, + "provider_url": { + "description": "A link to the provider of the original resource.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "1.3.0": "added" + } + }, + "html": { + "description": "HTML to be used for generating the preview card.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (HTML)", + "type": "String (HTML)", + "version_history": { + "1.3.0": "added" + } + }, + "width": { + "description": "Width of preview, in pixels.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "1.3.0": "added" + } + }, + "height": { + "description": "Height of preview, in pixels.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "1.3.0": "added" + } + }, + "image": { + "description": "Preview thumbnail.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String (URL)", + "type": "String (URL)", + "version_history": { + "1.0.0": "added" + } + }, + "embed_url": { + "description": "Used for photo embeds, instead of custom `html`.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "2.1.0": "added" + } + }, + "blurhash": { + "description": "A hash computed by the BlurHash algorithm(https://github.com/woltapp/blurhash), for generating colorful preview thumbnails when media has not been downloaded yet.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String", + "type": "String", + "version_history": { + "3.2.0": "added" + } + } + }, + "TrendsLink": { + "history": { + "description": "Usage statistics for given days (typically the past week).", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of Hash", + "type": "Array of Hash", + "version_history": { + "3.5.0": "added" + } + } + }, + "TrendsLinkHistory": { + "day": { + "description": "UNIX timestamp on midnight of the given day.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (UNIX timestamp)", + "type": "String (UNIX timestamp)", + "version_history": { + "3.5.0": "added" + } + }, + "accounts": { + "description": "The counted accounts using the link within that day.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer)", + "type": "String (cast from an integer)", + "version_history": { + "3.5.0": "added" + } + }, + "uses": { + "description": "The counted statuses using the link within that day.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer)", + "type": "String (cast from an integer)", + "version_history": { + "3.5.0": "added" + } + } + }, + "MediaAttachment": { + "id": { + "description": "The ID of the attachment in the database.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer but not guaranteed to be a number)", + "type": "String (cast from an integer but not guaranteed to be a number)", + "version_history": { + "0.6.0": "added" + } + }, + "type": { + "description": "The type of the attachment.", + "nullable": false, + "optional": false, + "enum": { + "unknown": "unsupported or unrecognized file type", + "image": "Static image", + "gifv": "Looping, soundless animation", + "video": "Video clip", + "audio": "Audio track" + }, + "type_key": "String (Enumerable, oneOf) `unknown` = unsupported or unrecognized file type `image` = Static image `gifv` = Looping, soundless animation `video` = Video clip `audio` = Audio track", + "type": "String", + "version_history": { + "0.6.0": "added", + "2.9.1": "added `audio`" + } + }, + "url": { + "description": "The location of the original full-size attachment.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "0.6.0": "added" + } + }, + "preview_url": { + "description": "The location of a scaled-down preview of the attachment.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "0.6.0": "added" + } + }, + "remote_url": { + "description": "The location of the full-size original attachment on the remote website.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String (URL), or null if the attachment is local", + "type": "String (URL), or null if the attachment is local", + "version_history": { + "0.6.0": "added" + } + }, + "meta": { + "description": "Metadata returned by Paperclip.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "1.5.0": "added", + "2.3.0": "added `meta.focus` May contain subtrees `small` and `original`, as well as various other top-level properties. More importantly, there may be another topl-level `focus` Hash object on images as of 2.3.0, with coordinates can be used for smart thumbnail cropping -- see [Focal points for cropped media thumbnails]({{< relref \"api/guidelines#focal-points\" >}}) for more." + } + }, + "description": { + "description": "Alternate text that describes what is in the media attachment, to be used for the visually impaired or when media attachments do not load.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "2.0.0": "added" + } + }, + "blurhash": { + "description": "A hash computed by the BlurHash algorithm(https://github.com/woltapp/blurhash), for generating colorful preview thumbnails when media has not been downloaded yet.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (Blurhash)", + "type": "String (Blurhash)", + "version_history": { + "2.8.1": "added" + } + } + }, + "Deprecated": { + "text_url": { + "description": "A shorter URL for the attachment.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "0.6.0": "added", + "3.5.0": "removed" + } + } + }, + "V1Filter": { + "id": { + "description": "The ID of the filter in the database.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "2.4.3": "added" + } + }, + "phrase": { + "description": "The text to be filtered.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "2.4.3": "added" + } + }, + "context": { + "description": "The contexts in which the filter should be applied.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of String (Enumerable anyOf) `home` = home timeline and lists `notifications` = notifications timeline `public` = public timelines `thread` = expanded thread of a detailed status `account` = when viewing a profile", + "type": "Array of String (Enumerable anyOf) `home` = home timeline and lists `notifications` = notifications timeline `public` = public timelines `thread` = expanded thread of a detailed status `account` = when viewing a profile", + "version_history": { + "2.4.3": "added", + "3.1.0": "added `account`" + } + }, + "expires_at": { + "description": "When the filter should no longer be applied.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String (ISO 8601 Datetime), or null if the filter does not expire", + "type": "String (ISO 8601 Datetime), or null if the filter does not expire", + "version_history": { + "2.4.3": "added" + } + }, + "irreversible": { + "description": "Should matching entities in home and notifications be dropped by the server? See implementation guidelines for filters().", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.4.3": "added" + } + }, + "whole_word": { + "description": "Should the filter consider word boundaries? See implementation guidelines for filters().", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.4.3": "added" + } + } + }, + "AdminCanonicalEmailBlock": { + "id": { + "description": "The ID of the email block in the database.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "4.0.0": "added" + } + }, + "canonical_email_hash": { + "description": "The SHA256 hash of the canonical email address.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (SHA256)", + "type": "String (SHA256)", + "version_history": { + "4.0.0": "added" + } + } + }, + "AdminIpBlock": { + "id": { + "description": "The ID of the DomainBlock in the database.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "4.0.0": "added" + } + }, + "ip": { + "description": "The IP address range that is not allowed to federate.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (IP address and prefix)", + "type": "String (IP address and prefix)", + "version_history": { + "4.0.0": "added" + } + }, + "severity": { + "description": "The associated policy with this IP block.", + "nullable": false, + "optional": false, + "enum": { + "sign_up_requires_approval": "Any signup from this IP range will create a pending account", + "sign_up_block": "Any signup from this IP range will be rejected", + "no_access": "Any activity from this IP range will be rejected entirely" + }, + "type_key": "String (Enumerable, oneOf) `sign_up_requires_approval` = Any signup from this IP range will create a pending account `sign_up_block` = Any signup from this IP range will be rejected `no_access` = Any activity from this IP range will be rejected entirely", + "type": "String", + "version_history": { + "4.0.0": "added" + } + }, + "comment": { + "description": "The recorded reason for this IP block.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "4.0.0": "added" + } + }, + "created_at": { + "description": "When the IP block was created.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (ISO 8601 Datetime)", + "type": "String (ISO 8601 Datetime)", + "version_history": { + "4.0.0": "added" + } + }, + "expires_at": { + "description": "When the IP block will expire.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String (ISO 8601 Datetime)", + "type": "String (ISO 8601 Datetime)", + "version_history": { + "4.0.0": "added" + } + } + }, + "Rule": { + "id": { + "description": "An identifier for the rule.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from integer, but not guaranteed to be a number)", + "type": "String (cast from integer, but not guaranteed to be a number)", + "version_history": { + "3.4.0": "added" + } + }, + "text": { + "description": "The rule to be followed.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "3.4.0": "added" + } + } + }, + "AdminAccount": { + "id": { + "description": "The ID of the account in the database.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "2.9.1": "added" + } + }, + "username": { + "description": "The username of the account.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "2.9.1": "added" + } + }, + "domain": { + "description": "The domain of the account, if it is remote.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String, or null for local accounts", + "type": "String, or null for local accounts", + "version_history": { + "2.9.1": "added" + } + }, + "created_at": { + "description": "When the account was first discovered.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (ISO 8601 Datetime)", + "type": "String (ISO 8601 Datetime)", + "version_history": { + "2.9.1": "added" + } + }, + "email": { + "description": "The email address associated with the account.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "2.9.1": "added" + } + }, + "ip": { + "description": "The IP address last used to login to this account.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String", + "type": "String", + "version_history": { + "2.9.1": "added", + "3.5.0": "return type changed from String to [AdminIp]({{< relref \"entities/Admin_Ip\" >}}) due to a bug", + "4.0.0": "bug fixed, return type is now a String again" + } + }, + "ips": { + "description": "All known IP addresses associated with this account.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of AdminIp()", + "type": "Array of AdminIp()", + "version_history": { + "3.5.0": "added" + } + }, + "locale": { + "description": "The locale of the account.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (ISO 639 Part 1 two-letter language code)", + "type": "String (ISO 639 Part 1 two-letter language code)", + "version_history": { + "2.9.1": "added" + } + }, + "invite_request": { + "description": "The reason given when requesting an invite (for instances that require manual approval of registrations)", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String", + "type": "String", + "version_history": { + "2.9.1": "added" + } + }, + "role": { + "description": "The current role of the account.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Role()", + "type": "Role()", + "version_history": { + "2.9.1": "added, returns a String (enumerable, oneOf `user` `moderator` `admin`)", + "4.0.0": "now uses Role entity" + } + }, + "confirmed": { + "description": "Whether the account has confirmed their email address.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.9.1": "added" + } + }, + "approved": { + "description": "Whether the account is currently approved.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.9.1": "added" + } + }, + "disabled": { + "description": "Whether the account is currently disabled.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.9.1": "added" + } + }, + "silenced": { + "description": "Whether the account is currently silenced.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.9.1": "added" + } + }, + "suspended": { + "description": "Whether the account is currently suspended.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.9.1": "added" + } + }, + "account": { + "description": "User-level information about the account.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Account()", + "type": "Account()", + "version_history": { + "2.9.1": "added" + } + }, + "created_by_application_id": { + "description": "The ID of the Application() that created this account, if applicable.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "2.9.1": "added" + } + }, + "invited_by_account_id": { + "description": "The ID of the Account() that invited this user, if applicable.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "2.9.1": "added" + } + } + }, + "WebPushSubscription": { + "id": { + "description": "The ID of the Web Push subscription in the database.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "2.4.0": "added" + } + }, + "endpoint": { + "description": "Where push alerts will be sent to.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "2.4.0": "added" + } + }, + "server_key": { + "description": "The streaming server's VAPID key.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "2.4.0": "added" + } + }, + "alerts": { + "description": "Which alerts should be delivered to the `endpoint`.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Hash", + "type": "Hash", + "version_history": { + "2.4.0": "added", + "2.8.0": "added `alerts[poll]`", + "3.1.0": "added `alerts[follow_request]`", + "3.3.0": "added `alerts[status]`", + "3.5.0": "added `alerts[update]` and `alerts[admin.sign_up]`", + "4.0.0": "added `alerts[admin.report]`" + } + } + }, + "WebPushSubscriptionAlerts": { + "mention": { + "description": "Receive a push notification when someone else has mentioned you in a status?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.4.0": "added" + } + }, + "status": { + "description": "Receive a push notification when a subscribed account posts a status?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "3.3.0": "added" + } + }, + "reblog": { + "description": "Receive a push notification when a status you created has been boosted by someone else?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.4.0": "added" + } + }, + "follow": { + "description": "Receive a push notification when someone has followed you?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.4.0": "added" + } + }, + "follow_request": { + "description": "Receive a push notification when someone has requested to followed you?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "3.1.0": "added" + } + }, + "favourite": { + "description": "Receive a push notification when a status you created has been favourited by someone else?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.4.0": "added" + } + }, + "poll": { + "description": "Receive a push notification when a poll you voted in or created has ended?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.8.0": "added" + } + }, + "update": { + "description": "Receive a push notification when a status you interacted with has been edited?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "3.5.0": "added" + } + }, + "admin.sign_up": { + "description": "Receive a push notification when a new user has signed up?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "3.5.0": "added" + } + }, + "admin.report": { + "description": "Receive a push notification when a new report has been filed?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "4.0.0": "added" + } + } + }, + "Conversation": { + "id": { + "description": "The ID of the conversation in the database.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "2.6.0": "added" + } + }, + "unread": { + "description": "Is the conversation currently marked as unread?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.6.0": "added" + } + }, + "accounts": { + "description": "Participants in the conversation.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of Account()", + "type": "Array of Account()", + "version_history": { + "2.6.0": "added" + } + }, + "last_status": { + "description": "The last status in the conversation.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " Status()", + "type": "Status()", + "version_history": { + "2.6.0": "added" + } + } + }, + "AdminMeasure": { + "key": { + "description": "The unique keystring for the requested measure.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "3.5.0": "added" + } + }, + "unit": { + "description": "The units associated with this data item's value, if applicable.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String or null", + "type": "String or null", + "version_history": { + "3.5.0": "added" + } + }, + "total": { + "description": "The numeric total associated with the requested measure.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from integer)", + "type": "String (cast from integer)", + "version_history": { + "3.5.0": "added" + } + }, + "human_value": { + "description": "A human-readable formatted value for this data item.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "3.5.0": "added" + } + }, + "previous_total": { + "description": "The numeric total associated with the requested measure, in the previous period. Previous period is calculated by subtracting the start_at and end_at dates, then offsetting both start and end dates backwards by the length of the time period.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from integer)", + "type": "String (cast from integer)", + "version_history": { + "3.5.0": "added" + } + }, + "data": { + "description": "The data available for the requested measure, split into daily buckets.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of Hash", + "type": "Array of Hash", + "version_history": { + "3.5.0": "added" + } + } + }, + "AdminMeasureData": { + "date": { + "description": "Midnight on the requested day in the time period.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (ISO 8601 Datetime)", + "type": "String (ISO 8601 Datetime)", + "version_history": { + "3.5.0": "added" + } + }, + "value": { + "description": "The numeric value for the requested measure.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from integer)", + "type": "String (cast from integer)", + "version_history": { + "3.5.0": "added" + } + } + }, + "Role": { + "id": { + "description": "The ID of the Role in the database.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "4.0.0": "added" + } + }, + "name": { + "description": "The name of the role.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "4.0.0": "added" + } + }, + "color": { + "description": "The hex code assigned to this role. If no hex code is assigned, the string will be empty.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "4.0.0": "added" + } + }, + "permissions": { + "description": "A bitmask that represents the sum of all permissions granted to the role.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "4.0.0": "added" + } + }, + "highlighted": { + "description": "Whether the role is publicly visible as a badge on user profiles.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "4.0.0": "added" + } + } + }, + "Relationship": { + "id": { + "description": "The account ID.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "0.6.0": "added" + } + }, + "following": { + "description": "Are you following this user?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "0.6.0": "added" + } + }, + "showing_reblogs": { + "description": "Are you receiving this user's boosts in your home timeline?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.1.0": "added" + } + }, + "notifying": { + "description": "Have you enabled notifications for this user?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "3.3.0": "added" + } + }, + "languages": { + "description": "Which languages are you following from this user?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of String (ISO 639-1 language two-letter code)", + "type": "Array of String (ISO 639-1 language two-letter code)", + "version_history": { + "4.0.0": "added" + } + }, + "followed_by": { + "description": "Are you followed by this user?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "0.6.0": "added" + } + }, + "blocking": { + "description": "Are you blocking this user?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "0.6.0": "added" + } + }, + "blocked_by": { + "description": "Is this user blocking you?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.8.0": "added" + } + }, + "muting": { + "description": "Are you muting this user?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "1.1.0": "added" + } + }, + "muting_notifications": { + "description": "Are you muting notifications from this user?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.1.0": "added" + } + }, + "requested": { + "description": "Do you have a pending follow request for this user?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "0.9.9": "added" + } + }, + "domain_blocking": { + "description": "Are you blocking this user's domain?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "1.4.0": "added" + } + }, + "endorsed": { + "description": "Are you featuring this user on your profile?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.5.0": "added" + } + }, + "note": { + "description": "This user's profile bio", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "3.2.0": "added" + } + } + }, + "Suggestion": { + "source": { + "description": "The reason this account is being suggested.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (Enumerable oneOf) `staff` = This account was manually recommended by your administration team `past_interactions` = You have interacted with this account previously `global` = This account has many reblogs, favourites, and active local followers within the last 30 days", + "type": "String (Enumerable oneOf) `staff` = This account was manually recommended by your administration team `past_interactions` = You have interacted with this account previously `global` = This account has many reblogs, favourites, and active local followers within the last 30 days", + "version_history": { + "3.4.0": "added" + } + }, + "account": { + "description": "The account being recommended to follow.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Account()", + "type": "Account()", + "version_history": { + "3.4.0": "added" + } + } + }, + "Application": { + "name": { + "description": "The name of your application.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "0.9.9": "added" + } + }, + "website": { + "description": "The website associated with your application.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String (URL)", + "type": "String (URL)", + "version_history": { + "0.9.9": "added", + "3.5.1": "this property is now nullable" + } + }, + "vapid_key": { + "description": "Used for Push Streaming API. Returned with POST /api/v1/apps(). Equivalent to WebPushSubscription#server_key()", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "2.8.0": "added" + } + }, + "client_id": { + "description": "Client ID key, to be used for obtaining OAuth tokens", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "0.9.9": "added" + } + }, + "client_secret": { + "description": "Client secret key, to be used for obtaining OAuth tokens", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "0.9.9": "added" + } + } + }, + "FilterKeyword": { + "id": { + "description": "The ID of the FilterKeyword in the database.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "4.0.0": "added" + } + }, + "keyword": { + "description": "The phrase to be matched against.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "4.0.0": "added" + } + }, + "whole_word": { + "description": "Should the filter consider word boundaries? See implementation guidelines for filters().", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "4.0.0": "added" + } + } + }, + "StatusSource": { + "id": { + "description": "ID of the status in the database.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer but not guaranteed to be a number)", + "type": "String (cast from an integer but not guaranteed to be a number)", + "version_history": { + "3.5.0": "added" + } + }, + "text": { + "description": "The plain text used to compose the status.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "3.5.0": "added" + } + }, + "spoiler_text": { + "description": "The plain text used to compose the status's subject or content warning.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "3.5.0": "added" + } + } + }, + "FamiliarFollowers": { + "id": { + "description": "The ID of the Account in the database.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "3.5.0": "added" + } + }, + "accounts": { + "description": "Accounts you follow that also follow this account.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of Account()", + "type": "Array of Account()", + "version_history": { + "3.5.0": "added" + } + } + }, + "CustomEmoji": { + "shortcode": { + "description": "The name of the custom emoji.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "2.0.0": "added" + } + }, + "url": { + "description": "A link to the custom emoji.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "2.0.0": "added" + } + }, + "static_url": { + "description": "A link to a static copy of the custom emoji.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (URL)", + "type": "String (URL)", + "version_history": { + "2.0.0": "added" + } + }, + "visible_in_picker": { + "description": "Whether this Emoji should be visible in the picker or unlisted.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.0.0": "added" + } + }, + "category": { + "description": "Used for sorting custom emoji in the picker.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "3.0.0": "added" + } + } + }, + "Poll": { + "id": { + "description": "The ID of the poll in the database.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String (cast from an integer, but not guaranteed to be a number)", + "type": "String (cast from an integer, but not guaranteed to be a number)", + "version_history": { + "2.8.0": "added" + } + }, + "expires_at": { + "description": "When the poll ends.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " String (ISO 8601 Datetime), or null if the poll does not end", + "type": "String (ISO 8601 Datetime), or null if the poll does not end", + "version_history": { + "2.8.0": "added" + } + }, + "expired": { + "description": "Is the poll currently expired?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.8.0": "added" + } + }, + "multiple": { + "description": "Does the poll allow multiple-choice answers?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.8.0": "added" + } + }, + "votes_count": { + "description": "How many votes have been received.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Integer", + "type": "Integer", + "version_history": { + "2.8.0": "added" + } + }, + "voters_count": { + "description": "How many unique accounts have voted on a multiple-choice poll.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " Integer, or null if `multiple` is false.", + "type": "Integer, or null if `multiple` is false.", + "version_history": { + "2.8.0": "added" + } + }, + "options": { + "description": "Possible answers for the poll.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of PollOption(#Option)", + "type": "Array of PollOption(#Option)", + "version_history": { + "2.8.0": "added" + } + }, + "emojis": { + "description": "Custom emoji to be used for rendering poll options.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of CustomEmoji()", + "type": "Array of CustomEmoji()", + "version_history": { + "2.8.0": "added" + } + }, + "voted": { + "description": "When called with a user token, has the authorized user voted?", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Boolean", + "type": "Boolean", + "version_history": { + "2.8.0": "added" + } + }, + "own_votes": { + "description": "When called with a user token, which options has the authorized user chosen? Contains an array of index values for `options`.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "Array of Integer", + "type": "Array of Integer", + "version_history": { + "2.8.0": "added" + } + } + }, + "PollOption": { + "title": { + "description": "The text value of the poll option.", + "nullable": false, + "optional": false, + "enum": null, + "type_key": "String", + "type": "String", + "version_history": { + "2.8.0": "added" + } + }, + "votes_count": { + "description": "The total number of received votes for this option.", + "nullable": true, + "optional": false, + "enum": null, + "type_key": " Integer, or null if results are not published yet.", + "type": "Integer, or null if results are not published yet.", + "version_history": { + "2.8.0": "added" + } + } + } +} \ No newline at end of file diff --git a/srcgen/return_values.json b/srcgen/return_values.json index 91a7e4a..4c854d0 100644 --- a/srcgen/return_values.json +++ b/srcgen/return_values.json @@ -1,3534 +1,3535 @@ -[ - { - "name": "User / account", - "python_name": "Account", - "func_call": "mastodon.account()", - "func_call_real": "mastodon.account(23972)", - "func_call_additional": "mastodon.account_verify_credentials()", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/Account/", - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "id": { - "description": "Same as ", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "username": { - "description": "The username (what you @ them with)", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "acct": { - "description": "The user's account name as username@domain (@domain omitted for local users)", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "display_name": { - "description": "The user's display name", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "discoverable": { - "description": "Indicates whether or not a user is visible on the discovery page", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "group": { - "description": "A boolean indicating whether the account represents a group rather than an individual.", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "locked": { - "description": "Denotes whether the account can be followed without a follow request", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "created_at": { - "description": "Account creation time", - "field_type": "datetime", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "following_count": { - "description": "How many people they follow", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "followers_count": { - "description": "How many followers they have", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "statuses_count": { - "description": "How many statuses they have", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "note": { - "description": "Their bio", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "url": { - "description": "Their URL; for example 'https://mastodon.social/users/'", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "avatar": { - "description": "URL for their avatar, can be animated", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "header": { - "description": "URL for their header image, can be animated", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "avatar_static": { - "description": "URL for their avatar, never animated", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "header_static": { - "description": "URL for their header image, never animated", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "source": { - "description": "Additional information - only present for account dict returned from account_verify_credentials()", - "field_type": "AccountSource", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "moved_to_account": { - "description": "If set, a account dict of the account this user has set up as their moved-to address.", - "field_type": "NotPresentTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "bot": { - "description": "Boolean indicating whether this account is automated.", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "fields": { - "description": "List of up to four account field dicts", - "field_type": "list", - "field_subtype": "AccountField", - "is_optional": false, - "is_nullable": false - }, - "emojis": { - "description": "List of custom emoji used in name, bio or fields", - "field_type": "list", - "field_subtype": "Emoji", - "is_optional": false, - "is_nullable": false - }, - "last_status_at": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "datetime", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "noindex": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "roles": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "list", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "role": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "AccountRole", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Account field", - "python_name": "AccountField", - "func_call": "mastodon.account().fields[0]", - "func_call_real": "mastodon.account(23972).fields[0]", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "name": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "value": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "verified_at": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Account role", - "python_name": "AccountRole", - "func_call": "mastodon.account_verify_credentials().role", - "func_call_real": "mastodon.account_verify_credentials().role", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/Role/", - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "id": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "name": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "permissions": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "color": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "highlighted": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "User / account source", - "python_name": "AccountSource", - "func_call": "mastodon.account_verify_credentials()[\"source\"]", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "privacy": { - "description": "The user's default visibility setting (\"private\", \"unlisted\" or \"public\")", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "sensitive": { - "description": "Denotes whether user media should be marked sensitive by default", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "note": { - "description": "Plain text version of the user's bio", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "language": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "fields": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "list", - "field_subtype": "AccountField", - "is_optional": false, - "is_nullable": false - }, - "follow_requests_count": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Toot / Status", - "python_name": "Status", - "func_call": "mastodon.toot(\"Hello from Python\")", - "func_call_real": "mastodon.status(110446223051565765)", - "func_call_additional": "mastodon.status(110446183735368325)", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/Status/", - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "id": { - "description": "Numerical id of this toot", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "uri": { - "description": "Descriptor for the toot EG 'tag:mastodon.social,2016-11-25:objectId=:objectType=Status'", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "url": { - "description": "URL of the toot", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "account": { - "description": "Account dict for the account which posted the status", - "field_type": "Account", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "in_reply_to_id": { - "description": "Numerical id of the toot this toot is in response to", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "in_reply_to_account_id": { - "description": "Numerical id of the account this toot is in response to", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "reblog": { - "description": "Denotes whether the toot is a reblog. If so, set to the original toot dict.", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "content": { - "description": "Content of the toot, as HTML: '

Hello from Python

'", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "created_at": { - "description": "Creation time", - "field_type": "datetime", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "reblogs_count": { - "description": "Number of reblogs", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "favourites_count": { - "description": "Number of favourites", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "reblogged": { - "description": "Denotes whether the logged in user has boosted this toot", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "favourited": { - "description": "Denotes whether the logged in user has favourited this toot", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "sensitive": { - "description": "Denotes whether media attachments to the toot are marked sensitive", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "spoiler_text": { - "description": "Warning text that should be displayed before the toot content", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "visibility": { - "description": "Toot visibility ('public', 'unlisted', 'private', or 'direct')", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "mentions": { - "description": "A list of account dicts mentioned in the toot, as Mention dicts", - "field_type": "list", - "field_subtype": "Account", - "is_optional": false, - "is_nullable": false - }, - "media_attachments": { - "description": "A list of media dicts of attached files", - "field_type": "list", - "field_subtype": "MediaAttachment", - "is_optional": false, - "is_nullable": false - }, - "emojis": { - "description": "A list of custom emojis used in the toot, as Emoji dicts", - "field_type": "list", - "field_subtype": "Emoji", - "is_optional": false, - "is_nullable": false - }, - "tags": { - "description": "A list of hashtag used in the toot, as Hashtag dicts", - "field_type": "list", - "field_subtype": "Hashtag", - "is_optional": false, - "is_nullable": false - }, - "bookmarked": { - "description": "True if the status is bookmarked by the logged in user, False if not.", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "application": { - "description": "Application dict for the client used to post the toot (Does not federate and is therefore always None for remote toots, can also be None for local toots for some legacy applications).", - "field_type": "Application", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "language": { - "description": "The language of the toot, if specified by the server, as ISO 639-1 (two-letter) language code.", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "muted": { - "description": "Boolean denoting whether the user has muted this status by way of conversation muting", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "pinned": { - "description": "Boolean denoting whether or not the status is currently pinned for the associated account.", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "replies_count": { - "description": "The number of replies to this status.", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "card": { - "description": "A preview card for links from the status, if present at time of delivery, as card dict.", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "poll": { - "description": "A poll dict if a poll is attached to this status.", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "edited_at": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "datetime", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "filtered": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "list", - "field_subtype": "StatusFilterAction", - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Status edit", - "python_name": "StatusEdit", - "func_call": "mastodon.status_history()[0]", - "func_call_real": "mastodon.status_history(110446223051565765)[-1]", - "func_call_additional": "mastodon.status_history(110446183735368325)[-1]", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/StatusEdit/", - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "content": { - "description": "Content for this version of the status", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "spoiler_text": { - "description": "CW / Spoiler text for this version of the status", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "sensitive": { - "description": "Whether media in this version of the status is marked as sensitive", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "created_at": { - "description": "Time at which this version of the status was posted", - "field_type": "datetime", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "account": { - "description": "Account dict of the user that posted the status", - "field_type": "Account", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "media_attachments": { - "description": "List of media dicts with the attached media for this version of the status", - "field_type": "list", - "field_subtype": "MediaAttachment", - "is_optional": false, - "is_nullable": false - }, - "emojis": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "list", - "field_subtype": "Emoji", - "is_optional": false, - "is_nullable": false - }, - "poll": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "Poll", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Status filter action", - "python_name": "StatusFilterAction", - "func_call": "mastodon.status().filtered[0]", - "func_call_real": "mastodon.status(110447998920481458).filtered[0]", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/FilterResult/", - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "filter": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "Filter", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "keyword_matches": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "list", - "field_subtype": "str", - "is_optional": false, - "is_nullable": false - }, - "status_matches": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "list", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Mention", - "python_name": "Mention", - "func_call": "mastodon.toot(\"@admin he doing it sideways\").mentions[0]", - "func_call_real": "mastodon.status(110446223051565765).mentions[0]", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "url": { - "description": "Mentioned user's profile URL (potentially remote)", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "username": { - "description": "Mentioned user's user name (not including domain)", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "acct": { - "description": "Mentioned user's account name (including domain)", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "id": { - "description": "Mentioned user's (local) account ID", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Scheduled status / toot", - "python_name": "ScheduledStatus", - "func_call": "mastodon.status_post(\"futureposting\", scheduled_at=the_future)", - "func_call_real": "mastodon.status_post(\"posting in the far future\", scheduled_at=datetime(9999,12,12))", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/ScheduledStatus/", - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "id": { - "description": "Scheduled toot ID (note: Not the id of the toot once it gets posted!)", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "scheduled_at": { - "description": "datetime object describing when the toot is to be posted", - "field_type": "datetime", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "params": { - "description": "Parameters for the scheduled toot, specifically", - "field_type": "ScheduledStatusParams", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "media_attachments": { - "description": "Array of media dicts for the attachments to the scheduled toot", - "field_type": "list", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Scheduled status / toot param", - "python_name": "ScheduledStatusParams", - "func_call": "mastodon.status_post(\"futureposting... 2\", scheduled_at=the_future).params", - "func_call_real": "mastodon.status_post(\"posting in the far future\", scheduled_at=datetime(9999,12,12)).params", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "text": { - "description": "Toot text", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "in_reply_to_id": { - "description": "ID of the toot this one is a reply to", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "media_ids": { - "description": "IDs of media attached to this toot", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "sensitive": { - "description": "Whether this toot is sensitive or not", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "visibility": { - "description": "Visibility of the toot", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "idempotency": { - "description": "Idempotency key for the scheduled toot", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "scheduled_at": { - "description": "Present, but generally \"None\"", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "spoiler_text": { - "description": "CW text for this toot", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "application_id": { - "description": "ID of the application that scheduled the toot", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "poll": { - "description": "Poll parameters, as a poll dict", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "language": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "allowed_mentions": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "with_rate_limit": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Poll", - "python_name": "Poll", - "func_call": "mastodon.poll()", - "func_call_real": "mastodon.status(110446383900387196).poll", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/Poll/", - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "id": { - "description": "The polls ID", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "expires_at": { - "description": "The time at which the poll is set to expire", - "field_type": "datetime", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "expired": { - "description": "Boolean denoting whether you can still vote in this poll", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "multiple": { - "description": "Boolean indicating whether it is allowed to vote for more than one option", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "votes_count": { - "description": "Total number of votes cast in this poll", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "voted": { - "description": "Boolean indicating whether the logged-in user has already voted in this poll", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "options": { - "description": "The poll options as a list of poll option dicts", - "field_type": "list", - "field_subtype": "PollOption", - "is_optional": false, - "is_nullable": false - }, - "emojis": { - "description": "List of emoji dicts for all emoji used in answer strings,", - "field_type": "list", - "field_subtype": "Emoji", - "is_optional": false, - "is_nullable": false - }, - "own_votes": { - "description": "The logged-in users votes, as a list of indices to the options.", - "field_type": "list", - "field_subtype": "int", - "is_optional": false, - "is_nullable": false - }, - "voters_count": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Poll option", - "python_name": "PollOption", - "func_call": "mastodon.poll().options[0]", - "func_call_real": "mastodon.status(110446383900387196).poll.options[0]", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "title": { - "description": "Text of the option", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "votes_count": { - "description": "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.", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Conversation", - "python_name": "Conversation", - "func_call": "mastodon.conversations()[0]", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/Conversation/", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "id": { - "description": "The ID of this conversation object", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "unread": { - "description": "Boolean indicating whether this conversation has yet to be read by the user", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "accounts": { - "description": "List of accounts (other than the logged-in account) that are part of this conversation", - "field_type": "list", - "field_subtype": "Account", - "is_optional": false, - "is_nullable": false - }, - "last_status": { - "description": "The newest status in this conversation", - "field_type": "Status", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Hashtag", - "python_name": "Hashtag", - "func_call": "mastodon.trending_tags()[0]", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/Tag/", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "name": { - "description": "Hashtag name (not including the #)", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "url": { - "description": "Hashtag URL (can be remote)", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "history": { - "description": "List of usage history dicts for up to 7 days. Not present in statuses.", - "field_type": "list", - "field_subtype": "HashtagUsage", - "is_optional": false, - "is_nullable": false - }, - "following": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Hashtag usage history", - "python_name": "HashtagUsage", - "func_call": "mastodon.trending_tags()[0].history[0]", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "day": { - "description": "Date of the day this history dict is for", - "field_type": "datetime", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "uses": { - "description": "Number of statuses using this hashtag on that day", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "accounts": { - "description": "Number of accounts using this hashtag in at least one status on that day", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Emoji", - "python_name": "Emoji", - "func_call": "mastodon.toot(\":sidekiqin:\").emojis[0]", - "func_call_real": "mastodon.status(110446223051565765).emojis[0]", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/CustomEmoji/", - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "shortcode": { - "description": "Emoji shortcode, without surrounding colons", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "url": { - "description": "URL for the emoji image, can be animated", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "static_url": { - "description": "URL for the emoji image, never animated", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "visible_in_picker": { - "description": "True if the emoji is enabled, False if not.", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "category": { - "description": "The category to display the emoji under (not present if none is set)", - "field_type": "NotPresentTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Application", - "python_name": "Application", - "func_call": "mastodon.app_verify_credentials()", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/Application/", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "name": { - "description": "The applications name", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "website": { - "description": "The applications website", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "vapid_key": { - "description": "A vapid key that can be used in web applications", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Relationship", - "python_name": "Relationship", - "func_call": "mastodon.account_relationships()[0]", - "func_call_real": "mastodon.account_relationships(23972)[0]", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/Relationship/", - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "id": { - "description": "Numerical id (same one as )", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "following": { - "description": "Boolean denoting whether the logged-in user follows the specified user", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "followed_by": { - "description": "Boolean denoting whether the specified user follows the logged-in user", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "blocking": { - "description": "Boolean denoting whether the logged-in user has blocked the specified user", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "blocked_by": { - "description": "Boolean denoting whether the logged-in user has been blocked by the specified user, if information is available", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "muting": { - "description": "Boolean denoting whether the logged-in user has muted the specified user", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "muting_notifications": { - "description": "Boolean denoting wheter the logged-in user has muted notifications related to the specified user", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "requested": { - "description": "Boolean denoting whether the logged-in user has sent the specified user a follow request", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "domain_blocking": { - "description": "Boolean denoting whether the logged-in user has blocked the specified users domain", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "showing_reblogs": { - "description": "Boolean denoting whether the specified users reblogs show up on the logged-in users Timeline", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "endorsed": { - "description": "Boolean denoting wheter the specified user is being endorsed / featured by the logged-in user", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "note": { - "description": "A free text note the logged in user has created for this account (not publicly visible)", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "notifying": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "languages": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "requested_by": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Filter", - "python_name": "Filter", - "func_call": "mastodon.filters()[0]", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/V1_Filter/", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "id": { - "description": "Numerical id of the filter", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "phrase": { - "description": "Filtered keyword or phrase", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "context": { - "description": "List of places where the filters are applied. Items can be: ('home', 'notifications', 'public', 'thread')", - "field_type": "list", - "field_subtype": "str", - "is_optional": false, - "is_nullable": false - }, - "expires_at": { - "description": "Expiry date for the filter", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "irreversible": { - "description": "Boolean denoting if this filter is executed server-side or if it should be ran client-side.", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "whole_word": { - "description": "Boolean denoting whether this filter can match partial words", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Notification", - "python_name": "Notification", - "func_call": "mastodon.notifications()[0]", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/Notification/", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "id": { - "description": "id of the notification", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "type": { - "description": "\"mention\", \"reblog\", \"favourite\", \"follow\", \"poll\" or \"follow_request\"", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "created_at": { - "description": "The time the notification was created", - "field_type": "datetime", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "account": { - "description": "Account dict of the user from whom the notification originates", - "field_type": "Account", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "status": { - "description": "In case of \"mention\", the mentioning status In case of reblog / favourite, the reblogged / favourited status", - "field_type": "Status", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Context", - "python_name": "Context", - "func_call": "mastodon.status_context()", - "func_call_real": "mastodon.status_context(110446983926957470)", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/Context/", - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "ancestors": { - "description": "A list of status dicts of statuses that this status is a reply to", - "field_type": "list", - "field_subtype": "Status", - "is_optional": false, - "is_nullable": false - }, - "descendants": { - "description": "A list of status dicts of statuses that are replies to this status", - "field_type": "list", - "field_subtype": "Status", - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "User List", - "python_name": "UserList", - "func_call": "mastodon.lists()[0]", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/List/", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "id": { - "description": "id of the list", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "title": { - "description": "title of the list", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "replies_policy": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Media", - "python_name": "MediaAttachment", - "func_call": "mastodon.media_post(\"image.jpg\", \"image/jpeg\")[\"meta\"]", - "func_call_real": "mastodon.status(110447012773105565).media_attachments[0]", - "func_call_additional": "mastodon.status(110447003454258227).media_attachments[0]", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/MediaAttachment/", - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "id": { - "description": "The ID of the attachment.", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "type": { - "description": "Media type: 'image', 'video', 'gifv', 'audio' or 'unknown'.", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "url": { - "description": "The URL for the image in the local cache", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "remote_url": { - "description": "The remote URL for the media (if the image is from a remote instance)", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "preview_url": { - "description": "The URL for the media preview", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "text_url": { - "description": "The display text for the media (what shows up in text)", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "meta": { - "description": "Dictionary of two metadata dicts (see below), 'original' and 'small' (preview). 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' dict and a media 'colors' dict.", - "field_type": "MediaAttachmentMetadataContainer", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "blurhash": { - "description": "The blurhash for the image, used for preview / placeholder generation", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "description": { - "description": "If set, the user-provided description for this media.", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "preview_remote_url": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Media metadata container", - "func_call_real": "mastodon.status(110447012773105565).media_attachments[0].meta", - "func_call_additional": "mastodon.status(110447003454258227).media_attachments[0].meta", - "python_name": "MediaAttachmentMetadataContainer", - "func_call": "mastodon.media_post(\"audio.mp3\").meta", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "original": { - "description": "Metadata for the original file", - "field_type": "Union[MediaAttachmentImageMetadata, MediaAttachmentVideoMetadata, MediaAttachmentAudioMetadata]", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "small": { - "description": "Metadata for the thumbnail", - "field_type": "MediaAttachmentImageMetadata", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "colors": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "MediaAttachmentColors", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "focus": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "MediaAttachmentFocusPoint", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Media image metadata", - "python_name": "MediaAttachmentImageMetadata", - "func_call": "mastodon.media_post(\"image.jpg\").meta.original", - "func_call_real": "mastodon.status(110447003454258227).media_attachments[0].meta.original", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "width": { - "description": "Width of the image in pixels", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "height": { - "description": "Height of the image in pixels", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "aspect": { - "description": "Aspect ratio of the image as a floating point number", - "field_type": "float", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "size": { - "description": "Textual representation of the image size in pixels, e.g. '800x600'", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Media video and gifv metadata", - "python_name": "MediaAttachmentVideoMetadata", - "func_call": "mastodon.media_post(\"video.mp4\").meta.original", - "func_call_real": "mastodon.status(110447001287656894).media_attachments[0].meta.original", - "func_call_additional": "mastodon.status(110447018236380496).media_attachments[0].meta.original", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "width": { - "description": "Width of the video in pixels", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "height": { - "description": "Height of the video in pixels", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "frame_rate": { - "description": "Exact frame rate of the video in frames per second. Can be an integer fraction (i.e. \"20/7\")", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "duration": { - "description": "Duration of the video in seconds", - "field_type": "float", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "bitrate": { - "description": "Average bit-rate of the video in bytes per second", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Media audio metadata", - "python_name": "MediaAttachmentAudioMetadata", - "func_call": "mastodon.media_post(\"audio.mp3\").meta.original", - "func_call_real": "mastodon.status(110447012773105565).media_attachments[0].meta.original", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "duration": { - "description": "Duration of the audio file in seconds", - "field_type": "float", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "bitrate": { - "description": "Average bit-rate of the audio file in bytes per second", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Media focus point", - "python_name": "MediaAttachmentFocusPoint", - "func_call": "mastodon.media_post(\"image.jpg\").meta.focus", - "func_call_real": "mastodon.status(110447003454258227).media_attachments[0].meta.focus", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "x": { - "description": "Focus point x coordinate (between -1 and 1)", - "field_type": "float", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "y": { - "description": "Focus point x coordinate (between -1 and 1)", - "field_type": "float", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Media colors", - "python_name": "MediaAttachmentColors", - "func_call": "mastodon.media_post(\"image.jpg\").meta.colors", - "func_call_real": "mastodon.status(110447012773105565).media_attachments[0].meta.colors", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "foreground": { - "description": "Estimated foreground colour for the attachment thumbnail, as a html format hex color (#rrggbb)", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "background": { - "description": "Estimated background colour for the attachment thumbnail, as a html format hex color (#rrggbb)", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "accent": { - "description": "Estimated accent colour for the attachment thumbnail", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Card", - "func_call": "mastodon.status_card()", - "func_call_real": "mastodon.status_card(110447098625216345)", - "python_name": "Card", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/PreviewCard/", - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "url": { - "description": "The URL of the card.", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "title": { - "description": "The title of the card.", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "description": { - "description": "Description of the embedded content", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "type": { - "description": "Embed type: 'link', 'photo', 'video', or 'rich'", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "image": { - "description": "(optional) The image associated with the card.", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "author_name": { - "description": "Name of the embedded contents author", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "author_url": { - "description": "URL pointing to the embedded contents author", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "width": { - "description": "Width of the embedded object", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "height": { - "description": "Height of the embedded object", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "html": { - "description": "HTML string of the embed", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "provider_name": { - "description": "Name of the provider from which the embed originates", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "provider_url": { - "description": "URL pointing to the embeds provider", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "blurhash": { - "description": "(optional) Blurhash of the preview image", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "language": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "embed_url": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Search result", - "python_name": "SearchResult", - "func_call": "mastodon.search(\"\")", - "func_call_real": "mastodon.search(\"halcy\")", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/Search/", - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "accounts": { - "description": "List of account dicts resulting from the query", - "field_type": "list", - "field_subtype": "Account", - "is_optional": false, - "is_nullable": false - }, - "hashtags": { - "description": "List of hashtag dicts resulting from the query", - "field_type": "list", - "field_subtype": "Hashtag", - "is_optional": false, - "is_nullable": false - }, - "statuses": { - "description": "List of status dicts resulting from the query", - "field_type": "list", - "field_subtype": "Status", - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Instance", - "python_name": "Instance", - "func_call": "mastodon.instance()", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/V1_Instance/", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "domain": { - "description": "The instances domain name", - "field_type": "NotPresentTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "description": { - "description": "A brief instance description set by the admin", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "short_description": { - "description": "An even briefer instance description", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "email": { - "description": "The admin contact email", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "title": { - "description": "The instance's title", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "uri": { - "description": "The instance's URL", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "version": { - "description": "The instance's Mastodon version", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "urls": { - "description": "Additional URLs dict, presently only 'streaming_api' with the stream websocket address.", - "field_type": "InstanceURLs", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "stats": { - "description": "A dictionary 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).", - "field_type": "InstanceStatistics", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "contact_account": { - "description": "Account dict of the primary contact for the instance", - "field_type": "Account", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "languages": { - "description": "Array of ISO 639-1 (two-letter) language codes the instance has chosen to advertise.", - "field_type": "list", - "field_subtype": "str", - "is_optional": false, - "is_nullable": false - }, - "registrations": { - "description": "Boolean indication whether registrations on this instance are open (True) or not (False)", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "approval_required": { - "description": "True if account approval is required when registering, False if not", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "rules": { - "description": "List of dicts with `id` and `text` fields, one for each server rule set by the admin", - "field_type": "list", - "field_subtype": "InstanceRule", - "is_optional": false, - "is_nullable": false - }, - "thumbnail": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "invites_enabled": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "configuration": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "InstanceConfiguration", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Instance urls", - "python_name": "InstanceURLs", - "func_call": "mastodon.instance().urls", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "streaming_api": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Instance statistics", - "python_name": "InstanceStatistics", - "func_call": "mastodon.instance().stats", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "user_count": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "status_count": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "domain_count": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Instance rule", - "python_name": "InstanceRule", - "func_call": "mastodon.instance().rules[0]", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/Rule/", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "id": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "text": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Instance configuration", - "python_name": "InstanceConfiguration", - "func_call": "mastodon.instance().configuration", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "accounts": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "InstanceAccountConfiguration", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "statuses": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "InstanceStatusConfiguration", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "media_attachments": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "InstanceMediaConfiguration", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "polls": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "InstancePollConfiguration", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Instance account configuration", - "python_name": "InstanceAccountConfiguration", - "func_call": "mastodon.instance().configuration.accounts", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "max_featured_tags": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Instance status configuration", - "python_name": "InstanceStatusConfiguration", - "func_call": "mastodon.instance().configuration.accounts", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "max_featured_tags": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Instance media attachment configuration", - "python_name": "InstanceMediaConfiguration", - "func_call": "mastodon.instance().configuration.media_attachments", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "supported_mime_types": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "list", - "field_subtype": "str", - "is_optional": false, - "is_nullable": false - }, - "image_size_limit": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "image_matrix_limit": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "video_size_limit": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "video_frame_rate_limit": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "video_matrix_limit": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Instance poll configuration", - "python_name": "InstancePollConfiguration", - "func_call": "mastodon.instance().configuration.polls", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "max_options": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "max_characters_per_option": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "min_expiration": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "max_expiration": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Nodeinfo", - "python_name": "Nodeinfo", - "func_call": "mastodon.instance_nodeinfo()", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "version": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "software": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "NodeinfoSoftware", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "protocols": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "list", - "field_subtype": "str", - "is_optional": false, - "is_nullable": false - }, - "services": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "NodeinfoServices", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "usage": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "NodeinfoUsage", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "openRegistrations": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "metadata": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "NodeinfoMetadata", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Nodeinfo software", - "python_name": "NodeinfoSoftware", - "func_call": "mastodon.instance_nodeinfo().software", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "name": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "version": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Nodeinfo services", - "python_name": "NodeinfoServices", - "func_call": "mastodon.instance_nodeinfo().services", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "outbound": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "list", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "inbound": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "list", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Nodeinfo usage", - "python_name": "NodeinfoUsage", - "func_call": "mastodon.instance_nodeinfo().usage", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "users": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "NodeinfoUsageUsers", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "localPosts": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Nodeinfo usage user count", - "python_name": "NodeinfoUsageUsers", - "func_call": "mastodon.instance_nodeinfo().usage.users", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "total": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "activeMonth": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "activeHalfyear": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Nodeinfo metadata", - "python_name": "NodeinfoMetadata", - "func_call": "mastodon.instance_nodeinfo().metadata", - "fields": {} - }, - { - "name": "Activity", - "python_name": "Activity", - "func_call": "mastodon.instance_activity()[0]", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "week": { - "description": "Date of the first day of the week the stats were collected for", - "field_type": "datetime", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "logins": { - "description": "Number of users that logged in that week", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "registrations": { - "description": "Number of new users that week", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "statuses": { - "description": "Number of statuses posted that week", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Report", - "python_name": "Report", - "func_call": "mastodon.admin_reports()[0]", - "func_alternate_acc": true, - "func_call_real": "mastodon.admin_reports()[-1]", - "func_call_additional": "mastodon.admin_reports(resolved=True)[-1]", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/Admin_Report/", - "manual_update": false, - "fields": { - "id": { - "description": "Numerical id of the report", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "action_taken": { - "description": "True if a moderator or admin has processed the report, False otherwise.", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "comment": { - "description": "Text comment submitted with the report", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "created_at": { - "description": "Time at which this report was created, as a datetime object", - "field_type": "datetime", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "updated_at": { - "description": "Last time this report has been updated, as a datetime object", - "field_type": "datetime", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "account": { - "description": "Account dict of the user that filed this report", - "field_type": "Account", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "target_account": { - "description": "Account that has been reported with this report", - "field_type": "Account", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "assigned_account": { - "description": "If the report as been assigned to an account, account dict of that account (None if not)", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "action_taken_by_account": { - "description": "Account dict of the account that processed this report", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "statuses": { - "description": "List of statuses attached to the report, as status dicts", - "field_type": "list", - "field_subtype": "Status", - "is_optional": false, - "is_nullable": false - }, - "action_taken_at": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "category": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "forwarded": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "rules": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "list", - "field_subtype": "InstanceRule", - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Push subscription", - "python_name": "PushSubscription", - "func_call": "mastodon.push_subscription()", - "func_call_real": "mastodon_soc.push_subscription_set(\"http://halcy.de/\",mastodon_soc.push_subscription_generate_keys()[1],follow_events=True)", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/WebPushSubscription/", - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "id": { - "description": "Numerical id of the push subscription", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "endpoint": { - "description": "Endpoint URL for the subscription", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "server_key": { - "description": "Server pubkey used for signature verification", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "alerts": { - "description": "Subscribed events - dict that may contain keys 'follow', 'favourite', 'reblog' and 'mention', with value True if webpushes have been requested for those events.", - "field_type": "PushSubscriptionAlert", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "policy": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Push subscription alert", - "python_name": "PushSubscriptionAlert", - "func_call": "mastodon.push_subscription().alerts", - "func_call_real": "mastodon_soc.push_subscription_set(\"http://halcy.de/\",mastodon_soc.push_subscription_generate_keys()[1],follow_events=True).alerts", - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "follow": { - "description": "True if push subscriptions for follow events have been requested, false or not present otherwise.", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "favourite": { - "description": "True if push subscriptions for favourite events have been requested, false or not present otherwise.", - "field_type": "NotPresentTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "reblog": { - "description": "True if push subscriptions for reblog events have been requested, false or not present otherwise.", - "field_type": "NotPresentTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "mention": { - "description": "True if push subscriptions for mention events have been requested, false or not present otherwise.", - "field_type": "NotPresentTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Push notification", - "python_name": "PushNotification", - "func_call": "mastodon.push_subscription_decrypt_push(...)", - "manual_update": true, - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "fields": { - "access_token": { - "description": "Access token that can be used to access the API as the notified user", - "field_type": "NotPresentTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "body": { - "description": "Text body of the notification", - "field_type": "NotPresentTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "icon": { - "description": "URL to an icon for the notification", - "field_type": "NotPresentTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "notification_id": { - "description": "ID that can be passed to notification() to get the full notification object,", - "field_type": "NotPresentTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "notification_type": { - "description": "'mention', 'reblog', 'follow' or 'favourite'", - "field_type": "NotPresentTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "preferred_locale": { - "description": "The user's preferred locale", - "field_type": "NotPresentTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "title": { - "description": "Title for the notification", - "field_type": "NotPresentTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Preference", - "python_name": "Preferences", - "func_call": "mastodon.preferences()", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/Preferences/", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "posting:default:visibility": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "posting:default:sensitive": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "posting:default:language": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "reading:expand:media": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "reading:expand:spoilers": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "reading:autoplay:gifs": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Featured tag", - "python_name": "FeaturedHashtag", - "func_call": "mastodon.featured_tags()[0]", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/FeaturedTag/", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "id": { - "description": "The featured tags id", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "name": { - "description": "The featured tags name (without leading #)", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "statuses_count": { - "description": "Number of publicly visible statuses posted with this hashtag that this instance knows about", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "last_status_at": { - "description": "The last time a public status containing this hashtag was added to this instance's database (can be None if there are none)", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "url": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Read marker", - "python_name": "ReadMarker", - "func_call": "mastodon.markers_get()[\"home\"]", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/Marker/", - "func_call_real": null, - "func_call_additional": null, - "func_alternate_acc": false, - "manual_update": false, - "fields": { - "last_read_id": { - "description": "ID of the last read object in the timeline", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "version": { - "description": "A counter that is incremented whenever the marker is set to a new status", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "updated_at": { - "description": "The time the marker was last set, as a datetime object", - "field_type": "datetime", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Announcement", - "python_name": "Announcement", - "func_call": "mastodon.announcements()[0]", - "func_alternate_acc": true, - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/Announcement/", - "func_call_real": null, - "func_call_additional": null, - "manual_update": false, - "fields": { - "id": { - "description": "The annoucements id", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "content": { - "description": "The contents of the annoucement, as an html string", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "starts_at": { - "description": "The annoucements start time, as a datetime object. Can be None", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "ends_at": { - "description": "The annoucements end time, as a datetime object. Can be None", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "all_day": { - "description": "Boolean indicating whether the annoucement represents an \"all day\" event", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "published_at": { - "description": "The annoucements publish time, as a datetime object", - "field_type": "datetime", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "updated_at": { - "description": "The annoucements last updated time, as a datetime object", - "field_type": "datetime", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "read": { - "description": "A boolean indicating whether the logged in user has dismissed the annoucement", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "mentions": { - "description": "Users mentioned in the annoucement, as a list of mention dicts", - "field_type": "list", - "field_subtype": "Mention", - "is_optional": false, - "is_nullable": false - }, - "tags": { - "description": "Hashtags mentioned in the announcement, as a list of hashtag dicts", - "field_type": "list", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "emojis": { - "description": "Custom emoji used in the annoucement, as a list of emoji dicts", - "field_type": "list", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "reactions": { - "description": "Reactions to the annoucement, as a list of reaction dicts", - "field_type": "list", - "field_subtype": "AnnouncementReaction", - "is_optional": false, - "is_nullable": false - }, - "statuses": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "list", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Announcement reaction", - "python_name": "AnnouncementReaction", - "func_call": "mastodon.announcements()[0].reactions[0]", - "func_alternate_acc": true, - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/Reaction/", - "func_call_real": null, - "func_call_additional": null, - "manual_update": false, - "fields": { - "name": { - "description": "Name of the custom emoji or unicode emoji of the reaction", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "count": { - "description": "Reaction counter (i.e. number of users who have added this reaction)", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "me": { - "description": "True if the logged-in user has reacted with this emoji, false otherwise", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "url": { - "description": "URL for the custom emoji image", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "static_url": { - "description": "URL for a never-animated version of the custom emoji image", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Familiar follower", - "python_name": "FamiliarFollower", - "func_alternate_acc": true, - "func_call": "mastodon.account_familiar_followers()[0]", - "func_call_real": "mastodon.account_familiar_followers(2)[0]", - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/FamiliarFollowers/", - "func_call_additional": null, - "manual_update": false, - "fields": { - "id": { - "description": "ID of the account for which the familiar followers are being returned", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "accounts": { - "description": "List of account dicts of the familiar followers", - "field_type": "list", - "field_subtype": "Account", - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Admin account", - "python_name": "AdminAccount", - "func_call": "mastodon.admin_account()", - "func_call_real": "mastodon.admin_account(1)", - "func_alternate_acc": true, - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/Admin_Account/", - "func_call_additional": null, - "manual_update": false, - "fields": { - "id": { - "description": "The users id,", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "username": { - "description": "The users username, no leading @", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "domain": { - "description": "The users domain", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "created_at": { - "description": "The time of account creation", - "field_type": "datetime", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "email": { - "description": "For local users, the user's email", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "ip": { - "description": "For local users, the user's last known IP address", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "role": { - "description": "The users role", - "field_type": "Role", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "confirmed": { - "description": "For local users, False if the user has not confirmed their email, True otherwise", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "suspended": { - "description": "Boolean indicating whether the user has been suspended", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "silenced": { - "description": "Boolean indicating whether the user has been suspended", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "disabled": { - "description": "For local users, boolean indicating whether the user has had their login disabled", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "approved": { - "description": "For local users, False if the user is pending, True otherwise", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "locale": { - "description": "For local users, the locale the user has set,", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "invite_request": { - "description": "If the user requested an invite, the invite request comment of that user.", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "invited_by_account_id": { - "description": "Present if the user was invited by another user and set to the inviting users id.", - "field_type": "NotPresentTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "account": { - "description": "The user's account, as a standard account dict", - "field_type": "Account", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "sensitized": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "ips": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "list", - "field_subtype": "AdminAccountIp", - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Admin account IP", - "python_name": "AdminAccountIp", - "func_call": "mastodon.admin_account().ips[0]", - "func_call_real": "mastodon.admin_account(1).ips[0]", - "func_alternate_acc": true, - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/Admin_Ip/", - "func_call_additional": null, - "manual_update": false, - "fields": { - "ip": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "used_at": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Admin measure", - "python_name": "AdminMeasure", - "func_call": "mastodon.admin_measures(datetime.now() - timedelta(hours=24*5), datetime.now(), interactions=True)[0]", - "func_alternate_acc": true, - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/Admin_Measure/", - "func_call_real": null, - "func_call_additional": null, - "manual_update": false, - "fields": { - "key": { - "description": "Name of the measure returned", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "unit": { - "description": "Unit for the measure, if available", - "field_type": "NoneTypeTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "total": { - "description": "Value of the measure returned", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "human_value": { - "description": "Human readable variant of the measure returned", - "field_type": "NotPresentTODO", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "previous_total": { - "description": "TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "data": { - "description": "A list of dicts with the measure broken down by date, as below", - "field_type": "list", - "field_subtype": "AdminMeasureData", - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Admin measure data", - "python_name": "AdminMeasureData", - "func_call": "mastodon.admin_measures(datetime.now() - timedelta(hours=24*5), datetime.now(), active_users=True)[0].data[0]", - "func_alternate_acc": true, - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_real": null, - "func_call_additional": null, - "manual_update": false, - "fields": { - "date": { - "description": "Date for this row", - "field_type": "datetime", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "value": { - "description": "Value of the measure for this row", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Admin dimension", - "python_name": "AdminDimension", - "func_call": "mastodon.admin_dimensions(datetime.now() - timedelta(hours=24*5), datetime.now(), languages=True)[0]", - "func_alternate_acc": true, - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/Admin_Dimension/", - "func_call_real": null, - "func_call_additional": null, - "manual_update": false, - "fields": { - "key": { - "description": "Name of the dimension returned", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "data": { - "description": "A list of data dicts, as below", - "field_type": "list", - "field_subtype": "AdminDimensionData", - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Admin dimension data", - "python_name": "AdminDimensionData", - "func_call": "mastodon.admin_dimensions(datetime.now() - timedelta(hours=24*5), datetime.now(), languages=True)[0].data[0]", - "func_alternate_acc": true, - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_real": null, - "func_call_additional": null, - "manual_update": false, - "fields": { - "key": { - "description": "category for this row", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "human_key": { - "description": "Human readable name for the category for this row, when available", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "value": { - "description": "Numeric value for the category", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Admin retention", - "python_name": "AdminRetention", - "func_call": "mastodon.admin_retention(datetime.now() - timedelta(hours=24*5), datetime.now())[0]", - "func_alternate_acc": true, - "last_changed": "TODO", - "masto_doc_link": "TODO", - "func_call_real": null, - "func_call_additional": null, - "manual_update": false, - "fields": { - "period": { - "description": "Starting time of the period that the data is being returned for", - "field_type": "datetime", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "frequency": { - "description": "Time resolution (day or month) for the returned data", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "data": { - "description": "List of data dicts, as below", - "field_type": "list", - "field_subtype": "AdminRetentionData", - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Admin retention data", - "python_name": "AdminRetentionData", - "func_call": "mastodon.admin_retention(datetime.now() - timedelta(hours=24*5), datetime.now())[0].data[0]", - "func_alternate_acc": true, - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/Admin_Cohort/", - "func_call_real": null, - "func_call_additional": null, - "manual_update": false, - "fields": { - "date": { - "description": "Date for this entry", - "field_type": "datetime", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "rate": { - "description": "Fraction of users retained", - "field_type": "float", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "value": { - "description": "Absolute number of users retained", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - }, - { - "name": "Admin domain block", - "python_name": "AdminDomainBlock", - "func_call": "mastodon_ico_admin.admin_domain_blocks()[0]", - "func_alternate_acc": true, - "last_changed": "TODO", - "masto_doc_link": "https://docs.joinmastodon.org/entities/Admin_DomainBlock/", - "func_call_real": null, - "func_call_additional": null, - "manual_update": false, - "fields": { - "id": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "int", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "domain": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "created_at": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "datetime", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "severity": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "reject_media": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "reject_reports": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "private_comment": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "public_comment": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "str", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - }, - "obfuscate": { - "description": "DESCRIPTION_MISSING_TODO", - "field_type": "bool", - "field_subtype": null, - "is_optional": false, - "is_nullable": false - } - } - } -] +[ + { + "name": "User / account", + "python_name": "Account", + "func_call": "mastodon.account()", + "func_call_real": "mastodon.account(23972)", + "func_call_additional": "mastodon.account_verify_credentials()", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/Account/", + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "id": { + "description": "Same as ", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "username": { + "description": "The username (what you @ them with)", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "acct": { + "description": "The user's account name as username@domain (@domain omitted for local users)", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "display_name": { + "description": "The user's display name", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "discoverable": { + "description": "Indicates whether or not a user is visible on the discovery page", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "group": { + "description": "A boolean indicating whether the account represents a group rather than an individual.", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "locked": { + "description": "Denotes whether the account can be followed without a follow request", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "created_at": { + "description": "Account creation time", + "field_type": "datetime", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "following_count": { + "description": "How many people they follow", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "followers_count": { + "description": "How many followers they have", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "statuses_count": { + "description": "How many statuses they have", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "note": { + "description": "Their bio", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "url": { + "description": "Their URL; for example 'https://mastodon.social/users/'", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "avatar": { + "description": "URL for their avatar, can be animated", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "header": { + "description": "URL for their header image, can be animated", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "avatar_static": { + "description": "URL for their avatar, never animated", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "header_static": { + "description": "URL for their header image, never animated", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "source": { + "description": "Additional information - only present for account dict returned from account_verify_credentials()", + "field_type": "AccountSource", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "moved_to_account": { + "description": "If set, a account dict of the account this user has set up as their moved-to address.", + "field_type": "NotPresentTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "bot": { + "description": "Boolean indicating whether this account is automated.", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "fields": { + "description": "List of up to four account field dicts", + "field_type": "list", + "field_subtype": "AccountField", + "is_optional": false, + "is_nullable": false + }, + "emojis": { + "description": "List of custom emoji used in name, bio or fields", + "field_type": "list", + "field_subtype": "CustomEmoji", + "is_optional": false, + "is_nullable": false + }, + "last_status_at": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "datetime", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "noindex": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "roles": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "list", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "role": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "Role", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Account field", + "python_name": "AccountField", + "func_call": "mastodon.account().fields[0]", + "func_call_real": "mastodon.account(23972).fields[0]", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "name": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "value": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "verified_at": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Account role", + "python_name": "Role", + "func_call": "mastodon.account_verify_credentials().role", + "func_call_real": "mastodon.account_verify_credentials().role", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/Role/", + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "id": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "name": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "permissions": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "color": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "highlighted": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "User / account source", + "python_name": "AccountSource", + "func_call": "mastodon.account_verify_credentials()[\"source\"]", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "privacy": { + "description": "The user's default visibility setting (\"private\", \"unlisted\" or \"public\")", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "sensitive": { + "description": "Denotes whether user media should be marked sensitive by default", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "note": { + "description": "Plain text version of the user's bio", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "language": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "fields": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "list", + "field_subtype": "AccountField", + "is_optional": false, + "is_nullable": false + }, + "follow_requests_count": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Toot / Status", + "python_name": "Status", + "func_call": "mastodon.toot(\"Hello from Python\")", + "func_call_real": "mastodon.status(110446223051565765)", + "func_call_additional": "mastodon.status(110446183735368325)", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/Status/", + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "id": { + "description": "Numerical id of this toot", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "uri": { + "description": "Descriptor for the toot EG 'tag:mastodon.social,2016-11-25:objectId=:objectType=Status'", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "url": { + "description": "URL of the toot", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "account": { + "description": "Account dict for the account which posted the status", + "field_type": "Account", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "in_reply_to_id": { + "description": "Numerical id of the toot this toot is in response to", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "in_reply_to_account_id": { + "description": "Numerical id of the account this toot is in response to", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "reblog": { + "description": "Denotes whether the toot is a reblog. If so, set to the original toot dict.", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "content": { + "description": "Content of the toot, as HTML: '

Hello from Python

'", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "created_at": { + "description": "Creation time", + "field_type": "datetime", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "reblogs_count": { + "description": "Number of reblogs", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "favourites_count": { + "description": "Number of favourites", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "reblogged": { + "description": "Denotes whether the logged in user has boosted this toot", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "favourited": { + "description": "Denotes whether the logged in user has favourited this toot", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "sensitive": { + "description": "Denotes whether media attachments to the toot are marked sensitive", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "spoiler_text": { + "description": "Warning text that should be displayed before the toot content", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "visibility": { + "description": "Toot visibility ('public', 'unlisted', 'private', or 'direct')", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "mentions": { + "description": "A list of account dicts mentioned in the toot, as Mention dicts", + "field_type": "list", + "field_subtype": "Account", + "is_optional": false, + "is_nullable": false + }, + "media_attachments": { + "description": "A list of media dicts of attached files", + "field_type": "list", + "field_subtype": "MediaAttachment", + "is_optional": false, + "is_nullable": false + }, + "emojis": { + "description": "A list of custom emojis used in the toot, as Emoji dicts", + "field_type": "list", + "field_subtype": "CustomEmoji", + "is_optional": false, + "is_nullable": false + }, + "tags": { + "description": "A list of hashtag used in the toot, as Hashtag dicts", + "field_type": "list", + "field_subtype": "Tag", + "is_optional": false, + "is_nullable": false + }, + "bookmarked": { + "description": "True if the status is bookmarked by the logged in user, False if not.", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "application": { + "description": "Application dict for the client used to post the toot (Does not federate and is therefore always None for remote toots, can also be None for local toots for some legacy applications).", + "field_type": "Application", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "language": { + "description": "The language of the toot, if specified by the server, as ISO 639-1 (two-letter) language code.", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "muted": { + "description": "Boolean denoting whether the user has muted this status by way of conversation muting", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "pinned": { + "description": "Boolean denoting whether or not the status is currently pinned for the associated account.", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "replies_count": { + "description": "The number of replies to this status.", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "card": { + "description": "A preview card for links from the status, if present at time of delivery, as card dict.", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "poll": { + "description": "A poll dict if a poll is attached to this status.", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "edited_at": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "datetime", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "filtered": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "list", + "field_subtype": "FilterResult", + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Status edit", + "python_name": "StatusEdit", + "func_call": "mastodon.status_history()[0]", + "func_call_real": "mastodon.status_history(110446223051565765)[-1]", + "func_call_additional": "mastodon.status_history(110446183735368325)[-1]", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/StatusEdit/", + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "content": { + "description": "Content for this version of the status", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "spoiler_text": { + "description": "CW / Spoiler text for this version of the status", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "sensitive": { + "description": "Whether media in this version of the status is marked as sensitive", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "created_at": { + "description": "Time at which this version of the status was posted", + "field_type": "datetime", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "account": { + "description": "Account dict of the user that posted the status", + "field_type": "Account", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "media_attachments": { + "description": "List of media dicts with the attached media for this version of the status", + "field_type": "list", + "field_subtype": "MediaAttachment", + "is_optional": false, + "is_nullable": false + }, + "emojis": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "list", + "field_subtype": "CustomEmoji", + "is_optional": false, + "is_nullable": false + }, + "poll": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "Poll", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Status filter action", + "python_name": "FilterResult", + "func_call": "mastodon.status().filtered[0]", + "func_call_real": "mastodon.status(110447998920481458).filtered[0]", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/FilterResult/", + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "filter": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "V1Filter", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "keyword_matches": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "list", + "field_subtype": "str", + "is_optional": false, + "is_nullable": false + }, + "status_matches": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "list", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Mention", + "python_name": "Mention", + "func_call": "mastodon.toot(\"@admin he doing it sideways\").mentions[0]", + "func_call_real": "mastodon.status(110446223051565765).mentions[0]", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "url": { + "description": "Mentioned user's profile URL (potentially remote)", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "username": { + "description": "Mentioned user's user name (not including domain)", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "acct": { + "description": "Mentioned user's account name (including domain)", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "id": { + "description": "Mentioned user's (local) account ID", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Scheduled status / toot", + "python_name": "ScheduledStatus", + "func_call": "mastodon.status_post(\"futureposting\", scheduled_at=the_future)", + "func_call_real": "mastodon.status_post(\"posting in the far future\", scheduled_at=datetime(9999,12,12))", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/ScheduledStatus/", + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "id": { + "description": "Scheduled toot ID (note: Not the id of the toot once it gets posted!)", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "scheduled_at": { + "description": "datetime object describing when the toot is to be posted", + "field_type": "datetime", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "params": { + "description": "Parameters for the scheduled toot, specifically", + "field_type": "ScheduledStatusParams", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "media_attachments": { + "description": "Array of media dicts for the attachments to the scheduled toot", + "field_type": "list", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Scheduled status / toot param", + "python_name": "ScheduledStatusParams", + "func_call": "mastodon.status_post(\"futureposting... 2\", scheduled_at=the_future).params", + "func_call_real": "mastodon.status_post(\"posting in the far future\", scheduled_at=datetime(9999,12,12)).params", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "text": { + "description": "Toot text", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "in_reply_to_id": { + "description": "ID of the toot this one is a reply to", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "media_ids": { + "description": "IDs of media attached to this toot", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "sensitive": { + "description": "Whether this toot is sensitive or not", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "visibility": { + "description": "Visibility of the toot", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "idempotency": { + "description": "Idempotency key for the scheduled toot", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "scheduled_at": { + "description": "Present, but generally \"None\"", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "spoiler_text": { + "description": "CW text for this toot", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "application_id": { + "description": "ID of the application that scheduled the toot", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "poll": { + "description": "Poll parameters, as a poll dict", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "language": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "allowed_mentions": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "with_rate_limit": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Poll", + "python_name": "Poll", + "func_call": "mastodon.poll()", + "func_call_real": "mastodon.status(110446383900387196).poll", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/Poll/", + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "id": { + "description": "The polls ID", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "expires_at": { + "description": "The time at which the poll is set to expire", + "field_type": "datetime", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "expired": { + "description": "Boolean denoting whether you can still vote in this poll", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "multiple": { + "description": "Boolean indicating whether it is allowed to vote for more than one option", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "votes_count": { + "description": "Total number of votes cast in this poll", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "voted": { + "description": "Boolean indicating whether the logged-in user has already voted in this poll", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "options": { + "description": "The poll options as a list of poll option dicts", + "field_type": "list", + "field_subtype": "PollOption", + "is_optional": false, + "is_nullable": false + }, + "emojis": { + "description": "List of emoji dicts for all emoji used in answer strings,", + "field_type": "list", + "field_subtype": "CustomEmoji", + "is_optional": false, + "is_nullable": false + }, + "own_votes": { + "description": "The logged-in users votes, as a list of indices to the options.", + "field_type": "list", + "field_subtype": "int", + "is_optional": false, + "is_nullable": false + }, + "voters_count": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Poll option", + "python_name": "PollOption", + "func_call": "mastodon.poll().options[0]", + "func_call_real": "mastodon.status(110446383900387196).poll.options[0]", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "title": { + "description": "Text of the option", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "votes_count": { + "description": "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.", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Conversation", + "python_name": "Conversation", + "func_call": "mastodon.conversations()[0]", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/Conversation/", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "id": { + "description": "The ID of this conversation object", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "unread": { + "description": "Boolean indicating whether this conversation has yet to be read by the user", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "accounts": { + "description": "List of accounts (other than the logged-in account) that are part of this conversation", + "field_type": "list", + "field_subtype": "Account", + "is_optional": false, + "is_nullable": false + }, + "last_status": { + "description": "The newest status in this conversation", + "field_type": "Status", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Hashtag", + "python_name": "Tag", + "func_call": "mastodon.trending_tags()[0]", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/Tag/", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "name": { + "description": "Hashtag name (not including the #)", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "url": { + "description": "Hashtag URL (can be remote)", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "history": { + "description": "List of usage history dicts for up to 7 days. Not present in statuses.", + "field_type": "list", + "field_subtype": "HashtagUsage", + "is_optional": false, + "is_nullable": false + }, + "following": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Hashtag usage history", + "python_name": "HashtagUsage", + "func_call": "mastodon.trending_tags()[0].history[0]", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "day": { + "description": "Date of the day this history dict is for", + "field_type": "datetime", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "uses": { + "description": "Number of statuses using this hashtag on that day", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "accounts": { + "description": "Number of accounts using this hashtag in at least one status on that day", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Emoji", + "python_name": "CustomEmoji", + "func_call": "mastodon.toot(\":sidekiqin:\").emojis[0]", + "func_call_real": "mastodon.status(110446223051565765).emojis[0]", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/CustomEmoji/", + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "shortcode": { + "description": "Emoji shortcode, without surrounding colons", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "url": { + "description": "URL for the emoji image, can be animated", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "static_url": { + "description": "URL for the emoji image, never animated", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "visible_in_picker": { + "description": "True if the emoji is enabled, False if not.", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "category": { + "description": "The category to display the emoji under (not present if none is set)", + "field_type": "NotPresentTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Application", + "python_name": "Application", + "func_call": "mastodon.app_verify_credentials()", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/Application/", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "name": { + "description": "The applications name", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "website": { + "description": "The applications website", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "vapid_key": { + "description": "A vapid key that can be used in web applications", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Relationship", + "python_name": "Relationship", + "func_call": "mastodon.account_relationships()[0]", + "func_call_real": "mastodon.account_relationships(23972)[0]", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/Relationship/", + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "id": { + "description": "Numerical id (same one as )", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "following": { + "description": "Boolean denoting whether the logged-in user follows the specified user", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "followed_by": { + "description": "Boolean denoting whether the specified user follows the logged-in user", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "blocking": { + "description": "Boolean denoting whether the logged-in user has blocked the specified user", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "blocked_by": { + "description": "Boolean denoting whether the logged-in user has been blocked by the specified user, if information is available", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "muting": { + "description": "Boolean denoting whether the logged-in user has muted the specified user", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "muting_notifications": { + "description": "Boolean denoting wheter the logged-in user has muted notifications related to the specified user", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "requested": { + "description": "Boolean denoting whether the logged-in user has sent the specified user a follow request", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "domain_blocking": { + "description": "Boolean denoting whether the logged-in user has blocked the specified users domain", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "showing_reblogs": { + "description": "Boolean denoting whether the specified users reblogs show up on the logged-in users Timeline", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "endorsed": { + "description": "Boolean denoting wheter the specified user is being endorsed / featured by the logged-in user", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "note": { + "description": "A free text note the logged in user has created for this account (not publicly visible)", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "notifying": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "languages": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "requested_by": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Filter", + "python_name": "V1Filter", + "func_call": "mastodon.filters()[0]", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/V1_Filter/", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "id": { + "description": "Numerical id of the filter", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "phrase": { + "description": "Filtered keyword or phrase", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "context": { + "description": "List of places where the filters are applied. Items can be: ('home', 'notifications', 'public', 'thread')", + "field_type": "list", + "field_subtype": "str", + "is_optional": false, + "is_nullable": false + }, + "expires_at": { + "description": "Expiry date for the filter", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "irreversible": { + "description": "Boolean denoting if this filter is executed server-side or if it should be ran client-side.", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "whole_word": { + "description": "Boolean denoting whether this filter can match partial words", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Notification", + "python_name": "Notification", + "func_call": "mastodon.notifications()[0]", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/Notification/", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "id": { + "description": "id of the notification", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "type": { + "description": "\"mention\", \"reblog\", \"favourite\", \"follow\", \"poll\" or \"follow_request\"", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "created_at": { + "description": "The time the notification was created", + "field_type": "datetime", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "account": { + "description": "Account dict of the user from whom the notification originates", + "field_type": "Account", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "status": { + "description": "In case of \"mention\", the mentioning status In case of reblog / favourite, the reblogged / favourited status", + "field_type": "Status", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Context", + "python_name": "Context", + "func_call": "mastodon.status_context()", + "func_call_real": "mastodon.status_context(110446983926957470)", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/Context/", + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "ancestors": { + "description": "A list of status dicts of statuses that this status is a reply to", + "field_type": "list", + "field_subtype": "Status", + "is_optional": false, + "is_nullable": false + }, + "descendants": { + "description": "A list of status dicts of statuses that are replies to this status", + "field_type": "list", + "field_subtype": "Status", + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "User List", + "python_name": "UserList", + "func_call": "mastodon.lists()[0]", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/List/", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "id": { + "description": "id of the list", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "title": { + "description": "title of the list", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "replies_policy": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Media", + "python_name": "MediaAttachment", + "func_call": "mastodon.media_post(\"image.jpg\", \"image/jpeg\")[\"meta\"]", + "func_call_real": "mastodon.status(110447012773105565).media_attachments[0]", + "func_call_additional": "mastodon.status(110447003454258227).media_attachments[0]", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/MediaAttachment/", + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "id": { + "description": "The ID of the attachment.", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "type": { + "description": "Media type: 'image', 'video', 'gifv', 'audio' or 'unknown'.", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "url": { + "description": "The URL for the image in the local cache", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "remote_url": { + "description": "The remote URL for the media (if the image is from a remote instance)", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "preview_url": { + "description": "The URL for the media preview", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "text_url": { + "description": "The display text for the media (what shows up in text)", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "meta": { + "description": "Dictionary of two metadata dicts (see below), 'original' and 'small' (preview). 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' dict and a media 'colors' dict.", + "field_type": "MediaAttachmentMetadataContainer", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "blurhash": { + "description": "The blurhash for the image, used for preview / placeholder generation", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "description": { + "description": "If set, the user-provided description for this media.", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "preview_remote_url": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Media metadata container", + "func_call_real": "mastodon.status(110447012773105565).media_attachments[0].meta", + "func_call_additional": "mastodon.status(110447003454258227).media_attachments[0].meta", + "python_name": "MediaAttachmentMetadataContainer", + "func_call": "mastodon.media_post(\"audio.mp3\").meta", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "original": { + "description": "Metadata for the original file", + "field_type": "Union[MediaAttachmentImageMetadata, MediaAttachmentVideoMetadata, MediaAttachmentAudioMetadata]", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "small": { + "description": "Metadata for the thumbnail", + "field_type": "MediaAttachmentImageMetadata", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "colors": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "MediaAttachmentColors", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "focus": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "MediaAttachmentFocusPoint", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Media image metadata", + "python_name": "MediaAttachmentImageMetadata", + "func_call": "mastodon.media_post(\"image.jpg\").meta.original", + "func_call_real": "mastodon.status(110447003454258227).media_attachments[0].meta.original", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "width": { + "description": "Width of the image in pixels", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "height": { + "description": "Height of the image in pixels", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "aspect": { + "description": "Aspect ratio of the image as a floating point number", + "field_type": "float", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "size": { + "description": "Textual representation of the image size in pixels, e.g. '800x600'", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Media video and gifv metadata", + "python_name": "MediaAttachmentVideoMetadata", + "func_call": "mastodon.media_post(\"video.mp4\").meta.original", + "func_call_real": "mastodon.status(110447001287656894).media_attachments[0].meta.original", + "func_call_additional": "mastodon.status(110447018236380496).media_attachments[0].meta.original", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "width": { + "description": "Width of the video in pixels", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "height": { + "description": "Height of the video in pixels", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "frame_rate": { + "description": "Exact frame rate of the video in frames per second. Can be an integer fraction (i.e. \"20/7\")", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "duration": { + "description": "Duration of the video in seconds", + "field_type": "float", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "bitrate": { + "description": "Average bit-rate of the video in bytes per second", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Media audio metadata", + "python_name": "MediaAttachmentAudioMetadata", + "func_call": "mastodon.media_post(\"audio.mp3\").meta.original", + "func_call_real": "mastodon.status(110447012773105565).media_attachments[0].meta.original", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "duration": { + "description": "Duration of the audio file in seconds", + "field_type": "float", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "bitrate": { + "description": "Average bit-rate of the audio file in bytes per second", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Media focus point", + "python_name": "MediaAttachmentFocusPoint", + "func_call": "mastodon.media_post(\"image.jpg\").meta.focus", + "func_call_real": "mastodon.status(110447003454258227).media_attachments[0].meta.focus", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "x": { + "description": "Focus point x coordinate (between -1 and 1)", + "field_type": "float", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "y": { + "description": "Focus point x coordinate (between -1 and 1)", + "field_type": "float", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Media colors", + "python_name": "MediaAttachmentColors", + "func_call": "mastodon.media_post(\"image.jpg\").meta.colors", + "func_call_real": "mastodon.status(110447012773105565).media_attachments[0].meta.colors", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "foreground": { + "description": "Estimated foreground colour for the attachment thumbnail, as a html format hex color (#rrggbb)", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "background": { + "description": "Estimated background colour for the attachment thumbnail, as a html format hex color (#rrggbb)", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "accent": { + "description": "Estimated accent colour for the attachment thumbnail", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Card", + "func_call": "mastodon.status_card()", + "func_call_real": "mastodon.status_card(110447098625216345)", + "python_name": "PreviewCard", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/PreviewCard/", + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "url": { + "description": "The URL of the card.", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "title": { + "description": "The title of the card.", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "description": { + "description": "Description of the embedded content", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "type": { + "description": "Embed type: 'link', 'photo', 'video', or 'rich'", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "image": { + "description": "(optional) The image associated with the card.", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "author_name": { + "description": "Name of the embedded contents author", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "author_url": { + "description": "URL pointing to the embedded contents author", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "width": { + "description": "Width of the embedded object", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "height": { + "description": "Height of the embedded object", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "html": { + "description": "HTML string of the embed", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "provider_name": { + "description": "Name of the provider from which the embed originates", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "provider_url": { + "description": "URL pointing to the embeds provider", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "blurhash": { + "description": "(optional) Blurhash of the preview image", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "language": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "embed_url": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Search result", + "python_name": "Search", + "func_call": "mastodon.search(\"\")", + "func_call_real": "mastodon.search(\"halcy\")", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/Search/", + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "accounts": { + "description": "List of account dicts resulting from the query", + "field_type": "list", + "field_subtype": "Account", + "is_optional": false, + "is_nullable": false + }, + "hashtags": { + "description": "List of hashtag dicts resulting from the query", + "field_type": "list", + "field_subtype": "Tag", + "is_optional": false, + "is_nullable": false + }, + "statuses": { + "description": "List of status dicts resulting from the query", + "field_type": "list", + "field_subtype": "Status", + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Instance", + "python_name": "V1Instance", + "func_call": "mastodon.instance()", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/V1_Instance/", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "domain": { + "description": "The instances domain name", + "field_type": "NotPresentTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "description": { + "description": "A brief instance description set by the admin", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "short_description": { + "description": "An even briefer instance description", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "email": { + "description": "The admin contact email", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "title": { + "description": "The instance's title", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "uri": { + "description": "The instance's URL", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "version": { + "description": "The instance's Mastodon version", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "urls": { + "description": "Additional URLs dict, presently only 'streaming_api' with the stream websocket address.", + "field_type": "InstanceURLs", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "stats": { + "description": "A dictionary 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).", + "field_type": "InstanceStatistics", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "contact_account": { + "description": "Account dict of the primary contact for the instance", + "field_type": "Account", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "languages": { + "description": "Array of ISO 639-1 (two-letter) language codes the instance has chosen to advertise.", + "field_type": "list", + "field_subtype": "str", + "is_optional": false, + "is_nullable": false + }, + "registrations": { + "description": "Boolean indication whether registrations on this instance are open (True) or not (False)", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "approval_required": { + "description": "True if account approval is required when registering, False if not", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "rules": { + "description": "List of dicts with `id` and `text` fields, one for each server rule set by the admin", + "field_type": "list", + "field_subtype": "Rule", + "is_optional": false, + "is_nullable": false + }, + "thumbnail": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "invites_enabled": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "configuration": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "InstanceConfiguration", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Instance urls", + "python_name": "InstanceURLs", + "func_call": "mastodon.instance().urls", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "streaming_api": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Instance statistics", + "python_name": "InstanceStatistics", + "func_call": "mastodon.instance().stats", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "user_count": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "status_count": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "domain_count": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Instance rule", + "python_name": "Rule", + "func_call": "mastodon.instance().rules[0]", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/Rule/", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "id": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "text": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Instance configuration", + "python_name": "InstanceConfiguration", + "func_call": "mastodon.instance().configuration", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "accounts": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "InstanceAccountConfiguration", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "statuses": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "InstanceStatusConfiguration", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "media_attachments": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "InstanceMediaConfiguration", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "polls": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "InstancePollConfiguration", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Instance account configuration", + "python_name": "InstanceAccountConfiguration", + "func_call": "mastodon.instance().configuration.accounts", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "max_featured_tags": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Instance status configuration", + "python_name": "InstanceStatusConfiguration", + "func_call": "mastodon.instance().configuration.accounts", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "max_featured_tags": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Instance media attachment configuration", + "python_name": "InstanceMediaConfiguration", + "func_call": "mastodon.instance().configuration.media_attachments", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "supported_mime_types": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "list", + "field_subtype": "str", + "is_optional": false, + "is_nullable": false + }, + "image_size_limit": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "image_matrix_limit": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "video_size_limit": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "video_frame_rate_limit": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "video_matrix_limit": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Instance poll configuration", + "python_name": "InstancePollConfiguration", + "func_call": "mastodon.instance().configuration.polls", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "max_options": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "max_characters_per_option": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "min_expiration": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "max_expiration": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Nodeinfo", + "python_name": "Nodeinfo", + "func_call": "mastodon.instance_nodeinfo()", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "version": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "software": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "NodeinfoSoftware", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "protocols": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "list", + "field_subtype": "str", + "is_optional": false, + "is_nullable": false + }, + "services": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "NodeinfoServices", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "usage": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "NodeinfoUsage", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "openRegistrations": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "metadata": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "NodeinfoMetadata", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Nodeinfo software", + "python_name": "NodeinfoSoftware", + "func_call": "mastodon.instance_nodeinfo().software", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "name": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "version": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Nodeinfo services", + "python_name": "NodeinfoServices", + "func_call": "mastodon.instance_nodeinfo().services", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "outbound": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "list", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "inbound": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "list", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Nodeinfo usage", + "python_name": "NodeinfoUsage", + "func_call": "mastodon.instance_nodeinfo().usage", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "users": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "NodeinfoUsageUsers", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "localPosts": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Nodeinfo usage user count", + "python_name": "NodeinfoUsageUsers", + "func_call": "mastodon.instance_nodeinfo().usage.users", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "total": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "activeMonth": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "activeHalfyear": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Nodeinfo metadata", + "python_name": "NodeinfoMetadata", + "masto_doc_link": "TODO", + "func_call": "mastodon.instance_nodeinfo().metadata", + "fields": {} + }, + { + "name": "Activity", + "python_name": "Activity", + "func_call": "mastodon.instance_activity()[0]", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "week": { + "description": "Date of the first day of the week the stats were collected for", + "field_type": "datetime", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "logins": { + "description": "Number of users that logged in that week", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "registrations": { + "description": "Number of new users that week", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "statuses": { + "description": "Number of statuses posted that week", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Report", + "python_name": "AdminReport", + "func_call": "mastodon.admin_reports()[0]", + "func_alternate_acc": true, + "func_call_real": "mastodon.admin_reports()[-1]", + "func_call_additional": "mastodon.admin_reports(resolved=True)[-1]", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/Admin_Report/", + "manual_update": false, + "fields": { + "id": { + "description": "Numerical id of the report", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "action_taken": { + "description": "True if a moderator or admin has processed the report, False otherwise.", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "comment": { + "description": "Text comment submitted with the report", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "created_at": { + "description": "Time at which this report was created, as a datetime object", + "field_type": "datetime", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "updated_at": { + "description": "Last time this report has been updated, as a datetime object", + "field_type": "datetime", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "account": { + "description": "Account dict of the user that filed this report", + "field_type": "Account", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "target_account": { + "description": "Account that has been reported with this report", + "field_type": "Account", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "assigned_account": { + "description": "If the report as been assigned to an account, account dict of that account (None if not)", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "action_taken_by_account": { + "description": "Account dict of the account that processed this report", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "statuses": { + "description": "List of statuses attached to the report, as status dicts", + "field_type": "list", + "field_subtype": "Status", + "is_optional": false, + "is_nullable": false + }, + "action_taken_at": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "category": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "forwarded": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "rules": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "list", + "field_subtype": "Rule", + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Push subscription", + "python_name": "WebPushSubscription", + "func_call": "mastodon.push_subscription()", + "func_call_real": "mastodon_soc.push_subscription_set(\"http://halcy.de/\",mastodon_soc.push_subscription_generate_keys()[1],follow_events=True)", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/WebPushSubscription/", + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "id": { + "description": "Numerical id of the push subscription", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "endpoint": { + "description": "Endpoint URL for the subscription", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "server_key": { + "description": "Server pubkey used for signature verification", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "alerts": { + "description": "Subscribed events - dict that may contain keys 'follow', 'favourite', 'reblog' and 'mention', with value True if webpushes have been requested for those events.", + "field_type": "PushSubscriptionAlert", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "policy": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Push subscription alert", + "python_name": "PushSubscriptionAlert", + "func_call": "mastodon.push_subscription().alerts", + "func_call_real": "mastodon_soc.push_subscription_set(\"http://halcy.de/\",mastodon_soc.push_subscription_generate_keys()[1],follow_events=True).alerts", + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "follow": { + "description": "True if push subscriptions for follow events have been requested, false or not present otherwise.", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "favourite": { + "description": "True if push subscriptions for favourite events have been requested, false or not present otherwise.", + "field_type": "NotPresentTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "reblog": { + "description": "True if push subscriptions for reblog events have been requested, false or not present otherwise.", + "field_type": "NotPresentTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "mention": { + "description": "True if push subscriptions for mention events have been requested, false or not present otherwise.", + "field_type": "NotPresentTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Push notification", + "python_name": "PushNotification", + "func_call": "mastodon.push_subscription_decrypt_push(...)", + "manual_update": true, + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "fields": { + "access_token": { + "description": "Access token that can be used to access the API as the notified user", + "field_type": "NotPresentTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "body": { + "description": "Text body of the notification", + "field_type": "NotPresentTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "icon": { + "description": "URL to an icon for the notification", + "field_type": "NotPresentTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "notification_id": { + "description": "ID that can be passed to notification() to get the full notification object,", + "field_type": "NotPresentTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "notification_type": { + "description": "'mention', 'reblog', 'follow' or 'favourite'", + "field_type": "NotPresentTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "preferred_locale": { + "description": "The user's preferred locale", + "field_type": "NotPresentTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "title": { + "description": "Title for the notification", + "field_type": "NotPresentTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Preference", + "python_name": "Preferences", + "func_call": "mastodon.preferences()", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/Preferences/", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "posting:default:visibility": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "posting:default:sensitive": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "posting:default:language": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "reading:expand:media": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "reading:expand:spoilers": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "reading:autoplay:gifs": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Featured tag", + "python_name": "FeaturedTag", + "func_call": "mastodon.featured_tags()[0]", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/FeaturedTag/", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "id": { + "description": "The featured tags id", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "name": { + "description": "The featured tags name (without leading #)", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "statuses_count": { + "description": "Number of publicly visible statuses posted with this hashtag that this instance knows about", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "last_status_at": { + "description": "The last time a public status containing this hashtag was added to this instance's database (can be None if there are none)", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "url": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Read marker", + "python_name": "Marker", + "func_call": "mastodon.markers_get()[\"home\"]", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/Marker/", + "func_call_real": null, + "func_call_additional": null, + "func_alternate_acc": false, + "manual_update": false, + "fields": { + "last_read_id": { + "description": "ID of the last read object in the timeline", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "version": { + "description": "A counter that is incremented whenever the marker is set to a new status", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "updated_at": { + "description": "The time the marker was last set, as a datetime object", + "field_type": "datetime", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Announcement", + "python_name": "Announcement", + "func_call": "mastodon.announcements()[0]", + "func_alternate_acc": true, + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/Announcement/", + "func_call_real": null, + "func_call_additional": null, + "manual_update": false, + "fields": { + "id": { + "description": "The annoucements id", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "content": { + "description": "The contents of the annoucement, as an html string", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "starts_at": { + "description": "The annoucements start time, as a datetime object. Can be None", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "ends_at": { + "description": "The annoucements end time, as a datetime object. Can be None", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "all_day": { + "description": "Boolean indicating whether the annoucement represents an \"all day\" event", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "published_at": { + "description": "The annoucements publish time, as a datetime object", + "field_type": "datetime", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "updated_at": { + "description": "The annoucements last updated time, as a datetime object", + "field_type": "datetime", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "read": { + "description": "A boolean indicating whether the logged in user has dismissed the annoucement", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "mentions": { + "description": "Users mentioned in the annoucement, as a list of mention dicts", + "field_type": "list", + "field_subtype": "Mention", + "is_optional": false, + "is_nullable": false + }, + "tags": { + "description": "Hashtags mentioned in the announcement, as a list of hashtag dicts", + "field_type": "list", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "emojis": { + "description": "Custom emoji used in the annoucement, as a list of emoji dicts", + "field_type": "list", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "reactions": { + "description": "Reactions to the annoucement, as a list of reaction dicts", + "field_type": "list", + "field_subtype": "Reaction", + "is_optional": false, + "is_nullable": false + }, + "statuses": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "list", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Announcement reaction", + "python_name": "Reaction", + "func_call": "mastodon.announcements()[0].reactions[0]", + "func_alternate_acc": true, + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/Reaction/", + "func_call_real": null, + "func_call_additional": null, + "manual_update": false, + "fields": { + "name": { + "description": "Name of the custom emoji or unicode emoji of the reaction", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "count": { + "description": "Reaction counter (i.e. number of users who have added this reaction)", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "me": { + "description": "True if the logged-in user has reacted with this emoji, false otherwise", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "url": { + "description": "URL for the custom emoji image", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "static_url": { + "description": "URL for a never-animated version of the custom emoji image", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Familiar follower", + "python_name": "FamiliarFollowers", + "func_alternate_acc": true, + "func_call": "mastodon.account_familiar_followers()[0]", + "func_call_real": "mastodon.account_familiar_followers(2)[0]", + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/FamiliarFollowers/", + "func_call_additional": null, + "manual_update": false, + "fields": { + "id": { + "description": "ID of the account for which the familiar followers are being returned", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "accounts": { + "description": "List of account dicts of the familiar followers", + "field_type": "list", + "field_subtype": "Account", + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Admin account", + "python_name": "AdminAccount", + "func_call": "mastodon.admin_account()", + "func_call_real": "mastodon.admin_account(1)", + "func_alternate_acc": true, + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/Admin_Account/", + "func_call_additional": null, + "manual_update": false, + "fields": { + "id": { + "description": "The users id,", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "username": { + "description": "The users username, no leading @", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "domain": { + "description": "The users domain", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "created_at": { + "description": "The time of account creation", + "field_type": "datetime", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "email": { + "description": "For local users, the user's email", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "ip": { + "description": "For local users, the user's last known IP address", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "role": { + "description": "The users role", + "field_type": "Role", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "confirmed": { + "description": "For local users, False if the user has not confirmed their email, True otherwise", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "suspended": { + "description": "Boolean indicating whether the user has been suspended", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "silenced": { + "description": "Boolean indicating whether the user has been suspended", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "disabled": { + "description": "For local users, boolean indicating whether the user has had their login disabled", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "approved": { + "description": "For local users, False if the user is pending, True otherwise", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "locale": { + "description": "For local users, the locale the user has set,", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "invite_request": { + "description": "If the user requested an invite, the invite request comment of that user.", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "invited_by_account_id": { + "description": "Present if the user was invited by another user and set to the inviting users id.", + "field_type": "NotPresentTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "account": { + "description": "The user's account, as a standard account dict", + "field_type": "Account", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "sensitized": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "ips": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "list", + "field_subtype": "AdminIp", + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Admin account IP", + "python_name": "AdminIp", + "func_call": "mastodon.admin_account().ips[0]", + "func_call_real": "mastodon.admin_account(1).ips[0]", + "func_alternate_acc": true, + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/Admin_Ip/", + "func_call_additional": null, + "manual_update": false, + "fields": { + "ip": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "used_at": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Admin measure", + "python_name": "AdminMeasure", + "func_call": "mastodon.admin_measures(datetime.now() - timedelta(hours=24*5), datetime.now(), interactions=True)[0]", + "func_alternate_acc": true, + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/Admin_Measure/", + "func_call_real": null, + "func_call_additional": null, + "manual_update": false, + "fields": { + "key": { + "description": "Name of the measure returned", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "unit": { + "description": "Unit for the measure, if available", + "field_type": "NoneTypeTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "total": { + "description": "Value of the measure returned", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "human_value": { + "description": "Human readable variant of the measure returned", + "field_type": "NotPresentTODO", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "previous_total": { + "description": "TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "data": { + "description": "A list of dicts with the measure broken down by date, as below", + "field_type": "list", + "field_subtype": "AdminMeasureData", + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Admin measure data", + "python_name": "AdminMeasureData", + "func_call": "mastodon.admin_measures(datetime.now() - timedelta(hours=24*5), datetime.now(), active_users=True)[0].data[0]", + "func_alternate_acc": true, + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_real": null, + "func_call_additional": null, + "manual_update": false, + "fields": { + "date": { + "description": "Date for this row", + "field_type": "datetime", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "value": { + "description": "Value of the measure for this row", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Admin dimension", + "python_name": "AdminDimension", + "func_call": "mastodon.admin_dimensions(datetime.now() - timedelta(hours=24*5), datetime.now(), languages=True)[0]", + "func_alternate_acc": true, + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/Admin_Dimension/", + "func_call_real": null, + "func_call_additional": null, + "manual_update": false, + "fields": { + "key": { + "description": "Name of the dimension returned", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "data": { + "description": "A list of data dicts, as below", + "field_type": "list", + "field_subtype": "AdminDimensionData", + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Admin dimension data", + "python_name": "AdminDimensionData", + "func_call": "mastodon.admin_dimensions(datetime.now() - timedelta(hours=24*5), datetime.now(), languages=True)[0].data[0]", + "func_alternate_acc": true, + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_real": null, + "func_call_additional": null, + "manual_update": false, + "fields": { + "key": { + "description": "category for this row", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "human_key": { + "description": "Human readable name for the category for this row, when available", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "value": { + "description": "Numeric value for the category", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Admin retention", + "python_name": "AdminRetention", + "func_call": "mastodon.admin_retention(datetime.now() - timedelta(hours=24*5), datetime.now())[0]", + "func_alternate_acc": true, + "last_changed": "TODO", + "masto_doc_link": "TODO", + "func_call_real": null, + "func_call_additional": null, + "manual_update": false, + "fields": { + "period": { + "description": "Starting time of the period that the data is being returned for", + "field_type": "datetime", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "frequency": { + "description": "Time resolution (day or month) for the returned data", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "data": { + "description": "List of data dicts, as below", + "field_type": "list", + "field_subtype": "AdminCohort", + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Admin retention data", + "python_name": "AdminCohort", + "func_call": "mastodon.admin_retention(datetime.now() - timedelta(hours=24*5), datetime.now())[0].data[0]", + "func_alternate_acc": true, + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/Admin_Cohort/", + "func_call_real": null, + "func_call_additional": null, + "manual_update": false, + "fields": { + "date": { + "description": "Date for this entry", + "field_type": "datetime", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "rate": { + "description": "Fraction of users retained", + "field_type": "float", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "value": { + "description": "Absolute number of users retained", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + }, + { + "name": "Admin domain block", + "python_name": "AdminDomainBlock", + "func_call": "mastodon_ico_admin.admin_domain_blocks()[0]", + "func_alternate_acc": true, + "last_changed": "TODO", + "masto_doc_link": "https://docs.joinmastodon.org/entities/Admin_DomainBlock/", + "func_call_real": null, + "func_call_additional": null, + "manual_update": false, + "fields": { + "id": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "int", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "domain": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "created_at": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "datetime", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "severity": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "reject_media": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "reject_reports": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "private_comment": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "public_comment": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "str", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + }, + "obfuscate": { + "description": "DESCRIPTION_MISSING_TODO", + "field_type": "bool", + "field_subtype": null, + "is_optional": false, + "is_nullable": false + } + } + } +] \ No newline at end of file