full diff

dev.knotless.createRepo

From
bafyreidaswr7mztzafrrqu7h6rv4wgtb2j23f346bka5zph25zms7lw2fi indexed 2026-10-28 21:21 UTC View this version
To
bafyreiaex67cib2t6o5slqnk3fc4ywgnvkfq7v4iannmku7kal6njztc54 indexed 2026-11-04 13:32 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "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.",
5 "description": "Writes a dev.knotless.repo record under the name given in the account logged in to this appview's web pages, as `knotless repo 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.",
66 "errors": [
77 {
88 "description": "The name is not one a repository can have, or the account has a repository by it already.",
99 "name": "InvalidRequest"
1010 },
1111 {
1212 "description": "No account is logged in to the pages, or its session has ended.",
1313 "name": "AuthenticationRequired"
1414 }
1515 ],
1616 "input": {
1717 "encoding": "application/json",
1818 "schema": {
1919 "properties": {
2020 "defaultBranch": {
2121 "description": "The branch its HEAD names, without refs/heads/: main when absent.",
2222 "maxLength": 255,
2323 "type": "string"
2424 },
2525 "description": {
2626 "description": "What the repository is, shown under its name.",
2727 "maxGraphemes": 300,
2828 "maxLength": 3000,
2929 "type": "string"
3030 },
3131 "name": {
3232 "description": "The repository's name, its record key.",
3333 "maxLength": 100,
3434 "type": "string"
3535 },
3636 "private": {
37 "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.",
37 "description": "Whether to make it private, as `knotless repo 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.",
3838 "type": "boolean"
3939 }
4040 },
4141 "required": [
4242 "name"
4343 ],
4444 "type": "object"
4545 }
4646 },
4747 "output": {
4848 "encoding": "application/json",
4949 "schema": {
5050 "ref": "dev.knotless.defs#repoMade",
5151 "type": "ref"
5252 }
5353 },
5454 "type": "procedure"
5555 }
5656 },
5757 "description": "Creates a repository in the account logged in to this appview's pages.",
5858 "id": "dev.knotless.createRepo",
5959 "lexicon": 1
6060}

Compare other versions