pub.chive.admin.listWarnings

chive.pub

{
  "id": "pub.chive.admin.listWarnings",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "AdminRequired"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "warnings",
            "total"
          ],
          "properties": {
            "total": {
              "type": "integer",
              "description": "Total warnings"
            },
            "warnings": {
              "type": "array",
              "items": {
                "ref": "#warning",
                "type": "ref"
              },
              "description": "Warning records"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "did": {
            "type": "string",
            "format": "did",
            "description": "Filter by user DID"
          },
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "description": "Maximum number of warnings"
          }
        }
      },
      "description": "List user warnings"
    },
    "warning": {
      "type": "object",
      "required": [
        "id",
        "did",
        "reason",
        "issuedBy",
        "createdAt"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "Warning ID"
        },
        "did": {
          "type": "string",
          "format": "did",
          "description": "Warned user DID"
        },
        "handle": {
          "type": "string",
          "description": "Warned user handle"
        },
        "reason": {
          "type": "string",
          "description": "Reason for the warning"
        },
        "issuedBy": {
          "type": "string",
          "format": "did",
          "description": "Admin DID who issued the warning"
        },
        "createdAt": {
          "type": "string",
          "format": "datetime",
          "description": "When the warning was issued"
        },
        "expiresAt": {
          "type": "string",
          "format": "datetime",
          "description": "Warning expiry timestamp"
        }
      },
      "description": "User warning record"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against pub.chive.admin.listWarnings

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:7natp5xae72bddaqlkef2t4e
CID
bafyreib6t5gbruc6mq5izkjcvkobwigansblcauigtodbe4rnbqbdyw2bu
Indexed At
2026-05-04 17:29 UTC
AT-URI
at://did:plc:7natp5xae72bddaqlkef2t4e/com.atproto.lexicon.schema/pub.chive.admin.listWarnings

Lexicon Garden

@