lol.dids.manage.connectSpace

ngerakines.me

{
  "id": "lol.dids.manage.connectSpace",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "space",
            "delegationToken"
          ],
          "properties": {
            "space": {
              "type": "string",
              "format": "at-uri",
              "description": "The space, at://{authority}/space/lol.dids.sites.space/{skey}."
            },
            "delegationToken": {
              "type": "string",
              "description": "A delegation token minted by the authority for this space; spent immediately and never stored."
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "NotSpaceAuthority",
          "description": "Only the space's authority may connect it."
        },
        {
          "name": "GrantIssuerMismatch",
          "description": "The delegation token's issuer is not the calling identity."
        },
        {
          "name": "GrantExpired",
          "description": "The delegation token is past its lifetime."
        },
        {
          "name": "GrantRefused",
          "description": "The space host refused the exchange."
        },
        {
          "name": "AppNotAllowed",
          "description": "The space's app access does not admit bard; the space is recorded and will sync once it does."
        },
        {
          "name": "SpaceQuotaExceeded",
          "description": "This identity has reached its connected-space limit."
        },
        {
          "name": "SpacesDisabled",
          "description": "Space support is disabled on this deployment."
        }
      ],
      "output": {
        "schema": {
          "ref": "lol.dids.defs#spaceView",
          "type": "ref"
        },
        "encoding": "application/json"
      },
      "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."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against lol.dids.manage.connectSpace

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:cbkjy5n7bk3ax2wplmtjofq2
CID
bafyreidprx4i2g5djp5ehwhrgow3cqfjs57ofb7ieglf5gxjqwddeg7qse
Indexed At
2026-08-30 03:10 UTC
AT-URI
at://did:plc:cbkjy5n7bk3ax2wplmtjofq2/com.atproto.lexicon.schema/lol.dids.manage.connectSpace

Referenced Schemas (1)

Lexicon Garden

@