From 0478f06f7cbada004c6214e50bbb3ca178d9fa2a Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 5 Sep 2023 15:39:24 -0500 Subject: [PATCH] add getSuggestedFollowsByActor lex --- .../graph/getSuggestedFollowsByActor.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 lexicons/app/bsky/graph/getSuggestedFollowsByActor.json diff --git a/lexicons/app/bsky/graph/getSuggestedFollowsByActor.json b/lexicons/app/bsky/graph/getSuggestedFollowsByActor.json new file mode 100644 index 00000000000..c6eba1f6211 --- /dev/null +++ b/lexicons/app/bsky/graph/getSuggestedFollowsByActor.json @@ -0,0 +1,33 @@ +{ + "lexicon": 1, + "id": "app.bsky.graph.getSuggestedFollowsByActor", + "defs": { + "main": { + "type": "query", + "description": "Get suggested follows related to a given actor.", + "parameters": { + "type": "params", + "required": ["actor"], + "properties": { + "actor": {"type": "string", "format": "at-identifier"}, + "limit": {"type": "integer", "minimum": 1, "maximum": 100, "default": 50}, + "cursor": {"type": "string"} + } + }, + "output": { + "encoding": "application/json", + "schema": { + "type": "object", + "required": ["suggestions"], + "properties": { + "cursor": {"type": "string"}, + "suggestions": { + "type": "array", + "items": {"type": "ref", "ref": "app.bsky.actor.defs#profileView"} + } + } + } + } + } + } +}