dev.knotless.setItemState
Writes a dev.knotless.state record in the account logged in to this appview's web pages, as `knotless pull close`, `reopen`, `resolve` and `unresolve` do. It counts if that account opened the pull or issue (or the thread), or owns or collaborates on the repository. Requires the session cookie the pages' login sets.
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.
What it is to be: `closed`, or `open` again; for a thread, `resolved`, or `open` again. Merging a pull is another thing.
maxLength: 64knownValues: open | closed | resolved
The dev.knotless.pull or dev.knotless.issue; or the dev.knotless.comment starting a thread on a pull's lines.
Output
application/jsonThe dev.knotless.state record written.
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.state
recordA pull or issue opened, closed or merged, or a pull pointed at another target branch; or a thread on a pull's lines resolved or opened again.
-
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.
-
dev.knotless.addReaction
procedureReacts to a pull, an issue or a comment as the account logged in to this appview's pages.
-
dev.knotless.labelItem
procedurePuts a label on a pull or an issue, or takes it off, as the account logged in to this appview's pages.
-
dev.knotless.editItem
procedureChanges what a pull, an issue or a comment says, as its author, logged in to this appview's pages.