From 7331f7774ae10d927e086318338989de6bc37cad Mon Sep 17 00:00:00 2001 From: halcy Date: Sat, 26 Nov 2022 01:00:44 +0200 Subject: Add admin domain block tests, change some things about the admin domain blocks --- docs/index.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs') 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 Admin domain block dicts ~~~~~~~~~~~~~~~~~~~~~~~~ -.. _domain dicts +.. _admin domain block dict: .. code-block::python + mastodon.domain_blocks(id=1) #Returns the following dictionary: { @@ -1466,7 +1467,7 @@ have admin: scopes attached with a lot of care, but be extra careful with those .. automethod:: Mastodon.admin_trending_statuses .. automethod:: Mastodon.admin_trending_links .. automethod:: Mastodon.admin_domain_blocks -.. automethod:: Mastodon.admin_domain_block +.. automethod:: Mastodon.admin_create_domain_block .. automethod:: Mastodon.admin_update_domain_block .. automethod:: Mastodon.admin_delete_domain_block -- cgit v1.2.3