From efcd01a3ed8468178f36e8658029ad7863c3f59a Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sat, 27 Apr 2019 23:39:17 +0200 Subject: Update instance dict docs and version --- docs/index.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs') diff --git a/docs/index.rst b/docs/index.rst index 952db50..561af0b 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -312,6 +312,8 @@ Toot dicts 'pinned': # Boolean denoting whether or not the status is currently pinned for the # associated account. 'replies_count': # The number of replies to this status. + 'card': # A preview card for links from the status, if present at time of delivery, + # as card dict. } Mention dicts @@ -565,9 +567,14 @@ Instance dicts 'version': # The instances mastodon version 'urls': # Additional URLs dict, presently only 'streaming_api' with the # stream websocket address. + 'stats: # 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). 'contact_account': # Account dict of the primary contact for the instance. 'languages': # Array of ISO 639-1 (two-letter) language codes the instance # has chosen to advertise. + 'registrations': # Boolean indication whether registrations on this instance are open + # (True) or not (False). } Activity dicts -- cgit v1.2.3