social.colibri.voice.moderate
Schema Diff
+3 -0
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": "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).",
6
6
"errors": [
7
7
{
8
+
"description": "Missing, malformed, or unverifiable service auth.",
8
9
"name": "AuthRequired"
9
10
},
10
11
{
12
+
"description": "The caller lacks the permission this method requires.",
11
13
"name": "Forbidden"
12
14
},
13
15
{
16
+
"description": "A parameter or body field was missing or malformed.",
14
17
"name": "InvalidRequest"
15
18
}
16
19
],
17
20
"output": {
18
21
"encoding": "application/json",
19
22
"schema": {
20
23
"properties": {
21
24
"did": {
22
25
"description": "DID of the moderated member.",
23
26
"format": "did",
24
27
"type": "string"
25
28
}
26
29
},
27
30
"required": [
28
31
"did"
29
32
],
30
33
"type": "object"
31
34
}
32
35
},
33
36
"parameters": {
34
37
"properties": {
35
38
"action": {
36
39
"description": "The moderation action to apply.",
37
40
"knownValues": [
38
41
"mute",
39
42
"unmute",
40
43
"deafen",
41
44
"undeafen",
42
45
"disconnect"
43
46
],
44
47
"type": "string"
45
48
},
46
49
"channel": {
47
50
"description": "AT-URI of the voice channel.",
48
51
"format": "at-uri",
49
52
"type": "string"
50
53
},
51
54
"community": {
52
55
"description": "AT-URI of the community the channel belongs to.",
53
56
"format": "at-uri",
54
57
"type": "string"
55
58
},
56
59
"target": {
57
60
"description": "DID of the member to moderate.",
58
61
"format": "did",
59
62
"type": "string"
60
63
}
61
64
},
62
65
"required": [
63
66
"community",
64
67
"channel",
65
68
"target",
66
69
"action"
67
70
],
68
71
"type": "params"
69
72
},
70
73
"type": "procedure"
71
74
}
72
75
},
73
76
"id": "social.colibri.voice.moderate",
74
77
"lexicon": 1,
75
78
"revision": 1
76
79
}