social.colibri.channel.create
Schema Diff
+34 -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": "AppViewNotAuthorized",
9
+
"description": "The acting account has not published this AppView as authorized to act for it."
10
+
},
11
+
{
12
+
"name": "AuthRequired",
13
+
"description": "Missing, malformed, or unverifiable service auth."
14
+
},
15
+
{
16
+
"name": "CommunityCredentialsUnrecoverable",
17
+
"description": "The AppView cannot write to the community's repo and could not repair its own access."
18
+
},
19
+
{
20
+
"name": "Forbidden",
21
+
"description": "The caller lacks the permission this method requires."
22
+
},
23
+
{
24
+
"name": "InvalidRequest",
25
+
"description": "A parameter or body field was missing or malformed."
26
+
},
27
+
{
28
+
"name": "NotCommunityHub",
29
+
"description": "This AppView does not administer the community; the hub field names the one that does."
30
+
},
31
+
{
32
+
"name": "PdsUnavailable",
33
+
"description": "The PDS this operation needs is unreachable or is not a PDS."
34
+
},
35
+
{
36
+
"name": "UpstreamFailure",
37
+
"description": "A service outside this AppView failed."
38
+
}
39
+
],
6
40
"output": {
7
41
"schema": {
8
42
"type": "object",
9
43
"required": [
10
44
"uri"
11
45
],
12
46
"properties": {
13
47
"uri": {
14
48
"type": "string",
15
49
"format": "at-uri"
16
50
}
17
51
}
18
52
},
19
53
"encoding": "application/json"
20
54
},
21
55
"parameters": {
22
56
"type": "params",
23
57
"required": [
24
58
"community",
25
59
"category",
26
60
"name",
27
61
"type"
28
62
],
29
63
"properties": {
30
64
"name": {
31
65
"type": "string"
32
66
},
33
67
"type": {
34
68
"type": "string",
35
69
"format": "nsid",
36
70
"description": "The channel type, e.g. social.colibri.channel.text."
37
71
},
38
72
"category": {
39
73
"type": "string",
40
74
"format": "at-uri"
41
75
},
42
76
"community": {
43
77
"type": "string",
44
78
"format": "at-uri"
45
79
},
46
80
"description": {
47
81
"type": "string"
48
82
},
49
83
"allowedRoles": {
50
84
"type": "array",
51
85
"items": {
52
86
"type": "string",
53
87
"format": "record-key"
54
88
}
55
89
},
56
90
"allowedMembers": {
57
91
"type": "array",
58
92
"items": {
59
93
"type": "string",
60
94
"format": "did"
61
95
}
62
96
}
63
97
}
64
98
},
65
99
"description": "Creates a channel in a category of a community."
66
100
}
67
101
},
68
102
"$type": "com.atproto.lexicon.schema",
69
103
"lexicon": 1
70
104
}