app.didpic.moderation.createReport
Schema Diff
+1 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "File a moderation report against an actor (subjectDid) or a record (subjectUri + optional subjectCid). Reports are kept in the AppView and are not written to the user's PDS. Exactly one of subjectDid or subjectUri must be supplied.",
5
+
"description": "File a moderation report against an account or a record.",
6
6
"errors": [
7
7
{
8
8
"name": "InvalidRequest"
9
9
}
10
10
],
11
11
"input": {
12
12
"encoding": "application/json",
13
13
"schema": {
14
14
"properties": {
15
15
"reason": {
16
16
"maxLength": 2000,
17
17
"type": "string"
18
18
},
19
19
"reasonType": {
20
20
"enum": [
21
21
"spam",
22
22
"violation",
23
23
"illegal",
24
24
"harassment",
25
25
"sexual",
26
26
"other"
27
27
],
28
28
"type": "string"
29
29
},
30
30
"subjectCid": {
31
31
"format": "cid",
32
32
"type": "string"
33
33
},
34
34
"subjectDid": {
35
35
"format": "did",
36
36
"type": "string"
37
37
},
38
38
"subjectUri": {
39
39
"format": "at-uri",
40
40
"type": "string"
41
41
}
42
42
},
43
43
"required": [
44
44
"reasonType"
45
45
],
46
46
"type": "object"
47
47
}
48
48
},
49
49
"output": {
50
50
"encoding": "application/json",
51
51
"schema": {
52
52
"properties": {
53
53
"createdAt": {
54
54
"format": "datetime",
55
55
"type": "string"
56
56
},
57
57
"id": {
58
58
"type": "integer"
59
59
}
60
60
},
61
61
"required": [
62
62
"id",
63
63
"createdAt"
64
64
],
65
65
"type": "object"
66
66
}
67
67
},
68
68
"type": "procedure"
69
69
}
70
70
},
71
71
"id": "app.didpic.moderation.createReport",
72
72
"lexicon": 1
73
73
}