This repository has no description
0

Configure Feed

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

core / lexicons / git / temp / getMergeBase.json
1.3 kB 54 lines
1{ 2 "lexicon": 1, 3 "id": "sh.tangled.git.temp.getMergeBase", 4 "defs": { 5 "main": { 6 "type": "query", 7 "parameters": { 8 "type": "params", 9 "required": ["repo", "base", "head"], 10 "properties": { 11 "repo": { 12 "type": "string", 13 "format": "did", 14 "description": "DID of the repository" 15 }, 16 "base": { 17 "type": "string", 18 "description": "Ref used to find the common base." 19 }, 20 "head": { 21 "type": "string", 22 "description": "Ref to list history for." 23 } 24 } 25 }, 26 "output": { 27 "encoding": "application/json", 28 "schema": { 29 "type": "object", 30 "required": ["commit"], 31 "properties": { 32 "commit": { 33 "type": "string" 34 } 35 } 36 } 37 }, 38 "errors": [ 39 { 40 "name": "RepoNotFound", 41 "description": "Repository not found or access denied" 42 }, 43 { 44 "name": "RefNotFound", 45 "description": "Git reference not found" 46 }, 47 { 48 "name": "InvalidRequest", 49 "description": "Invalid request parameters" 50 } 51 ] 52 } 53 } 54}