appBskyFeedGetRepostedBy top-level constant
app.bsky.feed.getRepostedBy
Implementation
const appBskyFeedGetRepostedBy = <String, dynamic>{
"lexicon": 1,
"id": "app.bsky.feed.getRepostedBy",
"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",
"default": 50,
"minimum": 1,
"maximum": 100
},
"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": "ref", "ref": "app.bsky.actor.defs#profileView"}
}
}
}
}
}
}
};