e277158f70
* Add recId to getSuggestionsSkeleton * codegen * add recId to app client endpoints * codegen * changeset --------- Co-authored-by: Hailey <me@haileyok.com>
44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"lexicon": 1,
|
|
"id": "app.bsky.actor.getSuggestions",
|
|
"defs": {
|
|
"main": {
|
|
"type": "query",
|
|
"description": "Get a list of suggested actors. Expected use is discovery of accounts to follow during new account onboarding.",
|
|
"parameters": {
|
|
"type": "params",
|
|
"properties": {
|
|
"limit": {
|
|
"type": "integer",
|
|
"minimum": 1,
|
|
"maximum": 100,
|
|
"default": 50
|
|
},
|
|
"cursor": { "type": "string" }
|
|
}
|
|
},
|
|
"output": {
|
|
"encoding": "application/json",
|
|
"schema": {
|
|
"type": "object",
|
|
"required": ["actors"],
|
|
"properties": {
|
|
"cursor": { "type": "string" },
|
|
"actors": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "ref",
|
|
"ref": "app.bsky.actor.defs#profileView"
|
|
}
|
|
},
|
|
"recId": {
|
|
"type": "integer",
|
|
"description": "Snowflake for this recommendation, use when submitting recommendation events."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|