diff options
author | Lorenz Diener <[email protected]> | 2017-06-15 23:13:34 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2017-06-15 23:13:34 +0200 |
commit | aa3e678c7b8306f1922a2b6de1198b3e677b8d01 (patch) | |
tree | 18d1a0f58d94b13434c9b3df7a7bf051845e4243 /docs | |
parent | b57b66ebb5dc83b2b1f7c8624d31e605eb6e6c43 (diff) | |
download | mastodon.py-aa3e678c7b8306f1922a2b6de1198b3e677b8d01.tar.gz |
Domain blocking + documentation
Diffstat (limited to 'docs')
-rw-r--r-- | docs/index.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/index.rst b/docs/index.rst index 90cc8e2..c59940d 100644 --- a/docs/index.rst +++ b/docs/index.rst | |||
@@ -343,6 +343,11 @@ Reading data: Reports | |||
343 | 343 | ||
344 | .. automethod:: Mastodon.reports | 344 | .. automethod:: Mastodon.reports |
345 | 345 | ||
346 | Reading data: Domain blocks | ||
347 | --------------------------- | ||
348 | |||
349 | .. automethod:: Mastodon.domain_blocks | ||
350 | |||
346 | Writing data: Statuses | 351 | Writing data: Statuses |
347 | ---------------------- | 352 | ---------------------- |
348 | These functions allow you to post statuses to Mastodon and to | 353 | These functions allow you to post statuses to Mastodon and to |
@@ -390,6 +395,14 @@ Writing data: Reports | |||
390 | 395 | ||
391 | .. automethod:: Mastodon.report | 396 | .. automethod:: Mastodon.report |
392 | 397 | ||
398 | Writing data: Domain blocks | ||
399 | --------------------------- | ||
400 | These methods allow you to block and unblock all statuses from a domain | ||
401 | for the logged-in user. | ||
402 | |||
403 | .. automethod:: Mastodon.domain_block | ||
404 | .. automethod:: Mastodon.domain_unblock | ||
405 | |||
393 | Streaming | 406 | Streaming |
394 | --------- | 407 | --------- |
395 | These functions allow access to the streaming API. | 408 | These functions allow access to the streaming API. |