at.upvote.toggleSignal

upvote.at

Documentation

Toggle an upvote signal on a standard.site document

main procedure

Toggle an upvote signal on a standard.site document

Input

Encodingapplication/json
standardSiteDocument stringat-uri Required

The subject standard.site document of an upvote.at signal

Output

Encodingapplication/json
action string Required

Whether the upvote was added or removed

cid stringcid Required

CID of the created signal record

uri stringat-uri Required

AT URI of the created signal record

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
{
  "type": "procedure",
  "input": {
    "schema": {
      "type": "object",
      "required": [
        "standardSiteDocument"
      ],
      "properties": {
        "standardSiteDocument": {
          "type": "string",
          "format": "at-uri",
          "description": "The subject standard.site document of an upvote.at signal"
        }
      }
    },
    "encoding": "application/json"
  },
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "uri",
        "cid",
        "action"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid",
          "description": "CID of the created signal record"
        },
        "uri": {
          "type": "string",
          "format": "at-uri",
          "description": "AT URI of the created signal record"
        },
        "action": {
          "enum": [
            "added",
            "removed"
          ],
          "type": "string",
          "description": "Whether the upvote was added or removed"
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Toggle an upvote signal on a standard.site document"
}

Lexicon Garden

@