dev.knotless.addRunner

Names an account in the repository's record as one of its runners, as `knotless runner add` does, as its owner logged in to this appview's web pages, or, for an organization's repository, an admin who joined it, logged in to the pages or with a service token from their own PDS for this method, for whom the appview's gateway writes as the organization. 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, or an admin's service token.

Details · procedure
Kindprocedure
Authorityknotless.dev
Indexed

Showing version bafyreigmqonec4afo2xxg4odzh7narixhq2xtq47tli6hf2r2kysop2x7e. Show the latest

Procedure

procedure · POST

Input

application/json

repo

requiredstring · at-uri

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

runner

requiredstring · at-identifier

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

Output

application/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.

Similar lexicons

semantic match

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

  • Stops naming an account among a repository's runners, as its owner logged in to this appview's pages.

  • Tells a runner, through the appview, that the caller's private repository names it among its runners; or a triager, among its triagers. Nothing written in a space reaches the firehose, so a runner learns of a private repository only so, from dev.knotless.listRunnerInvites; it then reads the repository's record, as a member of its space, before running anything. Inviting it again moves the invite to the end of its list. Requires a service token from the caller's PDS, audience the appview's DID, f

  • Names an account among a repository's agents.

  • Names an account a triager of a repository.

  • The runners a repository names.