List policy violations
Parameters
Output
Encoding
application/jsonviolations
array
Required
Violation records
Errors
AuthenticationRequired
AdminRequired
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"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"
}