full diff

space.highport.manage.connectSpace

From
bafyreihcyc2qtgtjgcuevf2gooxkodbhq24haqz5eu6czfsiyyx7en2su4 indexed 2026-09-01 13:03 UTC View this version
To
bafyreifjn5zom4yus3ffvptgnaqyo66dzzoef7uufgwtatxh5teclgdlae indexed 2026-09-17 17:49 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "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.",
66 "errors": [
77 {
88 "description": "Only the space's authority may connect it.",
99 "name": "NotSpaceAuthority"
1010 },
1111 {
12 "description": "The delegation token's issuer is not the calling identity.",
12 "description": "The delegation token was not issued by the caller.",
1313 "name": "GrantIssuerMismatch"
1414 },
1515 {
16 "description": "The delegation token is past its lifetime.",
16 "description": "The delegation token has expired.",
1717 "name": "GrantExpired"
1818 },
1919 {
2020 "description": "The space host refused the exchange.",
2121 "name": "GrantRefused"
2222 },
2323 {
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.",
2525 "name": "AppNotAllowed"
2626 },
2727 {
28 "description": "This identity has reached its connected-space limit.",
28 "description": "This identity has reached its limit of connected spaces.",
2929 "name": "SpaceQuotaExceeded"
3030 },
3131 {
3232 "description": "Space support is disabled on this deployment.",
3333 "name": "SpacesDisabled"
3434 }
3535 ],
3636 "input": {
3737 "encoding": "application/json",
3838 "schema": {
3939 "properties": {
4040 "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.",
4242 "type": "string"
4343 },
4444 "space": {
4545 "description": "The space, at://{authority}/space/space.highport.sites.space/{skey}.",
4646 "format": "at-uri",
4747 "type": "string"
4848 }
4949 },
5050 "required": [
5151 "space",
5252 "delegationToken"
5353 ],
5454 "type": "object"
5555 }
5656 },
5757 "output": {
5858 "encoding": "application/json",
5959 "schema": {
6060 "ref": "space.highport.defs#spaceView",
6161 "type": "ref"
6262 }
6363 },
6464 "type": "procedure"
6565 }
6666 },
6767 "id": "space.highport.manage.connectSpace",
6868 "lexicon": 1
6969}

Compare other versions