forked from tangled.org/core
this repo has no description
1{ 2 "lexicon": 1, 3 "id": "sh.tangled.repo.forkStatus", 4 "defs": { 5 "main": { 6 "type": "procedure", 7 "description": "Check fork status relative to upstream source", 8 "input": { 9 "encoding": "application/json", 10 "schema": { 11 "type": "object", 12 "required": ["did", "name", "source", "branch", "hiddenRef"], 13 "properties": { 14 "did": { 15 "type": "string", 16 "format": "did", 17 "description": "DID of the fork owner" 18 }, 19 "name": { 20 "type": "string", 21 "description": "Name of the forked repository" 22 }, 23 "source": { 24 "type": "string", 25 "description": "Source repository URL" 26 }, 27 "branch": { 28 "type": "string", 29 "description": "Branch to check status for" 30 }, 31 "hiddenRef": { 32 "type": "string", 33 "description": "Hidden ref to use for comparison" 34 } 35 } 36 } 37 }, 38 "output": { 39 "encoding": "application/json", 40 "schema": { 41 "type": "object", 42 "required": ["status"], 43 "properties": { 44 "status": { 45 "type": "integer", 46 "description": "Fork status: 0=UpToDate, 1=FastForwardable, 2=Conflict, 3=MissingBranch" 47 } 48 } 49 } 50 } 51 } 52 } 53}