From
bafyreihqkycesh2y2n777bojwgjhnhlk4zdlgumyjhzjdrbiwwyyyzd6i4
indexed 2026-10-03 21:31 UTC
View this version
To
bafyreicehpycckcxpgdewn2paunik573nbgtr76wehrgfxemz6to75qhre
indexed 2026-11-19 20:57 UTC
View this version
Compatibility
backward compatible Backward compatible. 12 non-breaking changes.
Non-breaking changes (12)
- AddedVertex AddedVertex { vertex_id: "tools.ozone.report.closeReports:input.actionEventId" }
- AddedVertex AddedVertex { vertex_id: "tools.ozone.report.closeReports:input.excludedReportTypes" }
- AddedVertex AddedVertex { vertex_id: "tools.ozone.report.closeReports:input.excludedReportTypes:items" }
- AddedVertex AddedVertex { vertex_id: "tools.ozone.report.closeReports:input.includeAllOwned" }
- AddedVertex AddedVertex { vertex_id: "tools.ozone.report.closeReports:input.meta" }
- AddedVertex AddedVertex { vertex_id: "tools.ozone.report.closeReports:input.reportId" }
- AddedEdge AddedEdge { src: "tools.ozone.report.closeReports:input", tgt: "tools.ozone.report.closeReports:input.actionEventId", kind: "prop", name: Some("actionEventId") }
- AddedEdge AddedEdge { src: "tools.ozone.report.closeReports:input", tgt: "tools.ozone.report.closeReports:input.excludedReportTypes", kind: "prop", name: Some("excludedReportTypes") }
- AddedEdge AddedEdge { src: "tools.ozone.report.closeReports:input", tgt: "tools.ozone.report.closeReports:input.includeAllOwned", kind: "prop", name: Some("includeAllOwned") }
- AddedEdge AddedEdge { src: "tools.ozone.report.closeReports:input", tgt: "tools.ozone.report.closeReports:input.meta", kind: "prop", name: Some("meta") }
- AddedEdge AddedEdge { src: "tools.ozone.report.closeReports:input", tgt: "tools.ozone.report.closeReports:input.reportId", kind: "prop", name: Some("reportId") }
- AddedEdge AddedEdge { src: "tools.ozone.report.closeReports:input.excludedReportTypes", tgt: "tools.ozone.report.closeReports:input.excludedReportTypes:items", kind: "items", name: None }
Migration guidance
Added
AddedVertex { vertex_id: "tools.ozone.report.closeReports:input.actionEventId" }AddedVertex { vertex_id: "tools.ozone.report.closeReports:input.excludedReportTypes" }AddedVertex { vertex_id: "tools.ozone.report.closeReports:input.excludedReportTypes:items" }AddedVertex { vertex_id: "tools.ozone.report.closeReports:input.includeAllOwned" }AddedVertex { vertex_id: "tools.ozone.report.closeReports:input.meta" }AddedVertex { vertex_id: "tools.ozone.report.closeReports:input.reportId" }
Notes
- Non-breaking: AddedEdge { src: "tools.ozone.report.closeReports:input", tgt: "tools.ozone.report.closeReports:input.actionEventId", kind: "prop", name: Some("actionEventId") }
- Non-breaking: AddedEdge { src: "tools.ozone.report.closeReports:input", tgt: "tools.ozone.report.closeReports:input.excludedReportTypes", kind: "prop", name: Some("excludedReportTypes") }
- Non-breaking: AddedEdge { src: "tools.ozone.report.closeReports:input", tgt: "tools.ozone.report.closeReports:input.includeAllOwned", kind: "prop", name: Some("includeAllOwned") }
- Non-breaking: AddedEdge { src: "tools.ozone.report.closeReports:input", tgt: "tools.ozone.report.closeReports:input.meta", kind: "prop", name: Some("meta") }
- Non-breaking: AddedEdge { src: "tools.ozone.report.closeReports:input", tgt: "tools.ozone.report.closeReports:input.reportId", kind: "prop", name: Some("reportId") }
- Non-breaking: AddedEdge { src: "tools.ozone.report.closeReports:input.excludedReportTypes", tgt: "tools.ozone.report.closeReports:input.excludedReportTypes:items", kind: "items", name: None }
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"main": {5
"description": "Close all reports on a subject matching the given criteria. Reports whose current status does not permit a transition to closed are skipped silently. Intended for automated flows that resolve reports without taking action on the subject.",5
"description": "Close eligible reports on a subject matching the given criteria, optionally linking an existing moderation action. Assigned, escalated, and actively assigned reports are excluded unless explicitly targeted by reportId. Reports whose current status does not permit a transition to closed are skipped silently.",66
"input": {77
"encoding": "application/json",88
"schema": {99
"properties": {10
"actionEventId": {11
"description": "Optional existing moderation event that closes reports. It must target the exact subject or its owning account; account-wide closure requires an account event. The event is linked to each closed report and may predate the report. The link does not imply the action is still in effect.",12
"minimum": 1,13
"type": "integer"14
},15
"excludedReportTypes": {16
"description": "Reports of these types (fully qualified reason NSIDs) are excluded from closure and left unchanged. When omitted or empty, no report types are excluded.",17
"items": {18
"type": "string"19
},20
"type": "array"21
},22
"includeAllOwned": {23
"default": false,24
"description": "If true, also close reports on all subjects owned by the account, including records, messages, and conversations. Only valid when subject is an account DID.",25
"type": "boolean"26
},1027
"internalNote": {1128
"description": "Optional moderator-only note recorded on each close activity. Not visible to reporters.",1229
"type": "string"1330
},1431
"isAutomated": {1532
"default": false,1633
"description": "Set true when this action is triggered by an automated process. Defaults to false.",1734
"type": "boolean"1835
},36
"meta": {37
"description": "Optional metadata for the report activities. Lifecycle and resolution fields are controlled by the service.",38
"type": "unknown"39
},40
"reportId": {41
"description": "An explicitly targeted report in the requested subject scope. It is included even if assigned, escalated, or not in reportTypes; excludedReportTypes still applies.",42
"minimum": 1,43
"type": "integer"44
},1945
"reportTypes": {20
"description": "If specified, only reports of the given report types (fully qualified reason NSIDs) are closed. When omitted, all non-closed reports on the subject are targeted.",46
"description": "If nonempty, eligible reports of the given report types (fully qualified reason NSIDs) are closed, in addition to reportId. When omitted or empty, all eligible reports in the requested subject scope are targeted, except excludedReportTypes. Assigned, escalated, and actively assigned reports are excluded unless explicitly targeted by reportId.",2147
"items": {2248
"type": "string"2349
},2450
"type": "array"2551
},2652
"subject": {2753
"description": "Subject DID (account-level reports) or AT-URI (record-level reports) whose reports should be closed.",2854
"format": "uri",2955
"type": "string"3056
}3157
},3258
"required": [3359
"subject"3460
],3561
"type": "object"3662
}3763
},3864
"output": {3965
"encoding": "application/json",4066
"schema": {4167
"properties": {4268
"closedCount": {4369
"description": "Number of reports that were transitioned to closed.",4470
"type": "integer"4571
},4672
"reportIds": {4773
"description": "IDs of the reports that were closed.",4874
"items": {4975
"type": "integer"5076
},5177
"type": "array"5278
}5379
},5480
"required": [5581
"closedCount",5682
"reportIds"5783
],5884
"type": "object"5985
}6086
},6187
"type": "procedure"6288
}6389
},6490
"id": "tools.ozone.report.closeReports",6591
"lexicon": 16692
}