Skip to content

Data storage of Flags, Hides, Blocks #386

Discussion options

You must be logged in to vote

Latest full example of the data

Index (Moderator decisions) format

{
  "index": {
    "moderate": [ "{\"key\":\"MODERATION_ACCOUNT\", \"value\": {\"path\":\"reportedaccount.near/post/main\",\"blockHeight\":100780071, \"label\":\"spam\", \"expiration\":\"2025-12-31 00:00:00Z\"}}"
  }
}

User's self moderation format and compacted version of index format.

{ 
  "moderate": {
    "reportedaccount.near": "csam",      # hide and report
    "reportedaccount2.near": "report",   # hide and generically report
    "myexpartner.near": "block",         # block, no report
    "justhide.near": "hide",             # hide no report
    "annoyingreplyer.near": {
      ".post.comment": "hide",            # …

Replies: 4 comments 7 replies

Comment options

You must be logged in to vote
2 replies
@gabehamilton
Comment options

gabehamilton Sep 12, 2023
Maintainer Author

@tidus974
Comment options

Comment options

You must be logged in to vote
2 replies
@gabehamilton
Comment options

gabehamilton Sep 28, 2023
Maintainer Author

@charleslavon
Comment options

Comment options

You must be logged in to vote
2 replies
@charleslavon
Comment options

@gabehamilton
Comment options

gabehamilton Oct 5, 2023
Maintainer Author

Comment options

You must be logged in to vote
1 reply
@gabehamilton
Comment options

gabehamilton Oct 27, 2023
Maintainer Author

Answer selected by gabehamilton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants