full diff

tools.ozone.inbox.getReport

From
bafyreibtitryqubnwyxbebb6w6l3i2giykls6cder6vysg6g6e2gwz7obi indexed 2026-10-07 18:19 UTC View this version
To
bafyreifnaroigsapokdv4whn3yaplwxgbnlvhc7uh4jy7of3rdbs6yjide indexed 2026-11-19 20:57 UTC View this version

Compatibility

breaking 2 breaking changes, 14 non-breaking changes.

Breaking changes (2)
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "tools.ozone.inbox.getReport#recordStatus", src: "tools.ozone.inbox.getReport#recordStatus", tgt: "tools.ozone.inbox.getReport#recordStatus.takendown", kind: "prop", name: Some("takendown") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "tools.ozone.inbox.getReport#accountStatus", src: "tools.ozone.inbox.getReport#accountStatus", tgt: "tools.ozone.inbox.getReport#accountStatus.enforcement", kind: "prop", name: Some("enforcement") }
Non-breaking changes (14)
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.inbox.getReport#accountStatus" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.inbox.getReport#accountStatus.enforcement" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.inbox.getReport#accountStatus.hosting" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.inbox.getReport#recordStatus" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.inbox.getReport#recordStatus.deleted" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.inbox.getReport#recordStatus.takendown" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.inbox.getReport#reportView.accountStatus" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.inbox.getReport#reportView.subjectStatus" }
  • AddedEdge AddedEdge { src: "tools.ozone.inbox.getReport#accountStatus", tgt: "tools.ozone.inbox.getReport#accountStatus.hosting", kind: "prop", name: Some("hosting") }
  • AddedEdge AddedEdge { src: "tools.ozone.inbox.getReport#recordStatus", tgt: "tools.ozone.inbox.getReport#recordStatus.deleted", kind: "prop", name: Some("deleted") }
  • AddedEdge AddedEdge { src: "tools.ozone.inbox.getReport#reportView", tgt: "tools.ozone.inbox.getReport#reportView.accountStatus", kind: "prop", name: Some("accountStatus") }
  • AddedEdge AddedEdge { src: "tools.ozone.inbox.getReport#reportView", tgt: "tools.ozone.inbox.getReport#reportView.subjectStatus", kind: "prop", name: Some("subjectStatus") }
  • AddedEdge AddedEdge { src: "tools.ozone.inbox.getReport#reportView.accountStatus", tgt: "tools.ozone.inbox.getReport#accountStatus", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "tools.ozone.inbox.getReport#reportView.subjectStatus", tgt: "tools.ozone.inbox.getReport#recordStatus", kind: "ref", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "tools.ozone.inbox.getReport#accountStatus" }
  • AddedVertex { vertex_id: "tools.ozone.inbox.getReport#accountStatus.enforcement" }
  • AddedVertex { vertex_id: "tools.ozone.inbox.getReport#accountStatus.hosting" }
  • AddedVertex { vertex_id: "tools.ozone.inbox.getReport#recordStatus" }
  • AddedVertex { vertex_id: "tools.ozone.inbox.getReport#recordStatus.deleted" }
  • AddedVertex { vertex_id: "tools.ozone.inbox.getReport#recordStatus.takendown" }
  • AddedVertex { vertex_id: "tools.ozone.inbox.getReport#reportView.accountStatus" }
  • AddedVertex { vertex_id: "tools.ozone.inbox.getReport#reportView.subjectStatus" }

Notes

  • Breaking: RequiredEdgeAdded { vertex_id: "tools.ozone.inbox.getReport#accountStatus", src: "tools.ozone.inbox.getReport#accountStatus", tgt: "tools.ozone.inbox.getReport#accountStatus.enforcement", kind: "prop", name: Some("enforcement") }
  • Breaking: RequiredEdgeAdded { vertex_id: "tools.ozone.inbox.getReport#recordStatus", src: "tools.ozone.inbox.getReport#recordStatus", tgt: "tools.ozone.inbox.getReport#recordStatus.takendown", kind: "prop", name: Some("takendown") }
  • Non-breaking: AddedEdge { src: "tools.ozone.inbox.getReport#accountStatus", tgt: "tools.ozone.inbox.getReport#accountStatus.hosting", kind: "prop", name: Some("hosting") }
  • Non-breaking: AddedEdge { src: "tools.ozone.inbox.getReport#recordStatus", tgt: "tools.ozone.inbox.getReport#recordStatus.deleted", kind: "prop", name: Some("deleted") }
  • Non-breaking: AddedEdge { src: "tools.ozone.inbox.getReport#reportView", tgt: "tools.ozone.inbox.getReport#reportView.accountStatus", kind: "prop", name: Some("accountStatus") }
  • Non-breaking: AddedEdge { src: "tools.ozone.inbox.getReport#reportView", tgt: "tools.ozone.inbox.getReport#reportView.subjectStatus", kind: "prop", name: Some("subjectStatus") }
  • Non-breaking: AddedEdge { src: "tools.ozone.inbox.getReport#reportView.accountStatus", tgt: "tools.ozone.inbox.getReport#accountStatus", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "tools.ozone.inbox.getReport#reportView.subjectStatus", tgt: "tools.ozone.inbox.getReport#recordStatus", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
4 "accountStatus": {
5 "properties": {
6 "enforcement": {
7 "description": "Current enforcement by this moderation service.",
8 "knownValues": [
9 "none",
10 "suspended",
11 "takendown"
12 ],
13 "type": "string"
14 },
15 "hosting": {
16 "description": "Last known account hosting state, omitted when unknown.",
17 "knownValues": [
18 "active",
19 "deleted",
20 "deactivated",
21 "suspended",
22 "takendown"
23 ],
24 "type": "string"
25 }
26 },
27 "required": [
28 "enforcement"
29 ],
30 "type": "object"
31 },
432 "main": {
533 "description": "Get a moderation report submitted by the authenticated account to this moderation service.",
634 "errors": [
735 {
836 "description": "No report was found, or the authenticated account did not submit it.",
937 "name": "NotFound"
1038 }
1139 ],
1240 "output": {
1341 "encoding": "application/json",
1442 "schema": {
1543 "properties": {
1644 "report": {
1745 "ref": "#reportView",
1846 "type": "ref"
1947 },
2048 "resolution": {
2149 "description": "Present only when the report is resolved.",
2250 "ref": "#resolutionView",
2351 "type": "ref"
2452 }
2553 },
2654 "required": [
2755 "report"
2856 ],
2957 "type": "object"
3058 }
3159 },
3260 "parameters": {
3361 "properties": {
3462 "did": {
3563 "description": "Reporter to preview. Defaults to the authenticated account; another account requires an active moderator, triage, or admin credential.",
3664 "format": "did",
3765 "type": "string"
3866 },
3967 "id": {
4068 "description": "Report ID (report table ID), as returned by listReports.",
4169 "type": "integer"
4270 }
4371 },
4472 "required": [
4573 "id"
4674 ],
4775 "type": "params"
4876 },
4977 "type": "query"
5078 },
79 "recordStatus": {
80 "properties": {
81 "deleted": {
82 "description": "Whether the record has been deleted by its repository, omitted when unknown.",
83 "type": "boolean"
84 },
85 "takendown": {
86 "description": "Whether this moderation service has taken down the record.",
87 "type": "boolean"
88 }
89 },
90 "required": [
91 "takendown"
92 ],
93 "type": "object"
94 },
5195 "reportView": {
5296 "properties": {
97 "accountStatus": {
98 "description": "Current status of the reported account or record owner, independent of the report's resolution.",
99 "ref": "#accountStatus",
100 "type": "ref"
101 },
53102 "createdAt": {
54103 "format": "datetime",
55104 "type": "string"
56105 },
57106 "id": {
58107 "description": "Report ID (report table ID), used by Ozone's report detail page.",
59108 "type": "integer"
60109 },
61110 "reason": {
62111 "maxGraphemes": 2000,
63112 "maxLength": 20000,
64113 "type": "string"
65114 },
66115 "reasonType": {
67116 "description": "The exact fully-qualified reason NSID submitted with and stored on the report.",
68117 "type": "string"
69118 },
70119 "record": {
71120 "description": "Raw record JSON for the subject, when the subject is a record and the record is available.",
72121 "type": "unknown"
73122 },
74123 "src": {
75124 "description": "DID of the moderation service that received the report.",
76125 "format": "did",
77126 "type": "string"
78127 },
79128 "status": {
80129 "knownValues": [
81130 "pending",
82131 "resolved"
83132 ],
84133 "type": "string"
85134 },
86135 "subject": {
87136 "refs": [
88137 "com.atproto.admin.defs#repoRef",
89138 "com.atproto.repo.strongRef",
90139 "chat.bsky.convo.defs#messageRef",
91140 "chat.bsky.convo.defs#convoRef"
92141 ],
93142 "type": "union"
94143 },
144 "subjectStatus": {
145 "description": "Current status of a reported record, when known.",
146 "ref": "#recordStatus",
147 "type": "ref"
148 },
95149 "updatedAt": {
96150 "format": "datetime",
97151 "type": "string"
98152 }
99153 },
100154 "required": [
101155 "src",
102156 "id",
103157 "reasonType",
104158 "subject",
105159 "status",
106160 "createdAt",
107161 "updatedAt"
108162 ],
109163 "type": "object"
110164 },
111165 "resolutionView": {
112166 "properties": {
113167 "actionTaken": {
114168 "description": "Public action associated with this report's resolution. See the public action vocabulary table.",
115169 "type": "string"
116170 },
117171 "outcome": {
118172 "knownValues": [
119173 "actionTaken",
120174 "noAction",
121175 "other"
122176 ],
123177 "type": "string"
124178 },
125179 "resolvedAt": {
126180 "format": "datetime",
127181 "type": "string"
128182 },
129183 "scope": {
130184 "knownValues": [
131185 "network",
132186 "app",
133187 "labelOnly"
134188 ],
135189 "type": "string"
136190 }
137191 },
138192 "required": [
139193 "outcome",
140194 "resolvedAt"
141195 ],
142196 "type": "object"
143197 }
144198 },
145199 "id": "tools.ozone.inbox.getReport",
146200 "lexicon": 1
147201}

Compare other versions