social.colibri.actor.setState
Schema Diff
+10 -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": "Sets the authenticated user's online presence state.",
6
+
"errors": [
7
+
{
8
+
"description": "Missing, malformed, or unverifiable service auth.",
9
+
"name": "AuthRequired"
10
+
},
11
+
{
12
+
"description": "The given state is not one of the accepted values.",
13
+
"name": "InvalidState"
14
+
}
15
+
],
6
16
"output": {
7
17
"encoding": "application/json",
8
18
"schema": {
9
19
"properties": {
10
20
"onlineState": {
11
21
"type": "string"
12
22
}
13
23
},
14
24
"required": [
15
25
"onlineState"
16
26
],
17
27
"type": "object"
18
28
}
19
29
},
20
30
"parameters": {
21
31
"properties": {
22
32
"state": {
23
33
"description": "The presence state to set.",
24
34
"knownValues": [
25
35
"online",
26
36
"away",
27
37
"dnd",
28
38
"offline"
29
39
],
30
40
"type": "string"
31
41
}
32
42
},
33
43
"required": [
34
44
"state"
35
45
],
36
46
"type": "params"
37
47
},
38
48
"type": "procedure"
39
49
}
40
50
},
41
51
"id": "social.colibri.actor.setState",
42
52
"lexicon": 1
43
53
}