Ex.Pnut v0.1.0 ExPnut.Posts.Report View Source

These are the current reasons that will be honored for reporting:

  • "account_type": posting in a behavior counter to the purposes of account types
  • "nsfw": unflagged mature material according to the community guidelines
  • "soliciting": unwelcome soliciting
  • "user_abuse": use of the API or network to abuse another user

Endpoints:

  • Report a post

https://pnut.io/docs/api/resources/posts/report

Link to this section Summary

Link to this section Functions

Link to this function

report(client, post_id, reason, post_params \\ %PostParams{}) View Source

Report a post for abuse.

Parameters

  • post_id: ID of the post to report.
  • reason: One of: "account_type", "nsfw", "soliciting", "user_abuse".