atproto/lexicons/app/bsky/unspecced/getSuggestedUsersSkeleton.json
Hailey 0e681d3036
add getSuggestedUsers (#3713)
* add lex

* Fix syntax errors

* Fix typo

* Make category optional

* Codegen

* setup endpoint

* nits

* changeset

---------

Co-authored-by: Eric Bailey <git@esb.lol>
2025-04-04 09:22:59 -07:00

47 lines
1.2 KiB
JSON

{
"lexicon": 1,
"id": "app.bsky.unspecced.getSuggestedUsersSkeleton",
"defs": {
"main": {
"type": "query",
"description": "Get a skeleton of suggested users. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedUsers",
"parameters": {
"type": "params",
"properties": {
"viewer": {
"type": "string",
"format": "did",
"description": "DID of the account making the request (not included for public/unauthenticated queries)."
},
"category": {
"type": "string",
"description": "Category of users to get suggestions for."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 25
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["dids"],
"properties": {
"dids": {
"type": "array",
"items": {
"type": "string",
"format": "did"
}
}
}
}
}
}
}
}