atproto blogging
at main 42 lines 1.2 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.weaver.edit.getBranch", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Get edit history for a specific branch, identified by its head.", 8 "parameters": { 9 "type": "params", 10 "required": ["head"], 11 "properties": { 12 "head": { 13 "type": "string", 14 "format": "at-uri", 15 "description": "AT-URI of the branch head (latest diff)" 16 }, 17 "afterRkey": { 18 "type": "string", 19 "description": "Only diffs after this rkey" 20 }, 21 "limit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 50 }, 22 "cursor": { "type": "string" } 23 } 24 }, 25 "output": { 26 "encoding": "application/json", 27 "schema": { 28 "type": "object", 29 "required": ["branch", "diffs"], 30 "properties": { 31 "branch": { "type": "ref", "ref": "sh.weaver.edit.defs#editBranchView" }, 32 "diffs": { 33 "type": "array", 34 "items": { "type": "ref", "ref": "sh.weaver.edit.defs#editHistoryEntry" } 35 }, 36 "cursor": { "type": "string" } 37 } 38 } 39 } 40 } 41 } 42}