social.colibri.beta.bridge.addReaction

colibri.social

Documentation

Adds a reaction from someone on another service to a message in a linked channel. The community writes the reaction, attributed to that person.

main procedure

Adds a reaction from someone on another service to a message in a linked channel. The community writes the reaction, attributed to that person.

Input

Encodingapplication/json
channel stringspace-ref Required

The linked channel or thread the record lives in.

community stringdid Required

The community the registration belongs to.

emoji string Required

The reaction, as an emoji or a custom shortcode.

maxLength: 64 bytes
registration stringtid Required

Record key of the registration.

Output

Encodingapplication/json
rkey stringrecord-key Required

Record key of the record the community wrote.

Errors

AuthRequired The request is missing, malformed, or unverifiable service auth.
CommunityNotFound No community exists at the given DID.
RegistrationNotFound The community has no bridge registration with that id.
Forbidden The caller is not the bridge this registration belongs to.
RegistrationDisabled An admin has paused this registration.
ChannelNotLinked The channel is not linked to this registration.
RateLimited The bridge sent too many requests. Retry after the interval in the response headers.
CredentialsUnavailable The AppView cannot act as the community because its stored credentials are missing or unusable.
AlreadyReacted This person already reacted to the message with the same emoji.
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://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "description": "Adds a reaction from someone on another service to a message in a linked channel. The community writes the reaction, attributed to that person.",
  "errors": [
    {
      "description": "The request is missing, malformed, or unverifiable service auth.",
      "name": "AuthRequired"
    },
    {
      "description": "No community exists at the given DID.",
      "name": "CommunityNotFound"
    },
    {
      "description": "The community has no bridge registration with that id.",
      "name": "RegistrationNotFound"
    },
    {
      "description": "The caller is not the bridge this registration belongs to.",
      "name": "Forbidden"
    },
    {
      "description": "An admin has paused this registration.",
      "name": "RegistrationDisabled"
    },
    {
      "description": "The channel is not linked to this registration.",
      "name": "ChannelNotLinked"
    },
    {
      "description": "The bridge sent too many requests. Retry after the interval in the response headers.",
      "name": "RateLimited"
    },
    {
      "description": "The AppView cannot act as the community because its stored credentials are missing or unusable.",
      "name": "CredentialsUnavailable"
    },
    {
      "description": "This person already reacted to the message with the same emoji.",
      "name": "AlreadyReacted"
    }
  ],
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "author": {
          "description": "Who reacted.",
          "ref": "social.colibri.beta.bridge.defs#remoteAuthor",
          "type": "ref"
        },
        "channel": {
          "description": "The linked channel or thread the record lives in.",
          "format": "space-ref",
          "type": "string"
        },
        "community": {
          "description": "The community the registration belongs to.",
          "format": "did",
          "type": "string"
        },
        "emoji": {
          "description": "The reaction, as an emoji or a custom shortcode.",
          "maxLength": 64,
          "type": "string"
        },
        "registration": {
          "description": "Record key of the registration.",
          "format": "tid",
          "type": "string"
        },
        "target": {
          "description": "The message being reacted to.",
          "ref": "social.colibri.beta.defs#recordRef",
          "type": "ref"
        }
      },
      "required": [
        "community",
        "registration",
        "channel",
        "author",
        "target",
        "emoji"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "rkey": {
          "description": "Record key of the record the community wrote.",
          "format": "record-key",
          "type": "string"
        }
      },
      "required": [
        "rkey"
      ],
      "type": "object"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@