full diff

pub.chive.admin.getAuditLog

From
bafyreihjh4v7euujlt272bn5bjgshpmukp6jg5ho4mhkegt2t5tuyobgzy indexed 2026-06-18 13:14 UTC View this version
To
bafyreihjh4v7euujlt272bn5bjgshpmukp6jg5ho4mhkegt2t5tuyobgzy indexed 2026-06-18 13:14 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "auditEntry": {
55 "description": "Audit log entry",
66 "properties": {
77 "action": {
88 "description": "Action performed",
99 "type": "string"
1010 },
1111 "actorDid": {
1212 "description": "DID of the actor",
1313 "format": "did",
1414 "type": "string"
1515 },
1616 "actorHandle": {
1717 "description": "Handle of the actor",
1818 "type": "string"
1919 },
2020 "collection": {
2121 "description": "NSID collection",
2222 "type": "string"
2323 },
2424 "details": {
2525 "description": "Additional details",
2626 "type": "string"
2727 },
2828 "id": {
2929 "description": "Entry ID",
3030 "type": "string"
3131 },
3232 "targetUri": {
3333 "description": "Target resource URI",
3434 "type": "string"
3535 },
3636 "timestamp": {
3737 "description": "When the action occurred",
3838 "format": "datetime",
3939 "type": "string"
4040 }
4141 },
4242 "required": [
4343 "id",
4444 "action",
4545 "actorDid",
4646 "timestamp"
4747 ],
4848 "type": "object"
4949 },
5050 "main": {
5151 "description": "Get admin audit log entries",
5252 "errors": [
5353 {
5454 "name": "AuthenticationRequired"
5555 },
5656 {
5757 "name": "AdminRequired"
5858 }
5959 ],
6060 "output": {
6161 "encoding": "application/json",
6262 "schema": {
6363 "properties": {
6464 "entries": {
6565 "description": "Audit log entries",
6666 "items": {
6767 "ref": "#auditEntry",
6868 "type": "ref"
6969 },
7070 "type": "array"
7171 },
7272 "total": {
7373 "description": "Total entries matching the query",
7474 "type": "integer"
7575 }
7676 },
7777 "required": [
7878 "entries",
7979 "total"
8080 ],
8181 "type": "object"
8282 }
8383 },
8484 "parameters": {
8585 "properties": {
8686 "actorDid": {
8787 "description": "Filter by actor DID",
8888 "format": "did",
8989 "type": "string"
9090 },
9191 "cursor": {
9292 "description": "Pagination cursor",
9393 "type": "string"
9494 },
9595 "limit": {
9696 "default": 50,
9797 "description": "Maximum number of entries",
9898 "maximum": 100,
9999 "minimum": 1,
100100 "type": "integer"
101101 }
102102 },
103103 "type": "params"
104104 },
105105 "type": "query"
106106 }
107107 },
108108 "id": "pub.chive.admin.getAuditLog",
109109 "lexicon": 1,
110110 "revision": 1
111111}