so.sprk.sound.getAudioPosts
Get a list of posts that use a given audio (by AT-URI).
Details · query
| Kind | query |
|---|---|
| Authority | sound.sprk.so |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Get a list of posts that use a given audio (by AT-URI).",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"audio": {
"ref": "so.sprk.sound.defs#audioView",
"type": "ref"
},
"cursor": {
"type": "string"
},
"posts": {
"items": {
"ref": "so.sprk.feed.defs#postView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"posts"
],
"type": "object"
}
},
"parameters": {
"properties": {
"cursor": {
"type": "string"
},
"limit": {
"default": 50,
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"uri": {
"description": "Audio AT-URI to find referencing posts for.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri"
],
"type": "params"
},
"type": "query"
}
},
"id": "so.sprk.sound.getAudioPosts",
"lexicon": 1
}