Skip to content

Latest commit

 

History

History
84 lines (66 loc) · 2.42 KB

05_statuses.rst

File metadata and controls

84 lines (66 loc) · 2.42 KB

Statuses, media and polls

Statuses

These functions allow you to get information about single statuses and to post and update them, as well as to favourite, bookmark, mute reblog ("boost") and to undo all of those. For status pinning, check out TODO and TODO on the accounts page.

Reading

Mastodon.status

Mastodon.status_context

Mastodon.status_reblogged_by

Mastodon.status_favourited_by

Mastodon.status_card

Mastodon.status_history

Mastodon.status_source

Mastodon.favourites

Mastodon.bookmarks

Writing

Mastodon.status_reply

Mastodon.toot

Mastodon.status_reblog

Mastodon.status_unreblog

Mastodon.status_favourite

Mastodon.status_unfavourite

Mastodon.status_mute

Mastodon.status_unmute

Mastodon.status_bookmark

Mastodon.status_unbookmark

Mastodon.status_delete

Scheduled statuses

These functions allow you to get information about scheduled statuses and to update scheduled statuses that already exist. To create new scheduled statuses, use status_post() <status_post()> with the scheduled_at parameter.

Reading

Mastodon.scheduled_statuses

Mastodon.scheduled_status

Writing

Mastodon.scheduled_status_update

Mastodon.scheduled_status_delete

Media

This function allows you to upload media to Mastodon and update media uploads. The returned media IDs (Up to 4 at the same time on a default configuration Mastodon instance) can then be used with post_status to attach media to statuses.

Mastodon.media_update

Polls

This function allows you to get and refresh information about polls as well as to vote in polls

Reading

Mastodon.poll

Writing

Mastodon.poll_vote