Update entity documentation
This commit is contained in:
pare
00b2ea0046
commit
95aee9349a
S'han modificat 2 arxius amb 5 adicions i 2 eliminacions
|
@ -250,6 +250,9 @@ User dicts
|
|||
'username': # The username (what you @ them with)
|
||||
'acct': # The user's account name as username@domain (@domain omitted for local users)
|
||||
'display_name': # The user's display name
|
||||
'discoverable': # True if the user is listed in the user directory, false if not. None
|
||||
# for remote users.
|
||||
'group': # A surprise attribute that will help us later.
|
||||
'locked': # Denotes whether the account can be followed without a follow request
|
||||
'created_at': # Account creation time
|
||||
'following_count': # How many people they follow
|
||||
|
@ -510,7 +513,7 @@ Notification dicts
|
|||
# Returns the following dictionary:
|
||||
{
|
||||
'id': # id of the notification
|
||||
'type': # "mention", "reblog", "favourite" or "follow"
|
||||
'type': # "mention", "reblog", "favourite", "follow", "poll" or "follow_request"
|
||||
'created_at': # The time the notification was created
|
||||
'account': # User dict of the user from whom the notification originates
|
||||
'status': # In case of "mention", the mentioning status
|
||||
|
|
|
@ -189,7 +189,7 @@ class Mastodon:
|
|||
__DICT_VERSION_APPLICATION = "2.7.2"
|
||||
__DICT_VERSION_MENTION = "1.0.0"
|
||||
__DICT_VERSION_MEDIA = "2.8.2"
|
||||
__DICT_VERSION_ACCOUNT = "2.4.0"
|
||||
__DICT_VERSION_ACCOUNT = "3.1.0"
|
||||
__DICT_VERSION_POLL = "2.8.0"
|
||||
__DICT_VERSION_STATUS = bigger_version(bigger_version(bigger_version(bigger_version(bigger_version("2.9.1",
|
||||
__DICT_VERSION_MEDIA), __DICT_VERSION_ACCOUNT), __DICT_VERSION_APPLICATION), __DICT_VERSION_MENTION), __DICT_VERSION_POLL)
|
||||
|
|
Loading…
Referencia en una nova incidència