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