aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/index.rst18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/index.rst b/docs/index.rst
index 8b47fad..3d52b08 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -671,6 +671,7 @@ Instance dicts
671 mastodon.instance() 671 mastodon.instance()
672 # Returns the following dictionary 672 # Returns the following dictionary
673 { 673 {
674 'domain': # The instances domain name
674 'description': # A brief instance description set by the admin 675 'description': # A brief instance description set by the admin
675 'short_description': # An even briefer instance description 676 'short_description': # An even briefer instance description
676 'email': # The admin contact email 677 'email': # The admin contact email
@@ -875,6 +876,19 @@ Admin account dicts
875 'account': # The user's account, as a standard user dict 876 'account': # The user's account, as a standard user dict
876 } 877 }
877 878
879Status edit dicts
880~~~~~~~~~~~~~~~~~
881.. _status edit dict:
882
883.. code-block:: python
884
885 mastodonstatus_history(id)[0]
886 # Returns the following dictionary
887 {
888 TODO
889 }
890
891
878App registration and user authentication 892App registration and user authentication
879---------------------------------------- 893----------------------------------------
880Before you can use the Mastodon API, you have to register your 894Before you can use the Mastodon API, you have to register your
@@ -966,6 +980,8 @@ These functions allow you to get information about single statuses.
966.. automethod:: Mastodon.status_reblogged_by 980.. automethod:: Mastodon.status_reblogged_by
967.. automethod:: Mastodon.status_favourited_by 981.. automethod:: Mastodon.status_favourited_by
968.. automethod:: Mastodon.status_card 982.. automethod:: Mastodon.status_card
983.. automethod:: Mastodon.status_history
984.. automethod:: Mastodon.status_source
969 985
970Reading data: Scheduled statuses 986Reading data: Scheduled statuses
971~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 987~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -1141,6 +1157,8 @@ interact with already posted statuses.
1141.. automethod:: Mastodon.status_bookmark 1157.. automethod:: Mastodon.status_bookmark
1142.. automethod:: Mastodon.status_unbookmark 1158.. automethod:: Mastodon.status_unbookmark
1143.. automethod:: Mastodon.status_delete 1159.. automethod:: Mastodon.status_delete
1160.. automethod:: Mastodon.status_update
1161
1144 1162
1145Writing data: Scheduled statuses 1163Writing data: Scheduled statuses
1146~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1164~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Powered by cgit v1.2.3 (git 2.41.0)