blue.moji.collection.searchItems
Search Bluemoji by alias or alt text. Searches network-wide by default (subject to takedown filtering) — pass 'repo' to restrict to a single repo's own collection, e.g. for a composer picker limited to the signed-in user's emoji. Intended as shared infrastructure so clients don't need to maintain their own emoji search index for :-autocomplete pickers.
Details · query
| Kind | query |
|---|---|
| Authority | collection.moji.blue |
| 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": "Search Bluemoji by alias or alt text. Searches network-wide by default (subject to takedown filtering) — pass 'repo' to restrict to a single repo's own collection, e.g. for a composer picker limited to the signed-in user's emoji. Intended as shared infrastructure so clients don't need to maintain their own emoji search index for :-autocomplete pickers.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"type": "string"
},
"items": {
"items": {
"ref": "blue.moji.collection.item#itemView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
}
},
"parameters": {
"properties": {
"cursor": {
"type": "string"
},
"limit": {
"default": 25,
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"q": {
"description": "Search query, matched against the alias and alt text.",
"maxLength": 100,
"minLength": 1,
"type": "string"
},
"repo": {
"description": "Restrict results to a single repo's collection. Network-wide search when omitted.",
"format": "at-identifier",
"type": "string"
}
},
"required": [
"q"
],
"type": "params"
},
"type": "query"
}
},
"id": "blue.moji.collection.searchItems",
"lexicon": 1
}