an attempt to make a lightweight, easily self-hostable, scoped bluesky appview

party.whey.app.bsky.feed.getRepostedByPartial#

{
  "lexicon": 1,
  "id": "party.whey.app.bsky.feed.getRepostedByPartial",
  "defs": {
    "main": {
      "type": "query",
      "description": "Get a list of reposts for a given post.",
      "parameters": {
        "type": "params",
        "required": [
          "uri"
        ],
        "properties": {
          "uri": {
            "type": "string",
            "format": "at-uri",
            "description": "Reference (AT-URI) of post record"
          },
          "cid": {
            "type": "string",
            "format": "cid",
            "description": "If supplied, filters to reposts of specific version (by CID) of the post record."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "default": 50
          },
          "cursor": {
            "type": "string"
          }
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": [
            "uri",
            "repostedBy"
          ],
          "properties": {
            "uri": {
              "type": "string",
              "format": "at-uri"
            },
            "cid": {
              "type": "string",
              "format": "cid"
            },
            "cursor": {
              "type": "string"
            },
            "repostedBy": {
              "type": "array",
              "items": {
                "type": "union",
                "refs": [
                  "party.whey.app.bsky.actor.defs#profileViewRef",
                  "app.bsky.actor.defs#profileView"
                ]
              }
            }
          }
        }
      }
    }
  }
}