aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2020-02-16 16:53:35 +0100
committerLorenz Diener <[email protected]>2020-02-16 16:53:35 +0100
commit95aee9349a0cc5a14a8bfbdfc4c38c197e18845a (patch)
treea98872c769d9532843db21cd73d0bdc81d0083a3 /docs
parent00b2ea0046f934c3d7c3862bd8b45472d037bdb9 (diff)
downloadmastodon.py-95aee9349a0cc5a14a8bfbdfc4c38c197e18845a.tar.gz
Update entity documentation
Diffstat (limited to 'docs')
-rw-r--r--docs/index.rst5
1 files changed, 4 insertions, 1 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
Powered by cgit v1.2.3 (git 2.41.0)