social.coves.community.subscribe
Schema Diff
+2 -2
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 1 non-breaking change.
Breaking Changes (1)
- ConstraintAdded ConstraintAdded { vertex_id: "social.coves.community.subscribe:input.community", sort: "maxLength", value: "320" }
Non-Breaking Changes (1)
- ConstraintRemoved ConstraintRemoved { vertex_id: "social.coves.community.subscribe:input.community", sort: "format" }
Migration Guidance
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "social.coves.community.subscribe:input.community", sort: "maxLength", value: "320" }
- ConstraintRemoved ConstraintRemoved { vertex_id: "social.coves.community.subscribe:input.community", sort: "format" }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Subscribe to a community to see its posts in your feed. Requires authentication.",
6
6
"errors": [
7
7
{
8
8
"description": "Community not found",
9
9
"name": "CommunityNotFound"
10
10
},
11
11
{
12
12
"description": "Cannot subscribe - you are blocked from this community",
13
13
"name": "Blocked"
14
14
}
15
15
],
16
16
"input": {
17
17
"encoding": "application/json",
18
18
"schema": {
19
19
"properties": {
20
20
"community": {
21
-
"description": "DID or handle of the community to subscribe to",
22
-
"format": "at-identifier",
21
+
"description": "Community identifier (DID, handle, name@origin, or bare local name) of the community to subscribe to",
22
+
"maxLength": 320,
23
23
"type": "string"
24
24
}
25
25
},
26
26
"required": [
27
27
"community"
28
28
],
29
29
"type": "object"
30
30
}
31
31
},
32
32
"output": {
33
33
"encoding": "application/json",
34
34
"schema": {
35
35
"properties": {
36
36
"cid": {
37
37
"description": "CID of the created subscription record",
38
38
"format": "cid",
39
39
"type": "string"
40
40
},
41
41
"existing": {
42
42
"description": "True if item was already subscribed",
43
43
"type": "boolean"
44
44
},
45
45
"uri": {
46
46
"description": "AT-URI of the created subscription record",
47
47
"format": "at-uri",
48
48
"type": "string"
49
49
}
50
50
},
51
51
"required": [
52
52
"uri",
53
53
"cid"
54
54
],
55
55
"type": "object"
56
56
}
57
57
},
58
58
"type": "procedure"
59
59
}
60
60
},
61
61
"id": "social.coves.community.subscribe",
62
62
"lexicon": 1
63
63
}