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
Kindprocedure
Authorityknotless.dev
Indexed

Procedure

procedure · POST

Input

application/json

level

requiredstring

For 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: 64
  • knownValues: participating | all | releases | ignore | subscribed | muted

subject

requiredstring · at-uri

A repository's dev.knotless.repo record, or a dev.knotless.pull or dev.knotless.issue.

Output

application/json

Errors

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 match

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