tools.ozone.moderation.queryStatuses
Schema Diff
+3 -2
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "View moderation statuses of subjects (record or repo).",
6
6
"output": {
7
7
"encoding": "application/json",
8
8
"schema": {
9
9
"properties": {
10
10
"cursor": {
11
11
"type": "string"
12
12
},
13
13
"subjectStatuses": {
14
14
"items": {
15
15
"ref": "tools.ozone.moderation.defs#subjectStatusView",
16
16
"type": "ref"
17
17
},
18
18
"type": "array"
19
19
}
20
20
},
21
21
"required": [
22
22
"subjectStatuses"
23
23
],
24
24
"type": "object"
25
25
}
26
26
},
27
27
"parameters": {
28
28
"properties": {
29
29
"ageAssuranceState": {
30
30
"description": "If specified, only subjects with the given age assurance state will be returned.",
31
31
"knownValues": [
32
32
"pending",
33
33
"assured",
34
34
"unknown",
35
35
"reset",
36
36
"blocked"
37
37
],
38
38
"type": "string"
39
39
},
40
40
"appealed": {
41
41
"description": "Get subjects in unresolved appealed status",
42
42
"type": "boolean"
43
43
},
44
44
"collections": {
45
45
"description": "If specified, subjects belonging to the given collections will be returned. When subjectType is set to 'account', this will be ignored.",
46
46
"items": {
47
47
"format": "nsid",
48
48
"type": "string"
49
49
},
50
50
"maxLength": 20,
51
51
"type": "array"
52
52
},
53
53
"comment": {
54
54
"description": "Search subjects by keyword from comments",
55
55
"type": "string"
56
56
},
57
57
"cursor": {
58
58
"type": "string"
59
59
},
60
60
"excludeTags": {
61
61
"items": {
62
62
"type": "string"
63
63
},
64
64
"type": "array"
65
65
},
66
66
"hostingDeletedAfter": {
67
67
"description": "Search subjects where the associated record/account was deleted after a given timestamp",
68
68
"format": "datetime",
69
69
"type": "string"
70
70
},
71
71
"hostingDeletedBefore": {
72
72
"description": "Search subjects where the associated record/account was deleted before a given timestamp",
73
73
"format": "datetime",
74
74
"type": "string"
75
75
},
76
76
"hostingStatuses": {
77
77
"description": "Search subjects by the status of the associated record/account",
78
78
"items": {
79
79
"type": "string"
80
80
},
81
81
"type": "array"
82
82
},
83
83
"hostingUpdatedAfter": {
84
84
"description": "Search subjects where the associated record/account was updated after a given timestamp",
85
85
"format": "datetime",
86
86
"type": "string"
87
87
},
88
88
"hostingUpdatedBefore": {
89
89
"description": "Search subjects where the associated record/account was updated before a given timestamp",
90
90
"format": "datetime",
91
91
"type": "string"
92
92
},
93
93
"ignoreSubjects": {
94
94
"items": {
95
95
"format": "uri",
96
96
"type": "string"
97
97
},
98
98
"type": "array"
99
99
},
100
100
"includeAllUserRecords": {
101
101
"description": "All subjects, or subjects from given 'collections' param, belonging to the account specified in the 'subject' param will be returned.",
102
102
"type": "boolean"
103
103
},
104
104
"includeMuted": {
105
105
"description": "By default, we don't include muted subjects in the results. Set this to true to include them.",
106
106
"type": "boolean"
107
107
},
108
108
"lastReviewedBy": {
109
109
"description": "Get all subject statuses that were reviewed by a specific moderator",
110
110
"format": "did",
111
111
"type": "string"
112
112
},
113
113
"limit": {
114
114
"default": 50,
115
115
"maximum": 100,
116
116
"minimum": 1,
117
117
"type": "integer"
118
118
},
119
119
"minAccountSuspendCount": {
120
120
"description": "If specified, only subjects that belong to an account that has at least this many suspensions will be returned.",
121
121
"type": "integer"
122
122
},
123
123
"minPriorityScore": {
124
124
"description": "If specified, only subjects that have priority score value above the given value will be returned.",
125
125
"maximum": 100,
126
126
"minimum": 0,
127
127
"type": "integer"
128
128
},
129
129
"minReportedRecordsCount": {
130
130
"description": "If specified, only subjects that belong to an account that has at least this many reported records will be returned.",
131
131
"type": "integer"
132
132
},
133
133
"minStrikeCount": {
134
134
"description": "If specified, only subjects that belong to an account that has at least this many active strikes will be returned.",
135
135
"minimum": 1,
136
136
"type": "integer"
137
137
},
138
138
"minTakendownRecordsCount": {
139
139
"description": "If specified, only subjects that belong to an account that has at least this many taken down records will be returned.",
140
140
"type": "integer"
141
141
},
142
142
"onlyMuted": {
143
143
"description": "When set to true, only muted subjects and reporters will be returned.",
144
144
"type": "boolean"
145
145
},
146
146
"queueCount": {
147
147
"description": "Number of queues being used by moderators. Subjects will be split among all queues.",
148
148
"type": "integer"
149
149
},
150
150
"queueIndex": {
151
151
"description": "Index of the queue to fetch subjects from. Works only when queueCount value is specified.",
152
152
"type": "integer"
153
153
},
154
154
"queueSeed": {
155
155
"description": "A seeder to shuffle/balance the queue items.",
156
156
"type": "string"
157
157
},
158
158
"reportedAfter": {
159
159
"description": "Search subjects reported after a given timestamp",
160
160
"format": "datetime",
161
161
"type": "string"
162
162
},
163
163
"reportedBefore": {
164
164
"description": "Search subjects reported before a given timestamp",
165
165
"format": "datetime",
166
166
"type": "string"
167
167
},
168
168
"reviewState": {
169
169
"description": "Specify when fetching subjects in a certain state",
170
170
"knownValues": [
171
171
"tools.ozone.moderation.defs#reviewOpen",
172
172
"tools.ozone.moderation.defs#reviewClosed",
173
173
"tools.ozone.moderation.defs#reviewEscalated",
174
174
"tools.ozone.moderation.defs#reviewNone"
175
175
],
176
176
"type": "string"
177
177
},
178
178
"reviewedAfter": {
179
179
"description": "Search subjects reviewed after a given timestamp",
180
180
"format": "datetime",
181
181
"type": "string"
182
182
},
183
183
"reviewedBefore": {
184
184
"description": "Search subjects reviewed before a given timestamp",
185
185
"format": "datetime",
186
186
"type": "string"
187
187
},
188
188
"sortDirection": {
189
189
"default": "desc",
190
190
"enum": [
191
191
"asc",
192
192
"desc"
193
193
],
194
194
"type": "string"
195
195
},
196
196
"sortField": {
197
197
"default": "lastReportedAt",
198
198
"enum": [
199
199
"lastReviewedAt",
200
200
"lastReportedAt",
201
201
"reportedRecordsCount",
202
202
"takendownRecordsCount",
203
203
"priorityScore"
204
204
],
205
205
"type": "string"
206
206
},
207
207
"subject": {
208
208
"description": "The subject to get the status for.",
209
209
"format": "uri",
210
210
"type": "string"
211
211
},
212
212
"subjectType": {
213
-
"description": "If specified, subjects of the given type (account or record) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.",
213
+
"description": "If specified, subjects of the given type (account, record, or conversation) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.",
214
214
"knownValues": [
215
215
"account",
216
-
"record"
216
+
"record",
217
+
"conversation"
217
218
],
218
219
"type": "string"
219
220
},
220
221
"tags": {
221
222
"items": {
222
223
"description": "Items in this array are applied with OR filters. To apply AND filter, put all tags in the same string and separate using && characters",
223
224
"type": "string"
224
225
},
225
226
"maxLength": 25,
226
227
"type": "array"
227
228
},
228
229
"takendown": {
229
230
"description": "Get subjects that were taken down",
230
231
"type": "boolean"
231
232
}
232
233
},
233
234
"type": "params"
234
235
},
235
236
"type": "query"
236
237
}
237
238
},
238
239
"id": "tools.ozone.moderation.queryStatuses",
239
240
"lexicon": 1
240
241
}