diff options
author | Lorenz Diener <[email protected]> | 2020-02-22 16:43:16 +0100 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2020-02-22 16:43:16 +0100 |
commit | 05e2bcb967946211320d47140ab42a9600b8aff2 (patch) | |
tree | 5ee841fc26c40954df9b4cd8acb94c9954faa07f /mastodon | |
parent | e2b9855ce9f8a1d305fe4e5c10c724c5ea1119cc (diff) | |
download | mastodon.py-05e2bcb967946211320d47140ab42a9600b8aff2.tar.gz |
Add bookmark scopes and entity/versioning info
Diffstat (limited to 'mastodon')
-rw-r--r-- | mastodon/Mastodon.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index c25c4db..d919be9 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -148,7 +148,8 @@ class Mastodon: | |||
148 | 'read:mutes', | 148 | 'read:mutes', |
149 | 'read:notifications', | 149 | 'read:notifications', |
150 | 'read:search', | 150 | 'read:search', |
151 | 'read:statuses' | 151 | 'read:statuses', |
152 | 'read:bookmarks' | ||
152 | ], | 153 | ], |
153 | 'write': [ | 154 | 'write': [ |
154 | 'write:accounts', | 155 | 'write:accounts', |
@@ -162,6 +163,7 @@ class Mastodon: | |||
162 | 'write:notifications', | 163 | 'write:notifications', |
163 | 'write:reports', | 164 | 'write:reports', |
164 | 'write:statuses', | 165 | 'write:statuses', |
166 | 'write:bookmarks' | ||
165 | ], | 167 | ], |
166 | 'follow': [ | 168 | 'follow': [ |
167 | 'read:blocks', | 169 | 'read:blocks', |
@@ -191,7 +193,7 @@ class Mastodon: | |||
191 | __DICT_VERSION_MEDIA = "2.8.2" | 193 | __DICT_VERSION_MEDIA = "2.8.2" |
192 | __DICT_VERSION_ACCOUNT = "3.1.0" | 194 | __DICT_VERSION_ACCOUNT = "3.1.0" |
193 | __DICT_VERSION_POLL = "2.8.0" | 195 | __DICT_VERSION_POLL = "2.8.0" |
194 | __DICT_VERSION_STATUS = bigger_version(bigger_version(bigger_version(bigger_version(bigger_version("2.9.1", | 196 | __DICT_VERSION_STATUS = bigger_version(bigger_version(bigger_version(bigger_version(bigger_version("3.1.0", |
195 | __DICT_VERSION_MEDIA), __DICT_VERSION_ACCOUNT), __DICT_VERSION_APPLICATION), __DICT_VERSION_MENTION), __DICT_VERSION_POLL) | 197 | __DICT_VERSION_MEDIA), __DICT_VERSION_ACCOUNT), __DICT_VERSION_APPLICATION), __DICT_VERSION_MENTION), __DICT_VERSION_POLL) |
196 | __DICT_VERSION_INSTANCE = bigger_version("2.9.2", __DICT_VERSION_ACCOUNT) | 198 | __DICT_VERSION_INSTANCE = bigger_version("2.9.2", __DICT_VERSION_ACCOUNT) |
197 | __DICT_VERSION_HASHTAG = "2.3.4" | 199 | __DICT_VERSION_HASHTAG = "2.3.4" |