dev.knotless.putSubscription
Chooses what the asking account hears of a repository, a pull or an issue, as the appview keeps it for that account alone: no record is written. A choice counts from when it is made, and choosing the level it has already keeps it as of then. Requires authentication: a service token, or the session cookie the pages' login sets, from the pages themselves.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | knotless.dev |
| Indexed |
Procedure
procedure · POSTInput
application/jsonFor a repository: `all` it does, its `releases` alone, or `ignore` it. For a pull or an issue: `subscribed` to every comment, or `muted`. Either way, `participating` forgets the choice, so the account hears as its part in it says; but for the account's own repository, which it hears all of until it chooses, `participating` is kept as a choice.
maxLength: 64knownValues: participating | all | releases | ignore | subscribed | muted
A repository's dev.knotless.repo record, or a dev.knotless.pull or dev.knotless.issue.
Output
application/jsonschema
refErrors
InvalidRequest
A subject that is no repository, pull or issue, a level it cannot take, or more choices than the appview keeps for one account.
AuthenticationRequired
No account asks.
NotFound
No such repository the account can read, or this appview keeps no index.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
What the asking account chose to hear of repositories, pulls and issues.
-
dev.knotless.addReaction
procedureReacts to a pull, an issue or a comment as the account logged in to this appview's pages.