social.grain.unspecced.getGalleryFavorites
Get the accounts that have favorited a gallery, most recent first.
Details · query
| Kind | query |
|---|---|
| Authority | unspecced.grain.social |
| Indexed |
Checks
Validunlimited-stringdefs.favoriteItem.properties.avatarNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.favoriteItem.properties.descriptionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.favoriteItem.properties.displayNameNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.favoriteItem.properties.handleNo maxLength, maxGraphemes or format limits this string.unlimited-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": {
"favoriteItem": {
"properties": {
"avatar": {
"type": "string"
},
"description": {
"type": "string"
},
"did": {
"format": "did",
"type": "string"
},
"displayName": {
"type": "string"
},
"handle": {
"type": "string"
},
"viewer": {
"ref": "social.grain.actor.defs#viewerState",
"type": "ref"
}
},
"required": [
"did"
],
"type": "object"
},
"main": {
"description": "Get the accounts that have favorited a gallery, most recent first.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"type": "string"
},
"items": {
"items": {
"ref": "social.grain.unspecced.getGalleryFavorites#favoriteItem",
"type": "ref"
},
"type": "array"
},
"totalCount": {
"type": "integer"
}
},
"type": "object"
}
},
"parameters": {
"properties": {
"cursor": {
"type": "string"
},
"gallery": {
"format": "at-uri",
"type": "string"
},
"limit": {
"default": 50,
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"viewer": {
"format": "did",
"type": "string"
}
},
"required": [
"gallery"
],
"type": "params"
},
"type": "query"
}
},
"id": "social.grain.unspecced.getGalleryFavorites",
"lexicon": 1
}