From 4deeb7875ba1439f3162d90e108cf41fce22f6de Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sat, 27 Apr 2019 21:45:57 +0200 Subject: Document 2.5.0 entity updates --- docs/index.rst | 3 +++ mastodon/Mastodon.py | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index aca0b8b..7561b6f 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -308,6 +308,7 @@ Toot dicts # way of conversation muting 'pinned': # Boolean denoting whether or not the status is currently pinned for the # associated account. + 'replies_count': # The number of replies to this status. } Mention dicts @@ -393,6 +394,8 @@ Relationship dicts # specified users domain 'showing_reblogs': # Boolean denoting whether the specified users reblogs show up on the # logged-in users Timeline + 'endorsed': # Boolean denoting wheter the specified user is being endorsed / featured by the + # logged-in user } Filter dicts diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index a99ead0..d272a33 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -162,12 +162,12 @@ class Mastodon: __DICT_VERSION_MENTION = "1.0.0" __DICT_VERSION_MEDIA = "2.3.0" __DICT_VERSION_ACCOUNT = "2.4.0" - __DICT_VERSION_STATUS = bigger_version(bigger_version(bigger_version(bigger_version("2.1.0", + __DICT_VERSION_STATUS = bigger_version(bigger_version(bigger_version(bigger_version("2.5.0", __DICT_VERSION_MEDIA), __DICT_VERSION_ACCOUNT), __DICT_VERSION_APPLICATION), __DICT_VERSION_MENTION) __DICT_VERSION_INSTANCE = bigger_version("2.3.0", __DICT_VERSION_ACCOUNT) __DICT_VERSION_HASHTAG = "2.3.4" __DICT_VERSION_EMOJI = "2.1.0" - __DICT_VERSION_RELATIONSHIP = "2.4.3" + __DICT_VERSION_RELATIONSHIP = "2.5.0" __DICT_VERSION_NOTIFICATION = bigger_version(bigger_version("1.0.0", __DICT_VERSION_ACCOUNT), __DICT_VERSION_STATUS) __DICT_VERSION_CONTEXT = bigger_version("1.0.0", __DICT_VERSION_STATUS) __DICT_VERSION_LIST = "2.1.0" -- cgit v1.2.3