app.userinput.ban

userinput.app

Documentation

Bans a user from a space (their content is hidden and they cannot post). Only honored when authored by the space owner or a moderator. Lives in the moderator's repo.

main record

Bans a user from a space (their content is hidden and they cannot post). Only honored when authored by the space owner or a moderator. Lives in the moderator's repo.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

subject string did Required

The DID being banned from the space.

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "space",
      "subject",
      "createdAt"
    ],
    "properties": {
      "space": {
        "ref": "com.atproto.repo.strongRef",
        "type": "ref",
        "description": "The space this ban applies to. Indexed by constellation at space.uri."
      },
      "subject": {
        "type": "string",
        "format": "did",
        "description": "The DID being banned from the space."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      }
    }
  },
  "description": "Bans a user from a space (their content is hidden and they cannot post). Only honored when authored by the space owner or a moderator. Lives in the moderator's repo."
}

Lexicon Garden

@