View Source ActivityPubClient.Search (ActivityPubClient v0.1.0)

https://docs.joinmastodon.org/methods/search/

Link to this section Summary

Functions

Search for accounts, hashtags or statuses. Implemented by Mastodon and Pleroma. Expect a %ActivityPubClient.Client{} struct, the query and a keyword list of optional options. Options can be

Link to this section Functions

Link to this function

search(client, query, opts \\ [])

View Source

Search for accounts, hashtags or statuses. Implemented by Mastodon and Pleroma. Expect a %ActivityPubClient.Client{} struct, the query and a keyword list of optional options. Options can be:

  • account_id: If provided, statuses returned will be authored only by this account
  • max_id: Return results older than this id
  • min_id: Return results immediately newer than this id
  • type: Enum(accounts, hashtags, statuses)
  • exclude_unreviewed: Filter out unreviewed tags? Defaults to false. Use true when trying to find trending tags
  • resolve: Attempt WebFinger lookup. Defaults to false
  • limit: Maximum number of results to load, per type. Defaults to 20. Max 40
  • offset: Offset in search results. Used for pagination. Defaults to 0
  • following: Only include accounts that the user is following. Defaults to false