atproto blogging
at main 72 lines 1.9 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.weaver.notebook.getPublishedVersions", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Get all published versions of an entry (same rkey in collaborator repos).", 8 "parameters": { 9 "type": "params", 10 "required": [ 11 "entry" 12 ], 13 "properties": { 14 "entry": { 15 "type": "string", 16 "format": "at-uri" 17 }, 18 "includeContent": { 19 "type": "boolean", 20 "description": "Include full entry record in response", 21 "default": false 22 } 23 } 24 }, 25 "output": { 26 "encoding": "application/json", 27 "schema": { 28 "type": "object", 29 "required": [ 30 "versions" 31 ], 32 "properties": { 33 "canonical": { 34 "type": "ref", 35 "ref": "sh.weaver.notebook.defs#publishedVersionView" 36 }, 37 "hasDivergence": { 38 "type": "boolean" 39 }, 40 "records": { 41 "type": "array", 42 "description": "Full entry records if includeContent=true", 43 "items": { 44 "type": "object", 45 "required": [ 46 "uri", 47 "record" 48 ], 49 "properties": { 50 "record": { 51 "type": "unknown" 52 }, 53 "uri": { 54 "type": "string", 55 "format": "at-uri" 56 } 57 } 58 } 59 }, 60 "versions": { 61 "type": "array", 62 "items": { 63 "type": "ref", 64 "ref": "sh.weaver.notebook.defs#publishedVersionView" 65 } 66 } 67 } 68 } 69 } 70 } 71 } 72}