diff options
author | Erin Congden <[email protected]> | 2017-04-02 20:53:32 -0700 |
---|---|---|
committer | Erin Congden <[email protected]> | 2017-04-02 21:53:25 -0700 |
commit | ca0b6c115bcb8f6b79b22f5ccd648a2d6b7d7fc5 (patch) | |
tree | 73230e27007bd901d639ae8be1a98ed14206727c /docs | |
parent | 38ebcda76bc0c264f8384f55c5b32bf049b2d6be (diff) | |
download | mastodon.py-ca0b6c115bcb8f6b79b22f5ccd648a2d6b7d7fc5.tar.gz |
Added follow requests support
Diffstat (limited to 'docs')
-rw-r--r-- | docs/index.rst | 16 |
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 | ||
104 | Toot dicts | 105 | Toot 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 | ||
145 | Notification dicts | 147 | Notification dicts |
@@ -254,6 +256,13 @@ by the authenticated user. | |||
254 | 256 | ||
255 | .. authomethod:: Mastodon.favourites | 257 | .. authomethod:: Mastodon.favourites |
256 | 258 | ||
259 | Reading data: Follow requests | ||
260 | ----------------------------- | ||
261 | This function allows you to get a list of pending incoming follow | ||
262 | requests for the authenticated user. | ||
263 | |||
264 | .. automethod:: Mastodon.follow_requests | ||
265 | |||
257 | Writing data: Statuses | 266 | Writing data: Statuses |
258 | ---------------------- | 267 | ---------------------- |
259 | These functions allow you to post statuses to Mastodon and to | 268 | These 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 | ||
291 | Writing data: Follow requests | ||
292 | ----------------------------- | ||
293 | These functions allow you to accept or reject incoming follow requests. | ||
294 | |||
295 | .. automethod:: Mastodon.follow_request_authorize | ||
296 | .. automethod:: Mastodon.follow_request_reject | ||
297 | |||
282 | Writing data: Media | 298 | Writing data: Media |
283 | ------------------- | 299 | ------------------- |
284 | This function allows you to upload media to Mastodon. The returned | 300 | This function allows you to upload media to Mastodon. The returned |