From 95aee9349a0cc5a14a8bfbdfc4c38c197e18845a Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sun, 16 Feb 2020 16:53:35 +0100 Subject: Update entity documentation --- docs/index.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docs') 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 '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 -- cgit v1.2.3