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