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

Lexicon Garden

@