aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2017-12-13 22:33:29 +0100
committerLorenz Diener <[email protected]>2017-12-13 22:33:29 +0100
commitafaab2b8743a11f2a8567873df8ae6ed7873ebb5 (patch)
tree7081e22d39df24bcf9ae8cacef76c75dd939d64d /docs
parent0b5c0ae5ccb61a42ed19ee9c5b46de65979b9060 (diff)
downloadmastodon.py-afaab2b8743a11f2a8567873df8ae6ed7873ebb5.tar.gz
Document list endpoints
Diffstat (limited to 'docs')
-rw-r--r--docs/index.rst22
1 files changed, 21 insertions, 1 deletions
diff --git a/docs/index.rst b/docs/index.rst
index 9496da6..4dd6403 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -512,6 +512,14 @@ their relationships.
512.. automethod:: Mastodon.account_relationships 512.. automethod:: Mastodon.account_relationships
513.. automethod:: Mastodon.account_search 513.. automethod:: Mastodon.account_search
514 514
515Reading data: Lists
516-------------------
517These functions allow you to view information about lists.
518
519.. automethod:: Mastodon.lists
520.. automethod:: Mastodon.list
521.. automethod:: Mastodon.list_accounts
522
515Reading data: Follows 523Reading data: Follows
516--------------------- 524---------------------
517 525
@@ -532,7 +540,6 @@ Reading data: Searching
532 540
533.. automethod:: Mastodon.search 541.. automethod:: Mastodon.search
534 542
535
536Reading data: Mutes and blocks 543Reading data: Mutes and blocks
537------------------------------ 544------------------------------
538These functions allow you to get information about accounts that are 545These functions allow you to get information about accounts that are
@@ -593,6 +600,19 @@ These functions allow you to interact with other accounts: To (un)follow and
593.. automethod:: Mastodon.account_unmute 600.. automethod:: Mastodon.account_unmute
594.. automethod:: Mastodon.account_update_credentials 601.. automethod:: Mastodon.account_update_credentials
595 602
603Writing data: Lists
604-------------------
605These functions allow you to create, maintain and delete lists.
606
607When creating lists, note that (As of Mastodon 2.1.0), a user can only
608have a maximum of 50 lists.
609
610.. automethod:: Mastodon.list_create
611.. automethod:: Mastodon.list_update
612.. automethod:: Mastodon.list_delete
613.. automethod:: Mastodon.list_accounts_add
614.. automethod:: Mastodon.list_accounts_delete
615
596Writing data: Follow requests 616Writing data: Follow requests
597----------------------------- 617-----------------------------
598These functions allow you to accept or reject incoming follow requests. 618These functions allow you to accept or reject incoming follow requests.
Powered by cgit v1.2.3 (git 2.41.0)