dev.knotless.getReactions

lexicons.knotless.dev

Documentation

How many accounts reacted to a pull or an issue, and to each comment on it, with each content, as the appview has indexed their dev.knotless.reaction records; for a private repository, as its space has them, to its members. Accounts taken down, or that the repository's owner blocked, are left out, as are comments the owner hid. Personalized when an account asks, by a service token or the pages' session cookie: its own reactions are named.

main query

How many accounts reacted to a pull or an issue, and to each comment on it, with each content, as the appview has indexed their dev.knotless.reaction records; for a private repository, as its space has them, to its members. Accounts taken down, or that the repository's owner blocked, are left out, as are comments the owner hid. Personalized when an account asks, by a service token or the pages' session cookie: its own reactions are named.

Parameters

repo string at-uri Required

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

uri string at-uri Required

The dev.knotless.pull or dev.knotless.issue record.

Output

Encodingapplication/json
subjects array Required

The pull or issue, then each comment on it oldest first: those any account reacted to.

Errors

NotFound No such repository or record on it; or this appview keeps no index, so it knows no reactions.
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
The repository's dev.knotless.repo record, as dev.knotless.getThread takes it.
The dev.knotless.pull or dev.knotless.issue record.
View raw schema
{
  "description": "How many accounts reacted to a pull or an issue, and to each comment on it, with each content, as the appview has indexed their dev.knotless.reaction records; for a private repository, as its space has them, to its members. Accounts taken down, or that the repository's owner blocked, are left out, as are comments the owner hid. Personalized when an account asks, by a service token or the pages' session cookie: its own reactions are named.",
  "errors": [
    {
      "description": "No such repository or record on it; or this appview keeps no index, so it knows no reactions.",
      "name": "NotFound"
    }
  ],
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "subjects": {
          "description": "The pull or issue, then each comment on it oldest first: those any account reacted to.",
          "items": {
            "ref": "dev.knotless.defs#reactionState",
            "type": "ref"
          },
          "type": "array"
        }
      },
      "required": [
        "subjects"
      ],
      "type": "object"
    }
  },
  "parameters": {
    "properties": {
      "repo": {
        "description": "The repository's dev.knotless.repo record, as dev.knotless.getThread takes it.",
        "format": "at-uri",
        "type": "string"
      },
      "uri": {
        "description": "The dev.knotless.pull or dev.knotless.issue record.",
        "format": "at-uri",
        "type": "string"
      }
    },
    "required": [
      "repo",
      "uri"
    ],
    "type": "params"
  },
  "type": "query"
}

Lexicon Garden

@