dev.knotless.addRunner

lexicons.knotless.dev

Documentation

Names an account in the repository's record as one of its runners, as `knotless runners add` does, as the account logged in to this appview's web pages, which must be its owner. A private repository's runner is made a member of it, to read it, and is told of it through dev.knotless.inviteRunner. Answers with the runners it names after. Requires the session cookie the pages' login sets.

main procedure

Names an account in the repository's record as one of its runners, as `knotless runners add` does, as the account logged in to this appview's web pages, which must be its owner. A private repository's runner is made a member of it, to read it, and is told of it through dev.knotless.inviteRunner. Answers with the runners it names after. Requires the session cookie the pages' login sets.

Input

Encodingapplication/json
repo stringat-uri Required

The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.

runner stringat-identifier Required

The account a knotless runner reports as, by handle or DID.

Output

Encodingapplication/json

Errors

NotFound No such repository, or no such account.
AuthenticationRequired No account is logged in to the pages, or its session has ended.
UpstreamFailure Nothing changed, as the reason says: the account is not the owner.
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": "Names an account in the repository's record as one of its runners, as `knotless runners add` does, as the account logged in to this appview's web pages, which must be its owner. A private repository's runner is made a member of it, to read it, and is told of it through dev.knotless.inviteRunner. Answers with the runners it names after. Requires the session cookie the pages' login sets.",
  "errors": [
    {
      "description": "No such repository, or no such account.",
      "name": "NotFound"
    },
    {
      "description": "No account is logged in to the pages, or its session has ended.",
      "name": "AuthenticationRequired"
    },
    {
      "description": "Nothing changed, as the reason says: the account is not the owner.",
      "name": "UpstreamFailure"
    }
  ],
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "repo": {
          "description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
          "format": "at-uri",
          "type": "string"
        },
        "runner": {
          "description": "The account a knotless runner reports as, by handle or DID.",
          "format": "at-identifier",
          "type": "string"
        }
      },
      "required": [
        "repo",
        "runner"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "ref": "dev.knotless.listRunners#runners",
      "type": "ref"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@