space.highport.manage.connectSpace
Schema Diff
+6 -6
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "Connect a space so bard reads and publishes the authority's site and tile records from it. Authority only, and the delegation token must be the authority's own. Bard exchanges the token for a credential under its own key, registers for notifications, bootstraps the authority's repo, and records the space. Idempotent.",
5
+
"description": "Connect a space so bard can read and publish the authority's site and tile records from it. Only the authority can call this, with a delegation token it issued. Bard trades the token for a credential, registers for notifications, and pulls the authority's repo. Safe to repeat.",
6
6
"errors": [
7
7
{
8
8
"description": "Only the space's authority may connect it.",
9
9
"name": "NotSpaceAuthority"
10
10
},
11
11
{
12
-
"description": "The delegation token's issuer is not the calling identity.",
12
+
"description": "The delegation token was not issued by the caller.",
13
13
"name": "GrantIssuerMismatch"
14
14
},
15
15
{
16
-
"description": "The delegation token is past its lifetime.",
16
+
"description": "The delegation token has expired.",
17
17
"name": "GrantExpired"
18
18
},
19
19
{
20
20
"description": "The space host refused the exchange.",
21
21
"name": "GrantRefused"
22
22
},
23
23
{
24
-
"description": "The space's app access does not admit bard; the space is recorded and will sync once it does.",
24
+
"description": "The space does not allow bard access yet. The space is recorded and will sync once it does.",
25
25
"name": "AppNotAllowed"
26
26
},
27
27
{
28
-
"description": "This identity has reached its connected-space limit.",
28
+
"description": "This identity has reached its limit of connected spaces.",
29
29
"name": "SpaceQuotaExceeded"
30
30
},
31
31
{
32
32
"description": "Space support is disabled on this deployment.",
33
33
"name": "SpacesDisabled"
34
34
}
35
35
],
36
36
"input": {
37
37
"encoding": "application/json",
38
38
"schema": {
39
39
"properties": {
40
40
"delegationToken": {
41
-
"description": "A delegation token minted by the authority for this space; spent immediately and never stored.",
41
+
"description": "A delegation token the authority minted for this space. Used once and never stored.",
42
42
"type": "string"
43
43
},
44
44
"space": {
45
45
"description": "The space, at://{authority}/space/space.highport.sites.space/{skey}.",
46
46
"format": "at-uri",
47
47
"type": "string"
48
48
}
49
49
},
50
50
"required": [
51
51
"space",
52
52
"delegationToken"
53
53
],
54
54
"type": "object"
55
55
}
56
56
},
57
57
"output": {
58
58
"encoding": "application/json",
59
59
"schema": {
60
60
"ref": "space.highport.defs#spaceView",
61
61
"type": "ref"
62
62
}
63
63
},
64
64
"type": "procedure"
65
65
}
66
66
},
67
67
"id": "space.highport.manage.connectSpace",
68
68
"lexicon": 1
69
69
}