social.colibri.channel.create
Schema Diff
+22 -0
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "social.colibri.channel.create",
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": "CommunityCredentialsUnrecoverable",
13
+
"description": "The AppView cannot write to the community's repo and could not repair its own access."
14
+
},
15
+
{
16
+
"name": "Forbidden",
17
+
"description": "The caller lacks the permission this method requires."
18
+
},
19
+
{
20
+
"name": "InvalidRequest",
21
+
"description": "A parameter or body field was missing or malformed."
22
+
},
23
+
{
24
+
"name": "PdsUnavailable",
25
+
"description": "The PDS this operation needs is unreachable or is not a PDS."
26
+
}
27
+
],
6
28
"output": {
7
29
"schema": {
8
30
"type": "object",
9
31
"required": [
10
32
"uri"
11
33
],
12
34
"properties": {
13
35
"uri": {
14
36
"type": "string",
15
37
"format": "at-uri"
16
38
}
17
39
}
18
40
},
19
41
"encoding": "application/json"
20
42
},
21
43
"parameters": {
22
44
"type": "params",
23
45
"required": [
24
46
"community",
25
47
"category",
26
48
"name",
27
49
"type"
28
50
],
29
51
"properties": {
30
52
"name": {
31
53
"type": "string"
32
54
},
33
55
"type": {
34
56
"type": "string",
35
57
"format": "nsid",
36
58
"description": "The channel type, e.g. social.colibri.channel.text."
37
59
},
38
60
"category": {
39
61
"type": "string",
40
62
"format": "at-uri"
41
63
},
42
64
"community": {
43
65
"type": "string",
44
66
"format": "at-uri"
45
67
},
46
68
"description": {
47
69
"type": "string"
48
70
},
49
71
"allowedRoles": {
50
72
"type": "array",
51
73
"items": {
52
74
"type": "string",
53
75
"format": "record-key"
54
76
}
55
77
},
56
78
"allowedMembers": {
57
79
"type": "array",
58
80
"items": {
59
81
"type": "string",
60
82
"format": "did"
61
83
}
62
84
}
63
85
}
64
86
},
65
87
"description": "Creates a channel in a category of a community."
66
88
}
67
89
},
68
90
"$type": "com.atproto.lexicon.schema",
69
91
"lexicon": 1
70
92
}