com.getorbyt.community.getCommunity
Schema Diff
+7 -4
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "A single Community by AT-URI, hydrated with viewer state when the request is authenticated.",
5
+
"description": "A single Community by AT-URI or by name, hydrated with viewer state when the request is authenticated. Exactly one of `community` and `name` is required: the AT-URI is the Community's identity, while the name is what a public link can carry.",
6
6
"errors": [
7
7
{
8
8
"name": "CommunityNotFound"
9
9
}
10
10
],
11
11
"output": {
12
12
"encoding": "application/json",
13
13
"schema": {
14
14
"properties": {
15
15
"community": {
16
16
"ref": "com.getorbyt.community.defs#view",
17
17
"type": "ref"
18
18
}
19
19
},
20
20
"required": [
21
21
"community"
22
22
],
23
23
"type": "object"
24
24
}
25
25
},
26
26
"parameters": {
27
27
"properties": {
28
28
"community": {
29
29
"format": "at-uri",
30
30
"type": "string"
31
+
},
32
+
"name": {
33
+
"description": "The Community's globally unique lowercase name, as it appears in a shared link.",
34
+
"maxLength": 63,
35
+
"minLength": 2,
36
+
"type": "string"
31
37
}
32
38
},
33
-
"required": [
34
-
"community"
35
-
],
36
39
"type": "params"
37
40
},
38
41
"type": "query"
39
42
}
40
43
},
41
44
"id": "com.getorbyt.community.getCommunity",
42
45
"lexicon": 1
43
46
}