atproto blogging
at main 69 lines 1.9 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.weaver.actor.getSuggestedAuthors", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Get author recommendations for the authenticated user.", 8 "parameters": { 9 "type": "params", 10 "properties": { 11 "limit": { 12 "type": "integer", 13 "default": 20, 14 "minimum": 1, 15 "maximum": 50 16 } 17 } 18 }, 19 "output": { 20 "encoding": "application/json", 21 "schema": { 22 "type": "object", 23 "required": [ 24 "authors" 25 ], 26 "properties": { 27 "authors": { 28 "type": "array", 29 "items": { 30 "type": "object", 31 "required": [ 32 "author", 33 "reason" 34 ], 35 "properties": { 36 "author": { 37 "type": "ref", 38 "ref": "sh.weaver.actor.defs#profileView" 39 }, 40 "mutualFollows": { 41 "type": "array", 42 "description": "People you follow who also follow this author.", 43 "items": { 44 "type": "ref", 45 "ref": "sh.weaver.actor.defs#profileViewBasic" 46 }, 47 "maxLength": 3 48 }, 49 "notebookCount": { 50 "type": "integer" 51 }, 52 "reason": { 53 "type": "string", 54 "knownValues": [ 55 "similar-to-followed", 56 "writes-similar-content", 57 "popular-in-tags-you-read", 58 "followed-by-people-you-follow" 59 ] 60 } 61 } 62 } 63 } 64 } 65 } 66 } 67 } 68 } 69}