diff options
author | Lorenz Diener <[email protected]> | 2019-06-22 21:07:52 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-06-22 21:07:52 +0200 |
commit | 5f425d378634da269c76d1646d39f09fd17c2b92 (patch) | |
tree | 3c3b62edcf7dd6ff924cded437188b86d4502efb /docs | |
parent | 09012b690f9fb5fe96802b7cb48829376e78ea99 (diff) | |
download | mastodon.py-5f425d378634da269c76d1646d39f09fd17c2b92.tar.gz |
Document 2.9.2 instance dict changes
Diffstat (limited to 'docs')
-rw-r--r-- | docs/index.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/index.rst b/docs/index.rst index 75773ce..30dbb00 100644 --- a/docs/index.rst +++ b/docs/index.rst | |||
@@ -634,6 +634,7 @@ Instance dicts | |||
634 | # Returns the following dictionary | 634 | # Returns the following dictionary |
635 | { | 635 | { |
636 | 'description': # A brief instance description set by the admin | 636 | 'description': # A brief instance description set by the admin |
637 | 'short_description': # An even briefer instance description | ||
637 | 'email': # The admin contact e-mail | 638 | 'email': # The admin contact e-mail |
638 | 'title': # The instances title | 639 | 'title': # The instances title |
639 | 'uri': # The instances URL | 640 | 'uri': # The instances URL |
@@ -643,11 +644,12 @@ Instance dicts | |||
643 | 'stats: # A dictionary containing three stats, user_count (number of local users), | 644 | 'stats: # A dictionary containing three stats, user_count (number of local users), |
644 | # status_count (number of local statuses) and domain_count (number of known | 645 | # status_count (number of local statuses) and domain_count (number of known |
645 | # instance domains other than this one). | 646 | # instance domains other than this one). |
646 | 'contact_account': # Account dict of the primary contact for the instance. | 647 | 'contact_account': # Account dict of the primary contact for the instance |
647 | 'languages': # Array of ISO 639-1 (two-letter) language codes the instance | 648 | 'languages': # Array of ISO 639-1 (two-letter) language codes the instance |
648 | # has chosen to advertise. | 649 | # has chosen to advertise. |
649 | 'registrations': # Boolean indication whether registrations on this instance are open | 650 | 'registrations': # Boolean indication whether registrations on this instance are open |
650 | # (True) or not (False). | 651 | # (True) or not (False) |
652 | 'approval_required': # True if account approval is required when registering | ||
651 | } | 653 | } |
652 | 654 | ||
653 | Activity dicts | 655 | Activity dicts |