atproto blogging
at main 48 lines 1.1 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.weaver.collab.getResourceParticipants", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Get all participants (owner + collaborators) for a resource.", 8 "parameters": { 9 "type": "params", 10 "required": [ 11 "resource" 12 ], 13 "properties": { 14 "resource": { 15 "type": "string", 16 "format": "at-uri" 17 } 18 } 19 }, 20 "output": { 21 "encoding": "application/json", 22 "schema": { 23 "type": "object", 24 "required": [ 25 "owner", 26 "participants" 27 ], 28 "properties": { 29 "owner": { 30 "type": "ref", 31 "ref": "sh.weaver.actor.defs#profileViewBasic" 32 }, 33 "participants": { 34 "type": "array", 35 "items": { 36 "type": "ref", 37 "ref": "sh.weaver.actor.defs#profileViewBasic" 38 } 39 }, 40 "viewerCanEdit": { 41 "type": "boolean" 42 } 43 } 44 } 45 } 46 } 47 } 48}