dev.knotless.setTriager
Names the account among the triagers of the repository's dev.knotless.repo record, for the scopes given, in place of what it had, as `knotless triager add` does: its labels of those scopes count, below the owner's and collaborators'. Its owner can, logged in to this appview's web pages: the appview writes with the session it keeps for that account, which the pages' session cookie names. For an organization's repository, so can an admin who joined it, logged in to the pages or with a service token from their own PDS for this method: the appview's gateway, which the organization delegated its writes to, writes as the organization.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | knotless.dev |
| Indexed |
Procedure
procedure · POSTInput
application/jsonThe repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.
The scopes of the labels it may put on, at least one.
maxLength: 50
The account, by handle or DID.
Output
application/jsonThe repository's triagers now.
warning
stringWhy the account was not told of a private repository it now triages, when it could not be invited to it; absent otherwise.
Errors
NotFound
No such repository.
InvalidRequest
No scopes were named, or there is no such account.
AuthenticationRequired
No account is logged in to the pages, or its session has ended.
Forbidden
The account logged in is not the repository's owner.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.knotless.removeTriager
procedureStops counting an account's labels on a repository.
-
dev.knotless.addAgent
procedureNames an account among a repository's agents.
-
dev.knotless.addRunner
procedureNames an account among a repository's runners, as its owner logged in to this appview's pages.
-
dev.knotless.shareRepo
procedureLets an account push to a repository, or read a private one.
-
dev.knotless.assignItem
procedureAssigns a pull or an issue to an account, or asks it to review a pull, or no longer, as the account logged in to this appview's pages.