atproto blogging
at main 46 lines 1.2 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.weaver.edit.getContributors", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Get evidence-based contributors for a resource (entry or notebook). Returns users who have edit history or are explicit collaborators.", 8 "parameters": { 9 "type": "params", 10 "required": [ 11 "resource" 12 ], 13 "properties": { 14 "includeCascaded": { 15 "type": "boolean", 16 "description": "For entries, also include notebook-level collaborators", 17 "default": true 18 }, 19 "resource": { 20 "type": "string", 21 "description": "AT URI of the entry or notebook", 22 "format": "at-uri" 23 } 24 } 25 }, 26 "output": { 27 "encoding": "application/json", 28 "schema": { 29 "type": "object", 30 "required": [ 31 "contributors" 32 ], 33 "properties": { 34 "contributors": { 35 "type": "array", 36 "items": { 37 "type": "ref", 38 "ref": "sh.weaver.actor.defs#profileViewBasic" 39 } 40 } 41 } 42 } 43 } 44 } 45 } 46}