dev.knotless.addReaction

Writes a dev.knotless.reaction record naming the subject, with the content, in the account logged in to this appview's web pages, unless one is there already. Requires the session cookie the pages' login sets: the appview writes with the session it keeps for that account. Clients holding their own session write the record themselves.

Details · procedure
Kindprocedure
Authorityknotless.dev
Indexed

Procedure

procedure · POST

Input

application/json

repo

requiredstring · at-uri

The repository's dev.knotless.repo record, as dev.knotless.getThread takes it.

subject

requiredstring · at-uri

The dev.knotless.pull, dev.knotless.issue or dev.knotless.comment record on that repository.

Output

application/json

Errors

NotFound

No such public repository, or no such pull, issue or comment on it.

AuthenticationRequired

No account is logged in to the pages, or its session has ended.

Similar lexicons

semantic match

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

  • Takes a reaction back as the account logged in to this appview's pages.

  • The reactions to a pull or an issue, and to each comment on it.

  • Comments on a pull or an issue, or on lines of a pull's diff, or answers a comment, or reviews a pull, as the account logged in to this appview's pages.

  • An account's reaction to a pull, an issue or a comment, as one of a few emoji.

  • Stars a repository as the account logged in to this appview's pages.