aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/index.rst5
-rw-r--r--mastodon/Mastodon.py2
2 files changed, 5 insertions, 2 deletions
diff --git a/docs/index.rst b/docs/index.rst
index 98fcd83..b3a1596 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -250,6 +250,9 @@ User dicts
250 'username': # The username (what you @ them with) 250 'username': # The username (what you @ them with)
251 'acct': # The user's account name as username@domain (@domain omitted for local users) 251 'acct': # The user's account name as username@domain (@domain omitted for local users)
252 'display_name': # The user's display name 252 'display_name': # The user's display name
253 'discoverable': # True if the user is listed in the user directory, false if not. None
254 # for remote users.
255 'group': # A surprise attribute that will help us later.
253 'locked': # Denotes whether the account can be followed without a follow request 256 'locked': # Denotes whether the account can be followed without a follow request
254 'created_at': # Account creation time 257 'created_at': # Account creation time
255 'following_count': # How many people they follow 258 'following_count': # How many people they follow
@@ -510,7 +513,7 @@ Notification dicts
510 # Returns the following dictionary: 513 # Returns the following dictionary:
511 { 514 {
512 'id': # id of the notification 515 'id': # id of the notification
513 'type': # "mention", "reblog", "favourite" or "follow" 516 'type': # "mention", "reblog", "favourite", "follow", "poll" or "follow_request"
514 'created_at': # The time the notification was created 517 'created_at': # The time the notification was created
515 'account': # User dict of the user from whom the notification originates 518 'account': # User dict of the user from whom the notification originates
516 'status': # In case of "mention", the mentioning status 519 'status': # In case of "mention", the mentioning status
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index 04a30c7..dca6d67 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -189,7 +189,7 @@ class Mastodon:
189 __DICT_VERSION_APPLICATION = "2.7.2" 189 __DICT_VERSION_APPLICATION = "2.7.2"
190 __DICT_VERSION_MENTION = "1.0.0" 190 __DICT_VERSION_MENTION = "1.0.0"
191 __DICT_VERSION_MEDIA = "2.8.2" 191 __DICT_VERSION_MEDIA = "2.8.2"
192 __DICT_VERSION_ACCOUNT = "2.4.0" 192 __DICT_VERSION_ACCOUNT = "3.1.0"
193 __DICT_VERSION_POLL = "2.8.0" 193 __DICT_VERSION_POLL = "2.8.0"
194 __DICT_VERSION_STATUS = bigger_version(bigger_version(bigger_version(bigger_version(bigger_version("2.9.1", 194 __DICT_VERSION_STATUS = bigger_version(bigger_version(bigger_version(bigger_version(bigger_version("2.9.1",
195 __DICT_VERSION_MEDIA), __DICT_VERSION_ACCOUNT), __DICT_VERSION_APPLICATION), __DICT_VERSION_MENTION), __DICT_VERSION_POLL) 195 __DICT_VERSION_MEDIA), __DICT_VERSION_ACCOUNT), __DICT_VERSION_APPLICATION), __DICT_VERSION_MENTION), __DICT_VERSION_POLL)
Powered by cgit v1.2.3 (git 2.41.0)