pub.chive.admin.getAuditLog
Get admin audit log entries
Repository
@lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh
not from the namespace authority
Details · query
| Kind | query |
|---|---|
| Authority | admin.chive.pub |
| Indexed |
Showing version bafyreihjh4v7euujlt272bn5bjgshpmukp6jg5ho4mhkegt2t5tuyobgzy. Show the latest
Checks
Validunlimited-stringdefs.auditEntry.properties.actionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.auditEntry.properties.actorHandleNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.auditEntry.properties.collectionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.auditEntry.properties.detailsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.auditEntry.properties.idNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.auditEntry.properties.targetUriNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"auditEntry": {
"description": "Audit log entry",
"properties": {
"action": {
"description": "Action performed",
"type": "string"
},
"actorDid": {
"description": "DID of the actor",
"format": "did",
"type": "string"
},
"actorHandle": {
"description": "Handle of the actor",
"type": "string"
},
"collection": {
"description": "NSID collection",
"type": "string"
},
"details": {
"description": "Additional details",
"type": "string"
},
"id": {
"description": "Entry ID",
"type": "string"
},
"targetUri": {
"description": "Target resource URI",
"type": "string"
},
"timestamp": {
"description": "When the action occurred",
"format": "datetime",
"type": "string"
}
},
"required": [
"id",
"action",
"actorDid",
"timestamp"
],
"type": "object"
},
"main": {
"description": "Get admin audit log entries",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "AdminRequired"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"entries": {
"description": "Audit log entries",
"items": {
"ref": "#auditEntry",
"type": "ref"
},
"type": "array"
},
"total": {
"description": "Total entries matching the query",
"type": "integer"
}
},
"required": [
"entries",
"total"
],
"type": "object"
}
},
"parameters": {
"properties": {
"actorDid": {
"description": "Filter by actor DID",
"format": "did",
"type": "string"
},
"cursor": {
"description": "Pagination cursor",
"type": "string"
},
"limit": {
"default": 50,
"description": "Maximum number of entries",
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"type": "params"
},
"type": "query"
}
},
"id": "pub.chive.admin.getAuditLog",
"lexicon": 1,
"revision": 1
}