Ex.Pnut v0.1.0 ExPnut.User.Interactions View Source

Users may see some common actions that have been made against their self, posts, polls, etcetera. Events from multiple users are grouped into the most recent event of the same type and object, within a short time.

E.g., if two users repost the same post of yours within a day, they may be included in a single event. But further apart, they would be included as separate events.

Objects by action

ActionObjects
bookmark, reply, repostPost
followUser
poll_responsePoll

The poll included from a poll_response action is static and abbreviated like that included embedded in io.pnut.core.poll raw. If the poll is anonymous, users will not be included.

https://pnut.io/docs/api/resources/users/interactions

Link to this section Summary

Functions

Retrieve all actions executed against the authenticated user and their content.

Retrieve actions executed against the authenticated user and their content.

Link to this section Functions

Link to this function

get_interactions(client, user_params \\ %UserParams{}) View Source

Retrieve all actions executed against the authenticated user and their content.

Link to this function

get_queried_interactions(client, interaction_params, user_params \\ %UserParams{}) View Source

Retrieve actions executed against the authenticated user and their content.

Query parameters

NameDescription
filtersComma-separated list of actions to filter by. ?filters=bookmark will only include bookmarks. Allowed: bookmark, repost, reply, follow, poll_response.
excludeComma-separated list of actions to exclude. ?exclude=bookmark will return all actions except bookmarks. If filters is also specified, this is ignored.