Something went wrong. Try again.
Monorepo for Tangled
Something went wrong. Try again.
JSON
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384{ "lexicon": 1, "id": "sh.tangled.repo.create", "defs": { "main": { "type": "procedure", "description": "Create a new repository", "input": { "encoding": "application/json", "schema": { "type": "object", "required": [ "rkey", "name" ], "properties": { "rkey": { "type": "string", "format": "record-key", "description": "Rkey of the repository record" }, "name": { "type": "string", "description": "Name of the repository" }, "defaultBranch": { "type": "string", "description": "Default branch to push to" }, "source": { "type": "ref", "ref": "#source", "description": "A source to clone from, populate this when forking or importing a repository." }, "repoDid": { "type": "string", "format": "did", "description": "Optional user-provided did:web to use as the repo identity instead of minting a did:plc." } } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "properties": { "repoDid": { "type": "string", "format": "did" }, "key": { "type": "string", "description": "Multibase-encoded public signing key the knot holds for this repository" } } } } }, "source": { "type": "object", "required": [ "url", "kind" ], "properties": { "url": { "type": "string", "format": "uri", "description": "Git URL to clone from" }, "kind": { "type": "string", "knownValues": [ "fork", "import" ], "description": "fork tracks the source as upstream; import is a one-time copy." } } } }}