social.colibri.channel.getChannelView
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": "Returns the initial view of a channel: recent messages, the read cursor, and unseen notifications.",
6
+
"errors": [
7
+
{
8
+
"description": "Missing, malformed, or unverifiable service auth.",
9
+
"name": "AuthRequired"
10
+
},
11
+
{
12
+
"description": "A parameter or body field was missing or malformed.",
13
+
"name": "InvalidRequest"
14
+
}
15
+
],
6
16
"output": {
7
17
"encoding": "application/json",
8
18
"schema": {
9
19
"properties": {
10
20
"cursor": {
11
21
"type": "string"
12
22
},
13
23
"messages": {
14
24
"items": {
15
25
"ref": "lex:social.colibri.channel.defs#message",
16
26
"type": "ref"
17
27
},
18
28
"type": "array"
19
29
},
20
30
"readCursor": {
21
31
"ref": "lex:social.colibri.channel.defs#readCursor",
22
32
"type": "ref"
23
33
},
24
34
"unseen": {
25
35
"items": {
26
36
"ref": "lex:social.colibri.notification.defs#unseenNotification",
27
37
"type": "ref"
28
38
},
29
39
"type": "array"
30
40
}
31
41
},
32
42
"required": [
33
43
"messages",
34
44
"unseen"
35
45
],
36
46
"type": "object"
37
47
}
38
48
},
39
49
"parameters": {
40
50
"properties": {
41
51
"channel": {
42
52
"format": "at-uri",
43
53
"type": "string"
44
54
},
45
55
"limit": {
46
56
"type": "integer"
47
57
}
48
58
},
49
59
"required": [
50
60
"channel"
51
61
],
52
62
"type": "params"
53
63
},
54
64
"type": "query"
55
65
}
56
66
},
57
67
"id": "social.colibri.channel.getChannelView",
58
68
"lexicon": 1
59
69
}