org.tangled.repo.createRepo

tangled.org

Documentation

Create a new repository

main procedure

Create a new repository

Input

Encodingapplication/json
createdAt stringdatetime Optional

An RFC 3339 formatted timestamp.

defaultBranch string Optional

Default branch of the repository.

description string Optional

No description available.

maxGraphemes: 140 graphemesminGraphemes: 1 graphemes
did stringdid Optional

Optional user-provided DID to use as the repo identity instead of minting one.

name stringrecord-key Required

Name of the repository.

source union Optional

A source to clone from, populate this when forking or importing a repository.

spindle stringdid Optional

A decentralized identifier (DID).

topics array Optional

Topics related to the repo

maxLength: 50 items
website stringuri Optional

Any URI related to the repo

Output

Encodingapplication/json
did stringdid Optional

A decentralized identifier (DID).

key string Optional

Multibase-encoded public signing key the knot holds for this repository

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": "Create a new repository",
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "defaultBranch": {
          "description": "Default branch of the repository.",
          "type": "string"
        },
        "description": {
          "maxGraphemes": 140,
          "minGraphemes": 1,
          "type": "string"
        },
        "did": {
          "description": "Optional user-provided DID to use as the repo identity instead of minting one.",
          "format": "did",
          "type": "string"
        },
        "name": {
          "description": "Name of the repository.",
          "format": "record-key",
          "type": "string"
        },
        "source": {
          "description": "A source to clone from, populate this when forking or importing a repository.",
          "refs": [
            "org.tangled.repo.defs#sourceTangled",
            "org.tangled.repo.defs#sourceExternal"
          ],
          "type": "union"
        },
        "spindle": {
          "format": "did",
          "type": "string"
        },
        "topics": {
          "description": "Topics related to the repo",
          "items": {
            "maxLength": 50,
            "type": "string"
          },
          "maxLength": 50,
          "type": "array"
        },
        "website": {
          "description": "Any URI related to the repo",
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "did": {
          "format": "did",
          "type": "string"
        },
        "key": {
          "description": "Multibase-encoded public signing key the knot holds for this repository",
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@