diff options
author | Lorenz Diener <[email protected]> | 2019-04-27 21:45:57 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-04-27 21:45:57 +0200 |
commit | 4deeb7875ba1439f3162d90e108cf41fce22f6de (patch) | |
tree | 510f9ac3c761b0b24d7b56167026fae2d89f6c63 | |
parent | e3936649745a627fa2c31fc7b8602793b7d6027b (diff) | |
download | mastodon.py-4deeb7875ba1439f3162d90e108cf41fce22f6de.tar.gz |
Document 2.5.0 entity updates
-rw-r--r-- | docs/index.rst | 3 | ||||
-rw-r--r-- | 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 | |||
308 | # way of conversation muting | 308 | # way of conversation muting |
309 | 'pinned': # Boolean denoting whether or not the status is currently pinned for the | 309 | 'pinned': # Boolean denoting whether or not the status is currently pinned for the |
310 | # associated account. | 310 | # associated account. |
311 | 'replies_count': # The number of replies to this status. | ||
311 | } | 312 | } |
312 | 313 | ||
313 | Mention dicts | 314 | Mention dicts |
@@ -393,6 +394,8 @@ Relationship dicts | |||
393 | # specified users domain | 394 | # specified users domain |
394 | 'showing_reblogs': # Boolean denoting whether the specified users reblogs show up on the | 395 | 'showing_reblogs': # Boolean denoting whether the specified users reblogs show up on the |
395 | # logged-in users Timeline | 396 | # logged-in users Timeline |
397 | 'endorsed': # Boolean denoting wheter the specified user is being endorsed / featured by the | ||
398 | # logged-in user | ||
396 | } | 399 | } |
397 | 400 | ||
398 | Filter dicts | 401 | 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: | |||
162 | __DICT_VERSION_MENTION = "1.0.0" | 162 | __DICT_VERSION_MENTION = "1.0.0" |
163 | __DICT_VERSION_MEDIA = "2.3.0" | 163 | __DICT_VERSION_MEDIA = "2.3.0" |
164 | __DICT_VERSION_ACCOUNT = "2.4.0" | 164 | __DICT_VERSION_ACCOUNT = "2.4.0" |
165 | __DICT_VERSION_STATUS = bigger_version(bigger_version(bigger_version(bigger_version("2.1.0", | 165 | __DICT_VERSION_STATUS = bigger_version(bigger_version(bigger_version(bigger_version("2.5.0", |
166 | __DICT_VERSION_MEDIA), __DICT_VERSION_ACCOUNT), __DICT_VERSION_APPLICATION), __DICT_VERSION_MENTION) | 166 | __DICT_VERSION_MEDIA), __DICT_VERSION_ACCOUNT), __DICT_VERSION_APPLICATION), __DICT_VERSION_MENTION) |
167 | __DICT_VERSION_INSTANCE = bigger_version("2.3.0", __DICT_VERSION_ACCOUNT) | 167 | __DICT_VERSION_INSTANCE = bigger_version("2.3.0", __DICT_VERSION_ACCOUNT) |
168 | __DICT_VERSION_HASHTAG = "2.3.4" | 168 | __DICT_VERSION_HASHTAG = "2.3.4" |
169 | __DICT_VERSION_EMOJI = "2.1.0" | 169 | __DICT_VERSION_EMOJI = "2.1.0" |
170 | __DICT_VERSION_RELATIONSHIP = "2.4.3" | 170 | __DICT_VERSION_RELATIONSHIP = "2.5.0" |
171 | __DICT_VERSION_NOTIFICATION = bigger_version(bigger_version("1.0.0", __DICT_VERSION_ACCOUNT), __DICT_VERSION_STATUS) | 171 | __DICT_VERSION_NOTIFICATION = bigger_version(bigger_version("1.0.0", __DICT_VERSION_ACCOUNT), __DICT_VERSION_STATUS) |
172 | __DICT_VERSION_CONTEXT = bigger_version("1.0.0", __DICT_VERSION_STATUS) | 172 | __DICT_VERSION_CONTEXT = bigger_version("1.0.0", __DICT_VERSION_STATUS) |
173 | __DICT_VERSION_LIST = "2.1.0" | 173 | __DICT_VERSION_LIST = "2.1.0" |