dev.knotless.createRepo

lexicons.knotless.dev

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Writes a dev.knotless.repo record under the name given in the account logged in to this appview's web pages, as `knotless create` does: public unless asked for private, naming the runners the appview offers for new repositories, and with no branches until the first push. Requires the session cookie the pages' login sets: the appview writes with the session it keeps for that account. Clients holding their own session write the record themselves.",
      "errors": [
        {
          "description": "The name is not one a repository can have, or the account has a repository by it already.",
          "name": "InvalidRequest"
        },
        {
          "description": "No account is logged in to the pages, or its session has ended.",
          "name": "AuthenticationRequired"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "defaultBranch": {
              "description": "The branch its HEAD names, without refs/heads/: main when absent.",
              "maxLength": 255,
              "type": "string"
            },
            "description": {
              "description": "What the repository is, shown under its name.",
              "maxGraphemes": 300,
              "maxLength": 3000,
              "type": "string"
            },
            "name": {
              "description": "The repository's name, its record key.",
              "maxLength": 100,
              "type": "string"
            },
            "private": {
              "description": "Whether to make it private, as `knotless create --private` does: a space of its own on the account's PDS, which only its members read, its runners among them. Public when absent.",
              "type": "boolean"
            }
          },
          "required": [
            "name"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "dev.knotless.defs#repoMade",
          "type": "ref"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Creates a repository in the account logged in to this appview's pages.",
  "id": "dev.knotless.createRepo",
  "lexicon": 1
}

Validate Record

Validate a record against dev.knotless.createRepo

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

Metadata

DID
did:plc:yqsg7znbbhfmj3a2nrpnaerk
CID
bafyreidaswr7mztzafrrqu7h6rv4wgtb2j23f346bka5zph25zms7lw2fi
Indexed At
2026-10-28 21:21 UTC
AT-URI
at://did:plc:yqsg7znbbhfmj3a2nrpnaerk/com.atproto.lexicon.schema/dev.knotless.createRepo

Referenced Schemas (1)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@