dev.knotless.labelItem
Rewrites the dev.knotless.label record about a pull or an issue in the account logged in to this appview's web pages, as `knotless pull label` and `knotless pull label --undo` do: the repository's owner and collaborators put on any label it defines, and its triagers those of their scopes. Putting on an exclusive label takes the others of its scope off. Requires the session cookie the pages' login sets.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | knotless.dev |
| Indexed |
Procedure
procedure · POSTInput
application/jsonThe name of a label the repository defines.
maxLength: 100maxGraphemes: 50
removed
booleanTrue to take it off rather than put it on.
default: false
The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.
The dev.knotless.pull or dev.knotless.issue.
Output
application/jsonThe labels it carries now, in the order the repository defines them.
Errors
NotFound
No such repository.
AuthenticationRequired
No account is logged in to the pages, or its session has ended.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.knotless.removeLabel
procedureTakes a label away from a repository.
-
dev.knotless.defineLabel
procedureDefines a label pulls and issues of a repository may carry.
-
dev.knotless.label
recordThe labels one account puts on a pull or issue, from those its repository defines.
-
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.
-
dev.knotless.hideItem
procedureHides a pull, an issue or a comment from a repository, or shows it again, as the repository's owner, logged in to this appview's pages.