aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/index.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/index.rst b/docs/index.rst
index 9dc37e5..8be642a 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -99,6 +99,7 @@ User dicts
99 'header': URL for their header image 99 'header': URL for their header image
100 'id': Same as <numerical id> 100 'id': Same as <numerical id>
101 'username': The username (what you @ them with) 101 'username': The username (what you @ them with)
102 'locked': Denotes whether the account can be followed without a follow request
102 } 103 }
103 104
104Toot dicts 105Toot dicts
@@ -140,6 +141,7 @@ Relationship dicts
140 'id': Numerical id (same one as <numerical id>) 141 'id': Numerical id (same one as <numerical id>)
141 'blocking': Boolean denoting whether you are blocking them 142 'blocking': Boolean denoting whether you are blocking them
142 'muting': Boolean denoting whether you are muting them 143 'muting': Boolean denoting whether you are muting them
144 'requested': Boolean denoting whether you have sent them a follow request
143 } 145 }
144 146
145Notification dicts 147Notification dicts
@@ -254,6 +256,13 @@ by the authenticated user.
254 256
255.. authomethod:: Mastodon.favourites 257.. authomethod:: Mastodon.favourites
256 258
259Reading data: Follow requests
260-----------------------------
261This function allows you to get a list of pending incoming follow
262requests for the authenticated user.
263
264.. automethod:: Mastodon.follow_requests
265
257Writing data: Statuses 266Writing data: Statuses
258---------------------- 267----------------------
259These functions allow you to post statuses to Mastodon and to 268These functions allow you to post statuses to Mastodon and to
@@ -279,6 +288,13 @@ These functions allow you to interact with other accounts: To (un)follow and
279.. automethod:: Mastodon.account_mute 288.. automethod:: Mastodon.account_mute
280.. automethod:: Mastodon.account_unmute 289.. automethod:: Mastodon.account_unmute
281 290
291Writing data: Follow requests
292-----------------------------
293These functions allow you to accept or reject incoming follow requests.
294
295.. automethod:: Mastodon.follow_request_authorize
296.. automethod:: Mastodon.follow_request_reject
297
282Writing data: Media 298Writing data: Media
283------------------- 299-------------------
284This function allows you to upload media to Mastodon. The returned 300This function allows you to upload media to Mastodon. The returned
Powered by cgit v1.2.3 (git 2.41.0)