social.colibri.voice.moderate
Schema Diff
+6 -3
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "social.colibri.voice.moderate",
3
3
"defs": {
4
4
"main": {
5
5
"type": "procedure",
6
6
"errors": [
7
7
{
8
-
"name": "AuthRequired"
8
+
"name": "AuthRequired",
9
+
"description": "Missing, malformed, or unverifiable service auth."
9
10
},
10
11
{
11
-
"name": "Forbidden"
12
+
"name": "Forbidden",
13
+
"description": "The caller lacks the permission this method requires."
12
14
},
13
15
{
14
-
"name": "InvalidRequest"
16
+
"name": "InvalidRequest",
17
+
"description": "A parameter or body field was missing or malformed."
15
18
}
16
19
],
17
20
"output": {
18
21
"schema": {
19
22
"type": "object",
20
23
"required": [
21
24
"did"
22
25
],
23
26
"properties": {
24
27
"did": {
25
28
"type": "string",
26
29
"format": "did",
27
30
"description": "DID of the moderated member."
28
31
}
29
32
}
30
33
},
31
34
"encoding": "application/json"
32
35
},
33
36
"parameters": {
34
37
"type": "params",
35
38
"required": [
36
39
"community",
37
40
"channel",
38
41
"target",
39
42
"action"
40
43
],
41
44
"properties": {
42
45
"action": {
43
46
"type": "string",
44
47
"description": "The moderation action to apply.",
45
48
"knownValues": [
46
49
"mute",
47
50
"unmute",
48
51
"deafen",
49
52
"undeafen",
50
53
"disconnect"
51
54
]
52
55
},
53
56
"target": {
54
57
"type": "string",
55
58
"format": "did",
56
59
"description": "DID of the member to moderate."
57
60
},
58
61
"channel": {
59
62
"type": "string",
60
63
"format": "at-uri",
61
64
"description": "AT-URI of the voice channel."
62
65
},
63
66
"community": {
64
67
"type": "string",
65
68
"format": "at-uri",
66
69
"description": "AT-URI of the community the channel belongs to."
67
70
}
68
71
}
69
72
},
70
73
"description": "Moderates a member's participation in a voice channel: server-mute, server-deafen, or force-disconnect. Requires the `voice.moderate` community permission and the caller must outrank the target. Server-mute/deafen are enforced by the SFU and persist for the room's lifetime, disconnect is transient (the target may rejoin)."
71
74
}
72
75
},
73
76
"$type": "com.atproto.lexicon.schema",
74
77
"lexicon": 1,
75
78
"revision": 1
76
79
}