atproto blogging
1{
2 "lexicon": 1,
3 "id": "app.bsky.unspecced.getSuggestionsSkeleton",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Get a skeleton of suggested actors. Intended to be called and then hydrated through app.bsky.actor.getSuggestions",
8 "parameters": {
9 "type": "params",
10 "properties": {
11 "cursor": {
12 "type": "string"
13 },
14 "limit": {
15 "type": "integer",
16 "default": 50,
17 "minimum": 1,
18 "maximum": 100
19 },
20 "relativeToDid": {
21 "type": "string",
22 "description": "DID of the account to get suggestions relative to. If not provided, suggestions will be based on the viewer.",
23 "format": "did"
24 },
25 "viewer": {
26 "type": "string",
27 "description": "DID of the account making the request (not included for public/unauthenticated queries). Used to boost followed accounts in ranking.",
28 "format": "did"
29 }
30 }
31 },
32 "output": {
33 "encoding": "application/json",
34 "schema": {
35 "type": "object",
36 "required": [
37 "actors"
38 ],
39 "properties": {
40 "actors": {
41 "type": "array",
42 "items": {
43 "type": "ref",
44 "ref": "app.bsky.unspecced.defs#skeletonSearchActor"
45 }
46 },
47 "cursor": {
48 "type": "string"
49 },
50 "recId": {
51 "type": "integer",
52 "description": "Snowflake for this recommendation, use when submitting recommendation events."
53 },
54 "relativeToDid": {
55 "type": "string",
56 "description": "DID of the account these suggestions are relative to. If this is returned undefined, suggestions are based on the viewer.",
57 "format": "did"
58 }
59 }
60 }
61 }
62 }
63 }
64}