org.tangled.repo.reserveKey

tangled.org

Documentation

Reserve a repo identity under a DID the caller brings. The knot seals and holds a signing key for the repo DID; the caller publishes the matching public key in that DID's document before calling org.tangled.repo.createRepo with the same DID.

main procedure

Reserve a repo identity under a DID the caller brings. The knot seals and holds a signing key for the repo DID; the caller publishes the matching public key in that DID's document before calling org.tangled.repo.createRepo with the same DID.

Input

Encodingapplication/json
repo stringdid Required

The caller-minted DID to reserve

Output

Encodingapplication/json
key string Required

Multibase-encoded public signing key the knot holds for this repo identity

repo stringdid Required

A decentralized identifier (DID).

Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "description": "Reserve a repo identity under a DID the caller brings. The knot seals and holds a signing key for the repo DID; the caller publishes the matching public key in that DID's document before calling org.tangled.repo.createRepo with the same DID.",
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "repo": {
          "description": "The caller-minted DID to reserve",
          "format": "did",
          "type": "string"
        }
      },
      "required": [
        "repo"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "key": {
          "description": "Multibase-encoded public signing key the knot holds for this repo identity",
          "type": "string"
        },
        "repo": {
          "format": "did",
          "type": "string"
        }
      },
      "required": [
        "repo",
        "key"
      ],
      "type": "object"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@