Method: Mastodon::REST::Statuses#statuses

Defined in:
lib/mastodon/rest/statuses.rb

#statuses(account_id, options = {}) ⇒ Mastodon::Collection<Mastodon::Status>

Get a list of statuses by a user

Parameters:

  • account_id (Integer)
  • options (Hash) (defaults to: {})

Options Hash (options):

  • :max_id (Integer)
  • :since_id (Integer)
  • :min_id (Integer)
  • :limit (Integer)
  • :only_media (Boolean)
  • :pinned (Boolean)
  • :exclude_replies (Boolean)
  • :exclude_reblogs (Boolean)

Returns:

[View source]

119
120
121
# File 'lib/mastodon/rest/statuses.rb', line 119

def statuses(, options = {})
  perform_request_with_collection(:get, "/api/v1/accounts/#{}/statuses", options, Mastodon::Status)
end