app.lovesky.discover.getCandidates
Ranked cards for the caller to browse. Filtered by both sides' private preferences, blocks in either direction, prior likes and passes, and moderation labels. Requires an authenticated Lovesky session and a published card.
Details · query
| Kind | query |
|---|---|
| Authority | discover.lovesky.app |
| 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": "Ranked cards for the caller to browse. Filtered by both sides' private preferences, blocks in either direction, prior likes and passes, and moderation labels. Requires an authenticated Lovesky session and a published card.",
"errors": [
{
"description": "Caller has not published app.lovesky.actor.profile.",
"name": "NoCard"
},
{
"description": "Caller has not set private preferences.",
"name": "NoPreferences"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"candidates": {
"items": {
"ref": "app.lovesky.actor.defs#profileView",
"type": "ref"
},
"type": "array"
},
"cursor": {
"type": "string"
}
},
"required": [
"candidates"
],
"type": "object"
}
},
"parameters": {
"properties": {
"cursor": {
"type": "string"
},
"limit": {
"default": 20,
"maximum": 50,
"minimum": 1,
"type": "integer"
}
},
"type": "params"
},
"type": "query"
}
},
"id": "app.lovesky.discover.getCandidates",
"lexicon": 1
}