diff options
author | halcy <halcy@ARARAGI-KUN> | 2022-11-26 01:00:44 +0200 |
---|---|---|
committer | halcy <halcy@ARARAGI-KUN> | 2022-11-26 01:00:44 +0200 |
commit | 7331f7774ae10d927e086318338989de6bc37cad (patch) | |
tree | 6444e7070e1f8e7fa1abdaae771c76bde8896892 /docs | |
parent | 0c731e968b652de7e90312b744277b33788d6ddd (diff) | |
download | mastodon.py-7331f7774ae10d927e086318338989de6bc37cad.tar.gz |
Add admin domain block tests, change some things about the admin domain blocks
Diffstat (limited to 'docs')
-rw-r--r-- | docs/index.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/index.rst b/docs/index.rst index bb6e5b1..95ae0aa 100644 --- a/docs/index.rst +++ b/docs/index.rst | |||
@@ -884,9 +884,10 @@ Admin account dicts | |||
884 | 884 | ||
885 | Admin domain block dicts | 885 | Admin domain block dicts |
886 | ~~~~~~~~~~~~~~~~~~~~~~~~ | 886 | ~~~~~~~~~~~~~~~~~~~~~~~~ |
887 | .. _domain dicts | 887 | .. _admin domain block dict: |
888 | 888 | ||
889 | .. code-block::python | 889 | .. code-block::python |
890 | |||
890 | mastodon.domain_blocks(id=1) | 891 | mastodon.domain_blocks(id=1) |
891 | #Returns the following dictionary: | 892 | #Returns the following dictionary: |
892 | { | 893 | { |
@@ -1466,7 +1467,7 @@ have admin: scopes attached with a lot of care, but be extra careful with those | |||
1466 | .. automethod:: Mastodon.admin_trending_statuses | 1467 | .. automethod:: Mastodon.admin_trending_statuses |
1467 | .. automethod:: Mastodon.admin_trending_links | 1468 | .. automethod:: Mastodon.admin_trending_links |
1468 | .. automethod:: Mastodon.admin_domain_blocks | 1469 | .. automethod:: Mastodon.admin_domain_blocks |
1469 | .. automethod:: Mastodon.admin_domain_block | 1470 | .. automethod:: Mastodon.admin_create_domain_block |
1470 | .. automethod:: Mastodon.admin_update_domain_block | 1471 | .. automethod:: Mastodon.admin_update_domain_block |
1471 | .. automethod:: Mastodon.admin_delete_domain_block | 1472 | .. automethod:: Mastodon.admin_delete_domain_block |
1472 | 1473 | ||