dev.knotless.createOrgRepo
Makes the repository as `knotless repo 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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | knotless.dev |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"account": {
"description": "An account, by DID.",
"properties": {
"did": {
"format": "did",
"type": "string"
}
},
"required": [
"did"
],
"type": "object"
},
"main": {
"description": "Makes the repository as `knotless repo 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"
}
},
"description": "Creates a repository in an organization's account, through the gateway the organization delegated writes to, which makes it as the organization, as `knotless repo create` does. The caller must be an admin of it who joined. Requires a service token from the caller's PDS, audience the gateway's DID, for this method.",
"id": "dev.knotless.createOrgRepo",
"lexicon": 1
}