A better Rust ATProto crate
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 63 lines 1.7 kB view raw
1{ 2 "lexicon": 1, 3 "id": "app.bsky.graph.getRelationships", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Enumerates public relationships between one account, and a list of other accounts. Does not require auth.", 8 "parameters": { 9 "type": "params", 10 "required": [ 11 "actor" 12 ], 13 "properties": { 14 "actor": { 15 "type": "string", 16 "description": "Primary account requesting relationships for.", 17 "format": "at-identifier" 18 }, 19 "others": { 20 "type": "array", 21 "description": "List of 'other' accounts to be related back to the primary.", 22 "items": { 23 "type": "string", 24 "format": "at-identifier" 25 }, 26 "maxLength": 30 27 } 28 } 29 }, 30 "output": { 31 "encoding": "application/json", 32 "schema": { 33 "type": "object", 34 "required": [ 35 "relationships" 36 ], 37 "properties": { 38 "actor": { 39 "type": "string", 40 "format": "did" 41 }, 42 "relationships": { 43 "type": "array", 44 "items": { 45 "type": "union", 46 "refs": [ 47 "app.bsky.graph.defs#relationship", 48 "app.bsky.graph.defs#notFoundActor" 49 ] 50 } 51 } 52 } 53 } 54 }, 55 "errors": [ 56 { 57 "description": "the primary actor at-identifier could not be resolved", 58 "name": "ActorNotFound" 59 } 60 ] 61 } 62 } 63}