dev.knotless.createOrgRepo

lexicons.knotless.dev

Documentation

Makes the repository as `knotless create` does: public unless asked for private, naming the runners given or those the gateway's appview offers, with no branches until the first push.

main procedure

Makes the repository as `knotless create` does: public unless asked for private, naming the runners given or those the gateway's appview offers, with no branches until the first push.

Input

Encodingapplication/json
defaultBranch string Optional

The branch its HEAD names, without refs/heads/: main when absent.

maxLength: 255 bytes
description string Optional

What the repository is, shown under its name.

maxLength: 3000 bytesmaxGraphemes: 300 graphemes
name string Required

The repository's name, its record key.

maxLength: 100 bytes
org stringdid Required

The organization.

private boolean Optional

Whether to make it private: a space of its own on the organization's PDS, which only its members read. Public when absent.

runners array Optional

The accounts that run its workflows: those the gateway's appview offers when absent.

maxLength: 20 items

Output

Encodingapplication/json
members array Required

The members of the organization who may push to it: on a public one, those anyone may see.

runners array Required

Its runners: a private one's can read it.

uninvited string Optional

Why a private one's runners were not told of it, when they were not.

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": "Makes the repository as `knotless create` does: public unless asked for private, naming the runners given or those the gateway's appview offers, with no branches until the first push.",
  "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"
        },
        "org": {
          "description": "The organization.",
          "format": "did",
          "type": "string"
        },
        "private": {
          "description": "Whether to make it private: a space of its own on the organization's PDS, which only its members read. Public when absent.",
          "type": "boolean"
        },
        "runners": {
          "description": "The accounts that run its workflows: those the gateway's appview offers when absent.",
          "items": {
            "ref": "#account",
            "type": "ref"
          },
          "maxLength": 20,
          "type": "array"
        }
      },
      "required": [
        "org",
        "name"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "members": {
          "description": "The members of the organization who may push to it: on a public one, those anyone may see.",
          "items": {
            "ref": "#account",
            "type": "ref"
          },
          "type": "array"
        },
        "runners": {
          "description": "Its runners: a private one's can read it.",
          "items": {
            "ref": "#account",
            "type": "ref"
          },
          "type": "array"
        },
        "uninvited": {
          "description": "Why a private one's runners were not told of it, when they were not.",
          "maxLength": 3000,
          "type": "string"
        }
      },
      "required": [
        "runners",
        "members"
      ],
      "type": "object"
    }
  },
  "type": "procedure"
}
account object

An account, by DID.

Properties

did string did Required

A decentralized identifier (DID).

View raw schema
{
  "description": "An account, by DID.",
  "properties": {
    "did": {
      "format": "did",
      "type": "string"
    }
  },
  "required": [
    "did"
  ],
  "type": "object"
}

Lexicon Garden

@