Skip to content

app.bsky.unspecced.getSuggestionsSkeleton

Lexicon Version: 1

Type: query

Get a skeleton of suggested actors. Intended to be called and then hydrated through app.bsky.actor.getSuggestions

Parameters:

NameTypeReq’dDescriptionConstraints
viewerstringDID of the account making the request (not included for public/unauthenticated queries). Used to boost followed accounts in ranking.Format: did
limitintegerMin: 1
Max: 100
Default: 50
cursorstring
relativeToDidstringDID of the account to get suggestions relative to. If not provided, suggestions will be based on the viewer.Format: did
Output:
  • Encoding: application/json
  • Schema:

Schema Type: object

NameTypeReq’dDescriptionConstraints
cursorstring
actorsArray of app.bsky.unspecced.defs#skeletonSearchActor
relativeToDidstringDID of the account these suggestions are relative to. If this is returned undefined, suggestions are based on the viewer.Format: did
recIdintegerSnowflake for this recommendation, use when submitting recommendation events.

{
"lexicon": 1,
"id": "app.bsky.unspecced.getSuggestionsSkeleton",
"defs": {
"main": {
"type": "query",
"description": "Get a skeleton of suggested actors. Intended to be called and then hydrated through app.bsky.actor.getSuggestions",
"parameters": {
"type": "params",
"properties": {
"viewer": {
"type": "string",
"format": "did",
"description": "DID of the account making the request (not included for public/unauthenticated queries). Used to boost followed accounts in ranking."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 50
},
"cursor": {
"type": "string"
},
"relativeToDid": {
"type": "string",
"format": "did",
"description": "DID of the account to get suggestions relative to. If not provided, suggestions will be based on the viewer."
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": [
"actors"
],
"properties": {
"cursor": {
"type": "string"
},
"actors": {
"type": "array",
"items": {
"type": "ref",
"ref": "app.bsky.unspecced.defs#skeletonSearchActor"
}
},
"relativeToDid": {
"type": "string",
"format": "did",
"description": "DID of the account these suggestions are relative to. If this is returned undefined, suggestions are based on the viewer."
},
"recId": {
"type": "integer",
"description": "Snowflake for this recommendation, use when submitting recommendation events."
}
}
}
}
}
}
}