pub.chive.admin.listViolations
List policy violations
Repository
@lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh
not from the namespace authority
Details · query
| Kind | query |
|---|---|
| Authority | admin.chive.pub |
| Indexed |
Checks
Validunlimited-stringdefs.violation.properties.contextNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.violation.properties.descriptionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.violation.properties.handleNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.violation.properties.idNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.violation.properties.severityNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.violation.properties.typeNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "List policy violations",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "AdminRequired"
}
],
"output": {
"encoding": "application/json",
"schema": {
"description": "Governance violations. There is no `total`: the service returns only the rows, output validation requires every declared required field, and a `total` that nothing produces made this endpoint fail with a 500 rather than describe it. Nothing consumes a total either — the admin page renders the rows.",
"properties": {
"violations": {
"description": "Violation records",
"items": {
"ref": "#violation",
"type": "ref"
},
"type": "array"
}
},
"required": [
"violations"
],
"type": "object"
}
},
"parameters": {
"properties": {
"did": {
"description": "Filter by user DID",
"format": "did",
"type": "string"
},
"limit": {
"default": 50,
"description": "Maximum number of violations",
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"type": "params"
},
"type": "query"
},
"violation": {
"description": "Policy violation record",
"properties": {
"context": {
"description": "Additional context",
"type": "string"
},
"createdAt": {
"description": "When the violation was recorded",
"format": "datetime",
"type": "string"
},
"description": {
"description": "Violation description",
"type": "string"
},
"did": {
"description": "User DID",
"format": "did",
"type": "string"
},
"handle": {
"description": "User handle",
"type": "string"
},
"id": {
"description": "Violation ID",
"type": "string"
},
"resolvedAt": {
"description": "When the violation was resolved",
"format": "datetime",
"type": "string"
},
"severity": {
"description": "Severity level",
"knownValues": [
"low",
"medium",
"high",
"critical"
],
"type": "string"
},
"type": {
"description": "Violation type",
"type": "string"
}
},
"required": [
"id",
"did",
"type",
"severity",
"createdAt"
],
"type": "object"
}
},
"id": "pub.chive.admin.listViolations",
"lexicon": 1,
"revision": 1
}